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.7857/0.7857, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.0009718/0.0009719, allocations: 187.8 kB / 182.2 MB, free: 9.469 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.393/1.393, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.000913/0.000913, allocations: 76.12 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002666/0.002665, allocations: 271.4 kB / 0.5889 GB, free: 54.69 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.138e-05/2.159e-05, allocations: 0 / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4556/0.4557, allocations: 82.77 MB / 0.7574 GB, free: 32.04 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8891/1.345, allocations: 400.6 MB / 1.149 GB, free: 14.21 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002518/1.345, allocations: 79.02 kB / 1.149 GB, free: 14.17 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03311/1.378, allocations: 13.5 MB / 1.162 GB, free: 3.008 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.964e-06/1.378, allocations: 0 / 1.162 GB, free: 3.008 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.878e-05/1.378, allocations: 4 kB / 1.162 GB, free: 3.004 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.0009094/1.379, allocations: 0.5112 MB / 1.162 GB, free: 2.461 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.986e-05/1.379, allocations: 8.031 kB / 1.162 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001739/1.38, allocations: 23.8 kB / 1.162 GB, free: 2.43 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000344/1.38, allocations: 232.9 kB / 1.163 GB, free: 2.176 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.243e-05/1.38, allocations: 19.98 kB / 1.163 GB, free: 2.156 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.246e-05/1.38, allocations: 8 kB / 1.163 GB, free: 2.148 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009925/1.381, allocations: 0.6234 MB / 1.163 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003624/1.381, allocations: 204.6 kB / 1.163 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/1.381, allocations: 0 / 1.163 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/1.381, allocations: 0 / 1.163 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.187e-06/1.381, allocations: 4 kB / 1.163 GB, free: 1.406 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004033/1.382, allocations: 274.3 kB / 1.164 GB, free: 1.125 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/1.383, allocations: 0.5814 MB / 1.164 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002234/1.383, allocations: 159.1 kB / 1.164 GB, free: 0.5312 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004798/1.384, allocations: 391.8 kB / 1.165 GB, free: 84 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.409e-05/1.384, allocations: 34.5 kB / 1.165 GB, free: 40 kB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 1.603e-06/1.384, allocations: 0 / 1.165 GB, free: 40 kB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.4307/1.815, allocations: 0.6402 MB / 1.165 GB, free: 274.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.417e-05/1.815, allocations: 59.75 kB / 1.165 GB, free: 274.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001369/1.815, allocations: 112.8 kB / 1.166 GB, free: 274.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.082e-05/1.815, allocations: 26.58 kB / 1.166 GB, free: 274.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.133e-05/1.815, allocations: 91.23 kB / 1.166 GB, free: 274.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/1.815, allocations: 117.1 kB / 1.166 GB, free: 274.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.603e-05/1.815, allocations: 0 / 1.166 GB, free: 274.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.462e-05/1.815, allocations: 328.3 kB / 1.166 GB, free: 274 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002477/1.815, allocations: 129.8 kB / 1.166 GB, free: 274 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003058/1.816, allocations: 129.8 kB / 1.166 GB, free: 274 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/1.818, allocations: 438.6 kB / 1.167 GB, free: 274 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.02e-06/1.818, allocations: 2.938 kB / 1.167 GB, free: 274 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002858/1.821, allocations: 0.6444 MB / 1.167 GB, free: 273.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.433e-05/1.821, allocations: 8.453 kB / 1.167 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.644e-06/1.821, allocations: 0 / 1.167 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.687e-05/1.821, allocations: 3.047 kB / 1.167 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/1.822, allocations: 113.4 kB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.09e-05/1.822, allocations: 4.422 kB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002612/1.822, allocations: 64.06 kB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.013e-05/1.822, allocations: 10.75 kB / 1.168 GB, free: 273.9 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 0.0001034/1.822, allocations: 114.6 kB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.554e-05/1.822, allocations: 16.97 kB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003229/1.826, allocations: 0.6918 MB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.101e-05/1.826, allocations: 4.062 kB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/1.826, allocations: 0 / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.826, allocations: 4.484 kB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004315/1.826, allocations: 272.8 kB / 1.169 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/1.826, allocations: 0 / 1.169 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004413/1.827, allocations: 118.3 kB / 1.169 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.102e-05/1.827, allocations: 1.688 kB / 1.169 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.303e-05/1.827, allocations: 10.61 kB / 1.169 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.638e-06/1.827, allocations: 4.969 kB / 1.169 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/1.827, allocations: 0.8438 kB / 1.169 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003006/1.83, allocations: 0.6834 MB / 1.169 GB, free: 273.5 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.932e-05/1.83, allocations: 97.75 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.135e-05/1.83, allocations: 6.266 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002189/1.83, allocations: 45.97 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003362/1.83, allocations: 118.1 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.923e-05/1.83, allocations: 12.55 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.862e-05/1.83, allocations: 99.08 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2e-07/1.83, allocations: 0 / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006131/1.831, allocations: 114.9 kB / 1.17 GB, free: 273.4 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.0005845/1.832, allocations: 232 kB / 1.17 GB, free: 273.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0006223/1.832, allocations: 329 kB / 1.17 GB, free: 273.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/1.832, allocations: 1.469 kB / 1.17 GB, free: 273.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000297/1.833, allocations: 191.4 kB / 1.171 GB, free: 273.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/1.833, allocations: 64.58 kB / 1.171 GB, free: 273.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007021/1.834, allocations: 294.4 kB / 1.171 GB, free: 273.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/1.834, allocations: 0.7351 MB / 1.172 GB, free: 272.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005842/1.835, allocations: 184.1 kB / 1.172 GB, free: 272.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001121/1.835, allocations: 42.78 kB / 1.172 GB, free: 272.5 MB / 0.698 GB Notification: Performance of SimCode: time 7.91e-07/1.835, allocations: 0 / 1.172 GB, free: 272.5 MB / 0.698 GB Notification: Performance of Templates: time 0.0112/1.846, allocations: 4.889 MB / 1.177 GB, free: 272.2 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)