Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties",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.007532/0.007532, allocations: 97.23 kB / 15.73 MB, free: 6.484 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.001905/0.001905, allocations: 191.6 kB / 16.67 MB, free: 6.391 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.335/1.335, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002195/0.002195, allocations: 286.9 kB / 290.8 MB, free: 1.906 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9492/0.9492, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001727/0.001727, allocations: 96.17 kB / 0.681 GB, free: 15.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1405, allocations: 86.96 MB / 0.7659 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.005345/0.1459, allocations: 4.434 MB / 0.7703 GB, free: 4.449 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002543/0.1484, allocations: 2.687 MB / 0.7729 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.178e-05/0.1485, allocations: 0 / 0.7729 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002352/0.1487, allocations: 47.69 kB / 0.7729 GB, free: 1.707 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002429/0.149, allocations: 103.3 kB / 0.773 GB, free: 1.605 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.1501, allocations: 0.5032 MB / 0.7735 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002835/0.1504, allocations: 231.9 kB / 0.7738 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.212e-05/0.1504, allocations: 13.56 kB / 0.7738 GB, free: 0.8672 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008261/0.1512, allocations: 423.1 kB / 0.7742 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000122/0.1514, allocations: 91.59 kB / 0.7743 GB, free: 372 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.184e-05/0.1514, allocations: 8 kB / 0.7743 GB, free: 364 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.31/0.4614, allocations: 485.9 kB / 0.7747 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.4616, allocations: 31.31 kB / 0.7748 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001365/0.4617, allocations: 81.22 kB / 0.7748 GB, free: 8.969 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008251/0.4625, allocations: 352 kB / 0.7752 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4626, allocations: 0.625 kB / 0.7752 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.522e-06/0.4626, allocations: 1.781 kB / 0.7752 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.4626, allocations: 0 / 0.7752 GB, free: 8.953 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006534/0.4632, allocations: 0.508 MB / 0.7757 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.4633, allocations: 10.77 kB / 0.7757 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.394e-05/0.4633, allocations: 47.84 kB / 0.7757 GB, free: 8.488 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001659/0.4635, allocations: 22.83 kB / 0.7757 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.4638, allocations: 212.2 kB / 0.7759 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.632e-05/0.4638, allocations: 14.66 kB / 0.776 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.4638, allocations: 17.22 kB / 0.776 GB, free: 8.277 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003447/0.4642, allocations: 256.7 kB / 0.7762 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.149e-05/0.4642, allocations: 1.656 kB / 0.7762 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.243e-05/0.4642, allocations: 8.344 kB / 0.7762 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.699e-05/0.4642, allocations: 8.797 kB / 0.7762 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005178/0.4648, allocations: 426.3 kB / 0.7766 GB, free: 8.191 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008417/0.4656, allocations: 1.011 MB / 0.7776 GB, free: 7.367 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002841/0.4659, allocations: 158.8 kB / 0.7778 GB, free: 7.344 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.466, allocations: 62.83 kB / 0.7778 GB, free: 7.336 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001094/0.4671, allocations: 1.825 MB / 0.7796 GB, free: 21.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.716e-05/0.4672, allocations: 39.83 kB / 0.7797 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.4672, allocations: 0 / 0.7797 GB, free: 21.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0003222/0.4675, allocations: 144.6 kB / 0.7798 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.4675, allocations: 62.34 kB / 0.7799 GB, free: 21.2 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000134/0.4677, allocations: 172.4 kB / 0.78 GB, free: 21.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.347e-05/0.4677, allocations: 31.52 kB / 0.7801 GB, free: 21.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.422e-05/0.4678, allocations: 140.3 kB / 0.7802 GB, free: 20.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.31e-05/0.4678, allocations: 52.48 kB / 0.7802 GB, free: 20.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.48e-05/0.4679, allocations: 55.16 kB / 0.7803 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.468, allocations: 324.7 kB / 0.7806 GB, free: 20.58 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.066e-05/0.4681, allocations: 43.56 kB / 0.7806 GB, free: 20.57 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001016/0.4682, allocations: 145 kB / 0.7808 GB, free: 20.45 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.4684, allocations: 196.6 kB / 0.781 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.4684, allocations: 2.203 kB / 0.781 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003207/0.4687, allocations: 220 kB / 0.7812 GB, free: 20.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4687, allocations: 7.031 kB / 0.7812 GB, free: 20.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.4688, allocations: 3.469 kB / 0.7812 GB, free: 20.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.4688, allocations: 5.656 kB / 0.7812 GB, free: 20.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001763/0.469, allocations: 55.48 kB / 0.7813 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.122e-05/0.469, allocations: 7.781 kB / 0.7813 GB, free: 20.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001109/0.4691, allocations: 26.56 kB / 0.7813 GB, free: 20.26 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.051e-05/0.4691, allocations: 16.69 kB / 0.7813 GB, free: 20.26 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001014/0.4692, allocations: 136.4 kB / 0.7814 GB, free: 20.14 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.097e-05/0.4693, allocations: 16.47 kB / 0.7814 GB, free: 20.14 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002906/0.4696, allocations: 155.2 kB / 0.7816 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.4696, allocations: 6.188 kB / 0.7816 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.157e-06/0.4696, allocations: 0 / 0.7816 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.61e-06/0.4696, allocations: 2.438 kB / 0.7816 GB, free: 20.09 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002197/0.4699, allocations: 215.2 kB / 0.7818 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/0.4699, allocations: 3.734 kB / 0.7818 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.413e-05/0.47, allocations: 23.5 kB / 0.7818 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.47, allocations: 2.125 kB / 0.7818 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.47, allocations: 9.047 kB / 0.7818 GB, free: 19.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.47, allocations: 4.594 kB / 0.7818 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.47, allocations: 2.219 kB / 0.7819 GB, free: 19.89 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002276/0.4702, allocations: 220.2 kB / 0.7821 GB, free: 19.75 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.4703, allocations: 109.1 kB / 0.7822 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.4704, allocations: 7.312 kB / 0.7822 GB, free: 19.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.4706, allocations: 23.89 kB / 0.7822 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.315e-05/0.4706, allocations: 14.36 kB / 0.7822 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.4707, allocations: 10.44 kB / 0.7822 GB, free: 19.64 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.393e-05/0.4708, allocations: 124.1 kB / 0.7823 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4708, allocations: 0 / 0.7823 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003791/0.4711, allocations: 74.48 kB / 0.7824 GB, free: 19.56 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0006505/0.4718, allocations: 0.838 MB / 0.7832 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002257/0.472, allocations: 118 kB / 0.7833 GB, free: 18.88 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.4721, allocations: 5.312 kB / 0.7833 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.486e-05/0.4721, allocations: 41.58 kB / 0.7834 GB, free: 18.87 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.4726, allocations: 59.53 kB / 0.7834 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001965/0.4745, allocations: 2.045 MB / 0.7854 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002455/0.4748, allocations: 0.7139 MB / 0.7861 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001542/0.475, allocations: 45.42 kB / 0.7862 GB, free: 16.65 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.413e-05/0.475, allocations: 51.56 kB / 0.7862 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of SimCode: time 2.71e-07/0.475, allocations: 1.344 kB / 0.7862 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02113/0.4962, allocations: 5.192 MB / 0.7913 GB, free: 16 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.469/7.966, allocations: 14.14 kB / 0.7913 GB, free: 15.99 MB / 0.5762 GB (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterProperties.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)