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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8649/0.8649, allocations: 143.4 MB / 158.3 MB, free: 5.809 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 169.1 kB / 191.5 MB, free: 5.766 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 223.2 MB / 447.7 MB, free: 4.809 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 88.28 kB / 0.5188 GB, free: 1.16 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001789/0.001788, allocations: 282.9 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007/0.0007, allocations: 12.94 kB / 0.6928 GB, free: 59.74 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2451, allocations: 82.8 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.544/1.789, allocations: 397.9 MB / 1.162 GB, free: 204.7 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004193/1.79, allocations: 73.03 kB / 1.162 GB, free: 204.7 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.077/1.867, allocations: 25.99 MB / 1.188 GB, free: 202 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.707e-06/1.867, allocations: 0 / 1.188 GB, free: 202 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.34e-05/1.867, allocations: 0 / 1.188 GB, free: 202 MB / 0.7136 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.0009888/1.868, allocations: 0.4901 MB / 1.188 GB, free: 201.5 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.868, allocations: 8.438 kB / 1.188 GB, free: 201.5 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/1.868, allocations: 23.53 kB / 1.188 GB, free: 201.5 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/1.868, allocations: 218 kB / 1.188 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.914e-05/1.868, allocations: 11.98 kB / 1.188 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.585e-05/1.868, allocations: 15.47 kB / 1.188 GB, free: 201.3 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003978/1.869, allocations: 237.3 kB / 1.189 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.484e-05/1.869, allocations: 7.172 kB / 1.189 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.483e-05/1.869, allocations: 11.84 kB / 1.189 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.101e-05/1.869, allocations: 7.812 kB / 1.189 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000542/1.869, allocations: 426 kB / 1.189 GB, free: 201.2 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/1.87, allocations: 1.029 MB / 1.19 GB, free: 200.4 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003047/1.871, allocations: 162.1 kB / 1.19 GB, free: 200.3 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001234/1.872, allocations: 1.842 MB / 1.192 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/1.872, allocations: 38.34 kB / 1.192 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/1.872, allocations: 0 / 1.192 GB, free: 198.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=15): time 0.0003331/1.872, allocations: 148.5 kB / 1.192 GB, free: 198.2 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.291e-05/1.872, allocations: 59.27 kB / 1.192 GB, free: 198.2 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/1.873, allocations: 150.4 kB / 1.192 GB, free: 198.1 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/1.873, allocations: 25.7 kB / 1.192 GB, free: 198 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 8.413e-05/1.873, allocations: 138.2 kB / 1.193 GB, free: 197.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.472e-05/1.873, allocations: 61.11 kB / 1.193 GB, free: 197.9 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.252e-05/1.873, allocations: 7.922 kB / 1.193 GB, free: 197.9 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001097/1.873, allocations: 322.2 kB / 1.193 GB, free: 197.6 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.344e-05/1.873, allocations: 38.2 kB / 1.193 GB, free: 197.6 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/1.873, allocations: 137 kB / 1.193 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.312e-05/1.873, allocations: 63.41 kB / 1.193 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/1.873, allocations: 0 / 1.193 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002851/1.873, allocations: 211 kB / 1.193 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.353e-05/1.874, allocations: 8.969 kB / 1.193 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/1.874, allocations: 7.578 kB / 1.193 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.244e-05/1.874, allocations: 3.938 kB / 1.193 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001795/1.874, allocations: 62.16 kB / 1.193 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.223e-05/1.874, allocations: 3.906 kB / 1.193 GB, free: 197.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001214/1.874, allocations: 35.86 kB / 1.194 GB, free: 197.3 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.032e-05/1.874, allocations: 11.72 kB / 1.194 GB, free: 197.3 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001412/1.874, allocations: 137.2 kB / 1.194 GB, free: 197.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.629e-05/1.874, allocations: 11.72 kB / 1.194 GB, free: 197.2 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/1.874, allocations: 167.8 kB / 1.194 GB, free: 197.1 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.026e-05/1.874, allocations: 3.906 kB / 1.194 GB, free: 197.1 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/1.874, allocations: 0 / 1.194 GB, free: 197.1 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/1.874, allocations: 3.609 kB / 1.194 GB, free: 197.1 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002195/1.875, allocations: 219.9 kB / 1.194 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/1.875, allocations: 0 / 1.194 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001043/1.875, allocations: 30.23 kB / 1.194 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/1.875, allocations: 3.906 kB / 1.194 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.4e-05/1.875, allocations: 3.875 kB / 1.194 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/1.875, allocations: 4 kB / 1.194 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/1.875, allocations: 0 / 1.194 GB, free: 196.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/1.875, allocations: 225.1 kB / 1.194 GB, free: 196.8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.139e-05/1.875, allocations: 120.2 kB / 1.194 GB, free: 196.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.557e-05/1.875, allocations: 0 / 1.194 GB, free: 196.7 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001828/1.875, allocations: 19.05 kB / 1.194 GB, free: 196.7 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.797e-05/1.875, allocations: 11.14 kB / 1.194 GB, free: 196.7 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.51e-05/1.875, allocations: 7.422 kB / 1.194 GB, free: 196.7 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 7.939e-05/1.876, allocations: 122 kB / 1.195 GB, free: 196.6 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.31e-07/1.876, allocations: 0 / 1.195 GB, free: 196.6 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004565/1.876, allocations: 88.58 kB / 1.195 GB, free: 196.6 MB / 0.7136 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004328/1.876, allocations: 213.9 kB / 1.195 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002634/1.877, allocations: 122.7 kB / 1.195 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/1.877, allocations: 0 / 1.195 GB, free: 196.5 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.856e-05/1.877, allocations: 42.66 kB / 1.195 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004059/1.877, allocations: 59.16 kB / 1.195 GB, free: 196.4 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008579/1.878, allocations: 437.4 kB / 1.195 GB, free: 196.2 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002388/1.878, allocations: 0.7146 MB / 1.196 GB, free: 195.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.0001768/1.879, allocations: 54.8 kB / 1.196 GB, free: 195.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.862e-05/1.879, allocations: 25.48 kB / 1.196 GB, free: 195.5 MB / 0.7136 GB Notification: Performance of SimCode: time 2.5e-07/1.879, allocations: 0 / 1.196 GB, free: 195.5 MB / 0.7136 GB Notification: Performance of Templates: time 0.007508/1.886, allocations: 3.559 MB / 1.2 GB, free: 195.1 MB / 0.7136 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)