Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.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.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7675/0.7675, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001257/0.001256, allocations: 184 kB / 187.3 MB, free: 11.86 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.543/1.543, allocations: 221.3 MB / 441.4 MB, free: 4.559 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.001106/0.001106, allocations: 96.92 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001833/0.001833, allocations: 278.5 kB / 0.5939 GB, free: 7.918 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.19e-05/4.203e-05, allocations: 4 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4788/0.4788, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9525/1.431, allocations: 401.3 MB / 1.156 GB, free: 6.324 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004134/1.432, allocations: 76.64 kB / 1.156 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03253/1.464, allocations: 13.58 MB / 1.169 GB, free: 10.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.533e-06/1.464, allocations: 0 / 1.169 GB, free: 10.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.351e-05/1.464, allocations: 4 kB / 1.169 GB, free: 10.89 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0007871/1.465, allocations: 0.5045 MB / 1.17 GB, free: 10.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/1.465, allocations: 8.031 kB / 1.17 GB, free: 10.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001263/1.465, allocations: 15.81 kB / 1.17 GB, free: 10.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003018/1.466, allocations: 244.3 kB / 1.17 GB, free: 10.06 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.354e-05/1.466, allocations: 27.61 kB / 1.17 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.16e-05/1.466, allocations: 11.44 kB / 1.17 GB, free: 10.04 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003554/1.466, allocations: 225.7 kB / 1.17 GB, free: 9.848 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/1.466, allocations: 3.938 kB / 1.17 GB, free: 9.844 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.424e-05/1.466, allocations: 10.98 kB / 1.17 GB, free: 9.836 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.02e-05/1.466, allocations: 4 kB / 1.17 GB, free: 9.832 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008369/1.467, allocations: 0.6257 MB / 1.171 GB, free: 9.27 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003958/1.468, allocations: 316.2 kB / 1.171 GB, free: 8.945 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001158/1.469, allocations: 0.5959 MB / 1.172 GB, free: 8.465 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002335/1.469, allocations: 169.6 kB / 1.172 GB, free: 8.336 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004274/1.469, allocations: 391.1 kB / 1.172 GB, free: 7.887 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/1.469, allocations: 38.42 kB / 1.173 GB, free: 7.844 MB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.114e-06/1.469, allocations: 3.938 kB / 1.173 GB, free: 7.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.0005876/1.47, allocations: 323.1 kB / 1.173 GB, free: 7.562 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.934e-05/1.47, allocations: 59.41 kB / 1.173 GB, free: 7.492 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.845e-05/1.47, allocations: 121.3 kB / 1.173 GB, free: 7.379 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.893e-05/1.47, allocations: 29.14 kB / 1.173 GB, free: 7.348 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.9e-05/1.47, allocations: 95.97 kB / 1.173 GB, free: 7.258 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001022/1.47, allocations: 122.3 kB / 1.173 GB, free: 7.152 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.487e-05/1.47, allocations: 3.5 kB / 1.173 GB, free: 7.152 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001184/1.471, allocations: 333.3 kB / 1.174 GB, free: 6.824 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001876/1.471, allocations: 135.9 kB / 1.174 GB, free: 6.719 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002058/1.471, allocations: 139.1 kB / 1.174 GB, free: 6.605 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001715/1.471, allocations: 112.6 kB / 1.174 GB, free: 6.508 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/1.471, allocations: 0 / 1.174 GB, free: 6.508 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0005302/1.472, allocations: 347.2 kB / 1.174 GB, free: 6.211 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/1.472, allocations: 4 kB / 1.174 GB, free: 6.207 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.472, allocations: 0 / 1.174 GB, free: 6.207 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.142e-05/1.472, allocations: 4 kB / 1.174 GB, free: 6.203 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003938/1.472, allocations: 110.9 kB / 1.174 GB, free: 6.098 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.959e-06/1.472, allocations: 0 / 1.174 GB, free: 6.098 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002181/1.472, allocations: 69.7 kB / 1.174 GB, free: 6.035 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.032e-05/1.472, allocations: 11.98 kB / 1.174 GB, free: 6.023 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (37): * Single equations (assignments): 37 * Array equations: 0 * 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.151e-05/1.473, allocations: 123.2 kB / 1.175 GB, free: 5.906 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.572e-05/1.473, allocations: 15.81 kB / 1.175 GB, free: 5.891 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006486/1.473, allocations: 399.6 kB / 1.175 GB, free: 5.578 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.601e-06/1.473, allocations: 4 kB / 1.175 GB, free: 5.574 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/1.473, allocations: 0 / 1.175 GB, free: 5.574 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/1.473, allocations: 3.984 kB / 1.175 GB, free: 5.57 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003173/1.474, allocations: 320.7 kB / 1.175 GB, free: 5.238 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/1.474, allocations: 0 / 1.175 GB, free: 5.238 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003587/1.474, allocations: 107.7 kB / 1.175 GB, free: 5.137 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.971e-06/1.474, allocations: 4 kB / 1.175 GB, free: 5.133 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.661e-05/1.474, allocations: 14.92 kB / 1.175 GB, free: 5.121 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/1.474, allocations: 0 / 1.175 GB, free: 5.121 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/1.474, allocations: 7.938 kB / 1.175 GB, free: 5.113 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005491/1.475, allocations: 385.3 kB / 1.176 GB, free: 4.773 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.284e-05/1.475, allocations: 100.8 kB / 1.176 GB, free: 4.656 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.57e-05/1.475, allocations: 3.25 kB / 1.176 GB, free: 4.656 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002042/1.475, allocations: 59.08 kB / 1.176 GB, free: 4.605 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002659/1.475, allocations: 113.9 kB / 1.176 GB, free: 4.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.731e-05/1.475, allocations: 11.98 kB / 1.176 GB, free: 4.488 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.938e-05/1.475, allocations: 104 kB / 1.176 GB, free: 4.395 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.475, allocations: 4 kB / 1.176 GB, free: 4.391 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005503/1.476, allocations: 124.1 kB / 1.176 GB, free: 4.285 MB / 0.698 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 37 * Array equations: 0 * 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.0005682/1.476, allocations: 225.1 kB / 1.177 GB, free: 4.059 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005719/1.477, allocations: 345.1 kB / 1.177 GB, free: 3.781 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.477, allocations: 0 / 1.177 GB, free: 3.781 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002819/1.477, allocations: 192.1 kB / 1.177 GB, free: 3.629 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004248/1.478, allocations: 75.2 kB / 1.177 GB, free: 3.57 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006576/1.478, allocations: 314.4 kB / 1.177 GB, free: 3.266 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003732/1.479, allocations: 0.737 MB / 1.178 GB, free: 2.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000471/1.479, allocations: 185.8 kB / 1.178 GB, free: 2.344 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.709e-05/1.479, allocations: 34.86 kB / 1.178 GB, free: 2.312 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/1.479, allocations: 0 / 1.178 GB, free: 2.312 MB / 0.698 GB Notification: Performance of Templates: time 0.4254/1.905, allocations: 5.411 MB / 1.184 GB, free: 268.3 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.makefile (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1)