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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.8693/0.8693, allocations: 140.1 MB / 156 MB, free: 5.164 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 187.2 kB / 188.5 MB, free: 15.83 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.4 MB / 426.3 MB, free: 8.473 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009177/0.0009177, allocations: 86.36 kB / 0.4945 GB, free: 8.414 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001687/0.001687, allocations: 272.2 kB / 0.5728 GB, free: 66.23 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004954, allocations: 24 kB / 0.662 GB, free: 6.84 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4984/0.4989, allocations: 79.3 MB / 0.7394 GB, free: 46.38 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8163/1.315, allocations: 396.3 MB / 1.126 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000294/1.316, allocations: 75.91 kB / 1.127 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4545/1.77, allocations: 25.1 MB / 1.151 GB, free: 255.8 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.086e-06/1.77, allocations: 0 / 1.151 GB, free: 255.8 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.682e-05/1.77, allocations: 6.969 kB / 1.151 GB, free: 255.8 MB / 0.6667 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.000995/1.771, allocations: 0.4946 MB / 1.152 GB, free: 255.3 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 6.164e-05/1.771, allocations: 9.375 kB / 1.152 GB, free: 255.3 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002084/1.772, allocations: 31.5 kB / 1.152 GB, free: 255.3 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002539/1.772, allocations: 209.5 kB / 1.152 GB, free: 255.1 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.807e-05/1.772, allocations: 13.14 kB / 1.152 GB, free: 255.1 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.717e-05/1.772, allocations: 14.16 kB / 1.152 GB, free: 255.1 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004674/1.772, allocations: 237.3 kB / 1.152 GB, free: 255 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.301e-05/1.772, allocations: 6.312 kB / 1.152 GB, free: 255 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.058e-05/1.772, allocations: 17.8 kB / 1.152 GB, free: 255 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.43e-05/1.772, allocations: 5.469 kB / 1.152 GB, free: 255 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006194/1.773, allocations: 426.5 kB / 1.152 GB, free: 255 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009685/1.774, allocations: 1.015 MB / 1.153 GB, free: 254.2 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002813/1.774, allocations: 163 kB / 1.154 GB, free: 254.2 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.67e-05/1.774, allocations: 63.5 kB / 1.154 GB, free: 254.2 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001051/1.776, allocations: 1.823 MB / 1.155 GB, free: 252.2 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.023e-05/1.776, allocations: 36.64 kB / 1.155 GB, free: 252.1 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 1.743e-06/1.776, allocations: 3.906 kB / 1.155 GB, free: 252.1 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0003026/1.776, allocations: 142 kB / 1.156 GB, free: 252.1 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.01e-05/1.776, allocations: 55.38 kB / 1.156 GB, free: 252 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001226/1.776, allocations: 176.4 kB / 1.156 GB, free: 251.9 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/1.776, allocations: 25.7 kB / 1.156 GB, free: 251.9 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 5.637e-05/1.776, allocations: 142.7 kB / 1.156 GB, free: 251.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.011e-05/1.776, allocations: 52.55 kB / 1.156 GB, free: 251.7 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-06/1.776, allocations: 3.5 kB / 1.156 GB, free: 251.7 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 5.764e-05/1.776, allocations: 333.5 kB / 1.156 GB, free: 251.4 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.964e-05/1.776, allocations: 37.73 kB / 1.156 GB, free: 251.4 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.191e-05/1.776, allocations: 139.8 kB / 1.157 GB, free: 251.3 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001798/1.777, allocations: 192 kB / 1.157 GB, free: 251.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.777, allocations: 2.406 kB / 1.157 GB, free: 251.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002964/1.777, allocations: 219 kB / 1.157 GB, free: 251.1 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/1.777, allocations: 7.844 kB / 1.157 GB, free: 251.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.245e-06/1.777, allocations: 3.781 kB / 1.157 GB, free: 251.1 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.662e-05/1.777, allocations: 3.938 kB / 1.157 GB, free: 251.1 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001733/1.777, allocations: 60.75 kB / 1.157 GB, free: 251.1 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/1.777, allocations: 22.11 kB / 1.157 GB, free: 251.1 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001346/1.777, allocations: 30.5 kB / 1.157 GB, free: 251.1 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/1.777, allocations: 13.91 kB / 1.157 GB, free: 251.1 MB / 0.6667 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 9.518e-05/1.777, allocations: 126.7 kB / 1.157 GB, free: 251 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.525e-05/1.778, allocations: 15.56 kB / 1.157 GB, free: 251 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002945/1.778, allocations: 160 kB / 1.157 GB, free: 250.9 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.778, allocations: 0 / 1.157 GB, free: 250.9 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.778, allocations: 0 / 1.157 GB, free: 250.9 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.731e-06/1.778, allocations: 7.906 kB / 1.157 GB, free: 250.9 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002155/1.778, allocations: 219 kB / 1.158 GB, free: 250.7 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/1.778, allocations: 2.344 kB / 1.158 GB, free: 250.7 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001085/1.778, allocations: 34.25 kB / 1.158 GB, free: 250.7 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.778, allocations: 0 / 1.158 GB, free: 250.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/1.778, allocations: 2.812 kB / 1.158 GB, free: 250.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/1.778, allocations: 3.938 kB / 1.158 GB, free: 250.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/1.778, allocations: 0 / 1.158 GB, free: 250.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000194/1.778, allocations: 217.4 kB / 1.158 GB, free: 250.6 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-05/1.779, allocations: 103.7 kB / 1.158 GB, free: 250.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.472e-05/1.779, allocations: 11.08 kB / 1.158 GB, free: 250.5 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000168/1.779, allocations: 17.58 kB / 1.158 GB, free: 250.5 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.402e-05/1.779, allocations: 15.17 kB / 1.158 GB, free: 250.5 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.562e-05/1.779, allocations: 3.969 kB / 1.158 GB, free: 250.5 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 6.639e-05/1.779, allocations: 122.1 kB / 1.158 GB, free: 250.4 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.51e-07/1.779, allocations: 3.781 kB / 1.158 GB, free: 250.4 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0004669/1.779, allocations: 86.62 kB / 1.158 GB, free: 250.4 MB / 0.6667 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.0003623/1.78, allocations: 228.2 kB / 1.158 GB, free: 250.3 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0002136/1.78, allocations: 118.3 kB / 1.158 GB, free: 250.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/1.78, allocations: 0 / 1.158 GB, free: 250.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 5.554e-05/1.78, allocations: 45.39 kB / 1.159 GB, free: 250.2 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004339/1.78, allocations: 53.53 kB / 1.159 GB, free: 250.2 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006343/1.781, allocations: 425.8 kB / 1.159 GB, free: 250 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001522/1.781, allocations: 0.7188 MB / 1.16 GB, free: 249.3 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001856/1.781, allocations: 42.75 kB / 1.16 GB, free: 249.3 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.609e-05/1.782, allocations: 25.16 kB / 1.16 GB, free: 249.3 MB / 0.6667 GB Notification: Performance of SimCode: time 2.41e-07/1.782, allocations: 0 / 1.16 GB, free: 249.3 MB / 0.6667 GB Notification: Performance of Templates: time 0.007011/1.789, allocations: 3.666 MB / 1.163 GB, free: 248.9 MB / 0.6667 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)