Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005062/0.005062, allocations: 96.7 kB / 15.73 MB, free: 6.047 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 196.9 kB / 16.67 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.9292/0.9292, allocations: 143 MB / 433.6 MB, free: 11.39 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.91 kB / 0.5951 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3645, allocations: 82.03 MB / 0.6752 GB, free: 1.07 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance): time 0.1765/0.541, allocations: 187.4 MB / 0.8582 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.3634/0.9044, allocations: 13.08 MB / 0.871 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001047/0.9055, allocations: 31.38 kB / 0.871 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001231/0.9067, allocations: 434.7 kB / 0.8714 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002632/0.9094, allocations: 1.203 MB / 0.8726 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001738/0.9112, allocations: 0.7108 MB / 0.8733 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.00241/0.9136, allocations: 2.021 MB / 0.8752 GB, free: 1.883 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.9147, allocations: 0.85 MB / 0.8761 GB, free: 1.777 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003865/0.9185, allocations: 1.876 MB / 0.8779 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001298/0.9199, allocations: 0.6627 MB / 0.8786 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001601/0.92, allocations: 81.12 kB / 0.8786 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00181/0.9218, allocations: 0.8738 MB / 0.8795 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004244/0.9223, allocations: 387.7 kB / 0.8799 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0006532/0.9229, allocations: 0.4975 MB / 0.8803 GB, free: 1.73 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.9253, allocations: 1.56 MB / 0.8819 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.9253, allocations: 0 / 0.8819 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.505e-06/0.9253, allocations: 0.5625 kB / 0.8819 GB, free: 1.637 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.917e-05/0.9253, allocations: 3.688 kB / 0.8819 GB, free: 1.637 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.002071/0.9274, allocations: 1.268 MB / 0.8831 GB, free: 16.91 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.899e-05/0.9274, allocations: 11.62 kB / 0.8831 GB, free: 16.91 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001289/0.9276, allocations: 120.2 kB / 0.8832 GB, free: 16.88 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.9288, allocations: 217.1 kB / 0.8834 GB, free: 16.82 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001084/0.9299, allocations: 0.6935 MB / 0.8841 GB, free: 16.52 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.979e-05/0.9299, allocations: 62.86 kB / 0.8842 GB, free: 16.51 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.9301, allocations: 75.31 kB / 0.8842 GB, free: 16.51 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001259/0.9313, allocations: 0.9335 MB / 0.8852 GB, free: 16.26 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.499e-05/0.9314, allocations: 5.281 kB / 0.8852 GB, free: 16.26 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.079e-05/0.9314, allocations: 38.12 kB / 0.8852 GB, free: 16.26 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.981e-05/0.9315, allocations: 28.75 kB / 0.8852 GB, free: 16.25 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009357/0.9324, allocations: 0.6161 MB / 0.8858 GB, free: 16.25 MB / 0.7012 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003929/0.9364, allocations: 4.592 MB / 0.8903 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007358/0.9371, allocations: 0.5416 MB / 0.8908 GB, free: 12.92 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003132/0.9374, allocations: 250.4 kB / 0.8911 GB, free: 12.9 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000172/0.9376, allocations: 108.1 kB / 0.8912 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.9376, allocations: 42.56 kB / 0.8912 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=43): time 2.114e-06/0.9377, allocations: 0.9688 kB / 0.8912 GB, free: 12.77 MB / 0.7012 GB Notification: Performance of matching and sorting (n=45): time 0.002551/0.9402, allocations: 1.617 MB / 0.8928 GB, free: 12.13 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.439e-05/0.9403, allocations: 108.3 kB / 0.8929 GB, free: 12 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007516/0.941, allocations: 0.715 MB / 0.8936 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 4.345e-05/0.9411, allocations: 35.58 kB / 0.8936 GB, free: 11.84 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002383/0.9413, allocations: 426.2 kB / 0.894 GB, free: 11.64 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001264/0.9415, allocations: 174.1 kB / 0.8942 GB, free: 11.54 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001429/0.9416, allocations: 116.3 kB / 0.8943 GB, free: 11.52 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.489e-05/0.9417, allocations: 334.1 kB / 0.8946 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002383/0.942, allocations: 186.8 kB / 0.8948 GB, free: 11.21 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003856/0.9424, allocations: 415.7 kB / 0.8952 GB, free: 10.96 MB / 0.7012 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (sin.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.001941/0.9443, allocations: 1.18 MB / 0.8964 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.9443, allocations: 6.094 kB / 0.8964 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0008178/0.9451, allocations: 0.6808 MB / 0.897 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.9452, allocations: 6.75 kB / 0.897 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.9452, allocations: 6.125 kB / 0.8971 GB, free: 10.54 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.951e-05/0.9452, allocations: 15.53 kB / 0.8971 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004092/0.9456, allocations: 128.5 kB / 0.8972 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.343e-05/0.9456, allocations: 16.5 kB / 0.8972 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.9462, allocations: 30.5 kB / 0.8972 GB, free: 10.53 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.26e-05/0.9462, allocations: 27.34 kB / 0.8973 GB, free: 10.53 MB / 0.7012 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (intTraSubOut.local_reset,intTraSubIn.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (74): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00029/0.9465, allocations: 269.2 kB / 0.8975 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.9467, allocations: 88.86 kB / 0.8976 GB, free: 10.37 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001362/0.9468, allocations: 95.22 kB / 0.8977 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.649e-06/0.9468, allocations: 5.156 kB / 0.8977 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.025e-06/0.9468, allocations: 3.094 kB / 0.8977 GB, free: 10.35 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0005864/0.9474, allocations: 0.6936 MB / 0.8984 GB, free: 9.91 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00206/0.9495, allocations: 1.641 MB / 0.9 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.9495, allocations: 5.656 kB / 0.9 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004183/0.9499, allocations: 98.52 kB / 0.9001 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.95, allocations: 6.062 kB / 0.9001 GB, free: 9.32 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.305e-05/0.95, allocations: 18.75 kB / 0.9001 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.391e-06/0.95, allocations: 12.59 kB / 0.9001 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/0.95, allocations: 8.969 kB / 0.9001 GB, free: 9.316 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009083/0.9509, allocations: 0.8577 MB / 0.901 GB, free: 9.008 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002781/0.9512, allocations: 208.5 kB / 0.9012 GB, free: 8.867 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000104/0.9513, allocations: 25.62 kB / 0.9012 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.9518, allocations: 19.44 kB / 0.9012 GB, free: 8.859 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.954e-05/0.9518, allocations: 40.73 kB / 0.9012 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.889e-05/0.9519, allocations: 23.55 kB / 0.9013 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0004856/0.9524, allocations: 0.5075 MB / 0.9018 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9524, allocations: 0.9688 kB / 0.9018 GB, free: 8.762 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0006436/0.953, allocations: 196.6 kB / 0.9019 GB, free: 8.762 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 5 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.mC[1],intTraSubIn.y,intTraSubOut.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001435/0.9545, allocations: 1.519 MB / 0.9034 GB, free: 7.895 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0006077/0.9551, allocations: 486 kB / 0.9039 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.9551, allocations: 0.875 kB / 0.9039 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002272/0.9553, allocations: 213 kB / 0.9041 GB, free: 7.887 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00198/0.9573, allocations: 480 kB / 0.9046 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007148/0.9645, allocations: 6.641 MB / 0.911 GB, free: 5.273 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004836/0.965, allocations: 1.028 MB / 0.912 GB, free: 4.562 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0005931/0.9656, allocations: 206.1 kB / 0.9122 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003262/0.9659, allocations: 296.4 kB / 0.9125 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of SimCode: time 4.71e-07/0.9659, allocations: 0 / 0.9125 GB, free: 4.512 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04234/1.008, allocations: 22.27 MB / 0.9343 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.482/9.491, allocations: 16.22 kB / 0.9343 GB, free: 15.37 MB / 0.7169 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-08 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Fluid_MixingVolumes_Validation_TraceSubstanceConservationDynamicBalance.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.MixingVolumes.Validation.TraceSubstanceConservationDynamicBalance.pipe 2>&1)