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: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001255/0.001255, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001216/0.001216, allocations: 189.5 kB / 17.34 MB, free: 5.766 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.247/1.247, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002132/0.002133, allocations: 286.1 kB / 291.5 MB, free: 14.45 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9116/0.9116, allocations: 169.3 MB / 0.499 GB, free: 4.422 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001786/0.001786, allocations: 91.86 kB / 0.6821 GB, free: 6.883 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4161/0.4179, allocations: 86.97 MB / 0.7671 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties): time 0.006286/0.4243, allocations: 4.422 MB / 0.7714 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002858/0.4271, allocations: 2.691 MB / 0.774 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001202/0.4273, allocations: 0 / 0.774 GB, free: 12.74 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002956/0.4276, allocations: 47.67 kB / 0.7741 GB, free: 12.69 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003228/0.428, allocations: 103.3 kB / 0.7742 GB, free: 12.59 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001274/0.4293, allocations: 0.4903 MB / 0.7746 GB, free: 12.1 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.4296, allocations: 231.9 kB / 0.7749 GB, free: 11.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/0.4296, allocations: 9.562 kB / 0.7749 GB, free: 11.86 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001027/0.4307, allocations: 422.5 kB / 0.7753 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.4308, allocations: 91.59 kB / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.908e-05/0.4309, allocations: 8 kB / 0.7754 GB, free: 11.36 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00103/0.4319, allocations: 499 kB / 0.7759 GB, free: 10.87 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 7.35e-05/0.432, allocations: 31.91 kB / 0.7759 GB, free: 10.84 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 9.719e-05/0.4321, allocations: 83.59 kB / 0.776 GB, free: 10.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0007625/0.4329, allocations: 353.7 kB / 0.7763 GB, free: 10.41 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.03e-06/0.4329, allocations: 0 / 0.7763 GB, free: 10.41 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.333e-06/0.4329, allocations: 0 / 0.7763 GB, free: 10.41 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.143e-05/0.4329, allocations: 0 / 0.7763 GB, free: 10.41 MB / 0.545 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.0007562/0.4337, allocations: 0.4915 MB / 0.7768 GB, free: 9.867 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.4337, allocations: 8.031 kB / 0.7768 GB, free: 9.859 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.4339, allocations: 20.75 kB / 0.7768 GB, free: 9.84 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003107/0.4342, allocations: 212 kB / 0.777 GB, free: 9.594 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.786e-05/0.4342, allocations: 16.7 kB / 0.777 GB, free: 9.578 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.937e-05/0.4343, allocations: 20.38 kB / 0.777 GB, free: 9.559 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003745/0.4347, allocations: 245.1 kB / 0.7773 GB, free: 9.297 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.4347, allocations: 4 kB / 0.7773 GB, free: 9.293 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.4347, allocations: 8 kB / 0.7773 GB, free: 9.285 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.4347, allocations: 8 kB / 0.7773 GB, free: 9.277 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005269/0.4353, allocations: 427.5 kB / 0.7777 GB, free: 8.859 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001105/0.4364, allocations: 1.011 MB / 0.7787 GB, free: 7.754 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002824/0.4367, allocations: 158.5 kB / 0.7788 GB, free: 7.59 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.986e-05/0.4368, allocations: 60.88 kB / 0.7789 GB, free: 7.527 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/0.4382, allocations: 1.829 MB / 0.7807 GB, free: 5.34 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.635e-05/0.4382, allocations: 34.56 kB / 0.7807 GB, free: 5.297 MB / 0.545 GB Notification: Performance of pre-optimization done (n=15): time 4.167e-06/0.4382, allocations: 0 / 0.7807 GB, free: 5.297 MB / 0.545 GB Notification: Performance of matching and sorting (n=15): time 0.0003382/0.4386, allocations: 157.2 kB / 0.7809 GB, free: 5.137 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.069e-05/0.4386, allocations: 55.34 kB / 0.7809 GB, free: 5.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001444/0.4388, allocations: 171 kB / 0.7811 GB, free: 4.891 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.238e-05/0.4388, allocations: 29.7 kB / 0.7811 GB, free: 4.855 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.14e-05/0.4389, allocations: 139.8 kB / 0.7812 GB, free: 4.715 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.948e-05/0.439, allocations: 55.28 kB / 0.7813 GB, free: 4.66 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-05/0.4391, allocations: 57.61 kB / 0.7814 GB, free: 4.598 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001143/0.4392, allocations: 326.8 kB / 0.7817 GB, free: 4.27 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.582e-05/0.4392, allocations: 39.97 kB / 0.7817 GB, free: 4.23 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001358/0.4394, allocations: 139.4 kB / 0.7818 GB, free: 4.047 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002351/0.4396, allocations: 204.9 kB / 0.782 GB, free: 3.801 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.4396, allocations: 4 kB / 0.782 GB, free: 3.797 MB / 0.545 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003196/0.44, allocations: 209.5 kB / 0.7822 GB, free: 3.586 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.44, allocations: 14.5 kB / 0.7823 GB, free: 3.574 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.44, allocations: 4 kB / 0.7823 GB, free: 3.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.721e-05/0.44, allocations: 4 kB / 0.7823 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001686/0.4402, allocations: 55.86 kB / 0.7823 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.4402, allocations: 11.98 kB / 0.7823 GB, free: 3.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.4403, allocations: 27.69 kB / 0.7824 GB, free: 3.473 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.881e-05/0.4404, allocations: 16 kB / 0.7824 GB, free: 3.457 MB / 0.545 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.0001007/0.4405, allocations: 125.8 kB / 0.7825 GB, free: 3.324 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.65e-05/0.4405, allocations: 15.91 kB / 0.7825 GB, free: 3.309 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002953/0.4408, allocations: 158.8 kB / 0.7827 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-05/0.4409, allocations: 7.938 kB / 0.7827 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.4409, allocations: 0 / 0.7827 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.4409, allocations: 0 / 0.7827 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.4411, allocations: 213.5 kB / 0.7829 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.4411, allocations: 0 / 0.7829 GB, free: 2.883 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.667e-05/0.4412, allocations: 23.98 kB / 0.7829 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.4412, allocations: 0 / 0.7829 GB, free: 2.859 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.551e-05/0.4413, allocations: 12 kB / 0.7829 GB, free: 2.848 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.4413, allocations: 3.938 kB / 0.7829 GB, free: 2.844 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.224e-06/0.4413, allocations: 7.984 kB / 0.7829 GB, free: 2.836 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002321/0.4415, allocations: 222.3 kB / 0.7831 GB, free: 2.605 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.085e-05/0.4416, allocations: 104.9 kB / 0.7832 GB, free: 2.484 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.566e-05/0.4416, allocations: 4 kB / 0.7832 GB, free: 2.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002123/0.4419, allocations: 23.86 kB / 0.7832 GB, free: 2.457 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.4419, allocations: 11.92 kB / 0.7833 GB, free: 2.445 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.228e-05/0.4419, allocations: 19.98 kB / 0.7833 GB, free: 2.426 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.295e-05/0.442, allocations: 116 kB / 0.7834 GB, free: 2.312 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.442, allocations: 0 / 0.7834 GB, free: 2.312 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003978/0.4424, allocations: 79.94 kB / 0.7835 GB, free: 2.234 MB / 0.545 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.0003443/0.4428, allocations: 175.1 kB / 0.7836 GB, free: 2.051 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002344/0.443, allocations: 127.7 kB / 0.7838 GB, free: 1.926 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.443, allocations: 0 / 0.7838 GB, free: 1.926 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.368e-05/0.4431, allocations: 43.92 kB / 0.7838 GB, free: 1.883 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004314/0.4435, allocations: 59.62 kB / 0.7839 GB, free: 1.828 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006917/0.4442, allocations: 372.5 kB / 0.7842 GB, free: 1.43 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002783/0.4445, allocations: 0.7129 MB / 0.7849 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.627e-05/0.4446, allocations: 35.36 kB / 0.7849 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of SimCode: time 2.8e-07/0.4446, allocations: 0 / 0.7849 GB, free: 0.6562 MB / 0.545 GB Notification: Performance of Templates: time 0.005364/0.45, allocations: 3.169 MB / 0.788 GB, free: 13.51 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.makefile (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 & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1)