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.9321/0.9321, allocations: 141.8 MB / 149.3 MB, free: 9.219 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.001033/0.001032, allocations: 179.9 kB / 182.2 MB, free: 9.461 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.489/1.489, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009234/0.0009233, allocations: 95.8 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001683/0.001683, allocations: 280.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.399e-05/1.402e-05, allocations: 0 / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.494/0.494, allocations: 82.78 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9192/1.413, allocations: 400.6 MB / 1.149 GB, free: 14.19 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002756/1.414, allocations: 80.2 kB / 1.149 GB, free: 14.14 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0335/1.447, allocations: 13.5 MB / 1.162 GB, free: 2.988 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/1.447, allocations: 0 / 1.162 GB, free: 2.988 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.405e-05/1.447, allocations: 4 kB / 1.162 GB, free: 2.984 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.0008365/1.448, allocations: 0.5007 MB / 1.162 GB, free: 2.449 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.828e-05/1.448, allocations: 11.97 kB / 1.162 GB, free: 2.438 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001239/1.448, allocations: 27.73 kB / 1.162 GB, free: 2.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/1.449, allocations: 239.9 kB / 1.163 GB, free: 2.152 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.776e-05/1.449, allocations: 23.92 kB / 1.163 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.322e-05/1.449, allocations: 8 kB / 1.163 GB, free: 2.121 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008487/1.449, allocations: 0.6204 MB / 1.163 GB, free: 1.562 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003333/1.45, allocations: 204.4 kB / 1.163 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.45, allocations: 0 / 1.163 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/1.45, allocations: 0 / 1.163 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.766e-06/1.45, allocations: 4 kB / 1.163 GB, free: 1.383 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003994/1.45, allocations: 270.9 kB / 1.164 GB, free: 1.105 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001162/1.451, allocations: 0.5823 MB / 1.164 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002102/1.452, allocations: 155.1 kB / 1.164 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000452/1.452, allocations: 395.6 kB / 1.165 GB, free: 60 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.452, allocations: 33.56 kB / 1.165 GB, free: 20 kB / 0.698 GB Notification: Performance of pre-optimization done (n=37): time 2.245e-06/1.452, allocations: 0 / 1.165 GB, free: 20 kB / 0.698 GB Notification: Performance of matching and sorting (n=37): time 0.447/1.899, allocations: 0.6339 MB / 1.165 GB, free: 274.7 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/1.899, allocations: 59.31 kB / 1.165 GB, free: 274.6 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001188/1.899, allocations: 115.6 kB / 1.166 GB, free: 274.5 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/1.899, allocations: 28.98 kB / 1.166 GB, free: 274.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.494e-05/1.899, allocations: 90.97 kB / 1.166 GB, free: 274.4 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000132/1.9, allocations: 118.3 kB / 1.166 GB, free: 274.4 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.514e-05/1.9, allocations: 0 / 1.166 GB, free: 274.4 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.613e-05/1.9, allocations: 328 kB / 1.166 GB, free: 274 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002017/1.9, allocations: 122.6 kB / 1.166 GB, free: 274 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002276/1.9, allocations: 130.3 kB / 1.166 GB, free: 274 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00263/1.903, allocations: 446.5 kB / 1.167 GB, free: 274 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.009e-06/1.903, allocations: 2.062 kB / 1.167 GB, free: 274 MB / 0.698 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.002797/1.906, allocations: 0.6405 MB / 1.167 GB, free: 274 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.454e-05/1.906, allocations: 4.359 kB / 1.167 GB, free: 274 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.916e-06/1.906, allocations: 2.953 kB / 1.167 GB, free: 274 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.431e-05/1.906, allocations: 1.312 kB / 1.167 GB, free: 274 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004773/1.906, allocations: 113.5 kB / 1.168 GB, free: 274 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/1.906, allocations: 5.984 kB / 1.168 GB, free: 274 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002793/1.907, allocations: 68.42 kB / 1.168 GB, free: 274 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.494e-05/1.907, allocations: 14.03 kB / 1.168 GB, free: 274 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.737e-05/1.907, allocations: 112.9 kB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.691e-05/1.907, allocations: 18.2 kB / 1.168 GB, free: 273.9 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002931/1.91, allocations: 0.6868 MB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.237e-06/1.91, allocations: 4.188 kB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/1.91, allocations: 3.781 kB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/1.91, allocations: 5.25 kB / 1.168 GB, free: 273.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003633/1.91, allocations: 273 kB / 1.169 GB, free: 273.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.457e-06/1.91, allocations: 1.094 kB / 1.169 GB, free: 273.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/1.911, allocations: 115.9 kB / 1.169 GB, free: 273.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.512e-06/1.911, allocations: 5.625 kB / 1.169 GB, free: 273.7 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/1.911, allocations: 11.05 kB / 1.169 GB, free: 273.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.539e-06/1.911, allocations: 2.781 kB / 1.169 GB, free: 273.7 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.911, allocations: 0.6094 kB / 1.169 GB, free: 273.7 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002842/1.913, allocations: 0.6804 MB / 1.169 GB, free: 273.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.91e-05/1.914, allocations: 96.25 kB / 1.17 GB, free: 273.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.677e-05/1.914, allocations: 5.656 kB / 1.17 GB, free: 273.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002098/1.914, allocations: 46.59 kB / 1.17 GB, free: 273.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003032/1.914, allocations: 118.9 kB / 1.17 GB, free: 273.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.799e-05/1.914, allocations: 15.75 kB / 1.17 GB, free: 273.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.527e-05/1.914, allocations: 97.61 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.914, allocations: 1 kB / 1.17 GB, free: 273.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004834/1.915, allocations: 116.4 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.0005004/1.915, allocations: 222.8 kB / 1.17 GB, free: 273.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005506/1.916, allocations: 330.4 kB / 1.17 GB, free: 273.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.916, allocations: 0 / 1.17 GB, free: 273.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002851/1.916, allocations: 189.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.000389/1.916, allocations: 62.84 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.0006237/1.917, allocations: 303.6 kB / 1.171 GB, free: 273.2 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002193/1.917, allocations: 0.7365 MB / 1.172 GB, free: 272.5 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005215/1.918, allocations: 190.3 kB / 1.172 GB, free: 272.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/1.918, allocations: 38.61 kB / 1.172 GB, free: 272.5 MB / 0.698 GB Notification: Performance of SimCode: time 2.41e-07/1.918, allocations: 0 / 1.172 GB, free: 272.5 MB / 0.698 GB Notification: Performance of Templates: time 0.00958/1.928, allocations: 4.888 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)