Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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) 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 Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.555/1.555, allocations: 289.9 MB / 297.4 MB, free: 6.41 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001121/0.001121, allocations: 184.8 kB / 366.7 MB, free: 1.672 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.619/1.619, allocations: 205.2 MB / 0.626 GB, free: 7.184 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009414/0.0009415, allocations: 92.42 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.563e-05/1.566e-05, allocations: 4 kB / 0.8597 GB, free: 13.08 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6606/0.6606, allocations: 116.3 MB / 0.9732 GB, free: 76.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.522/5.182, allocations: 2.069 GB / 3.042 GB, free: 61.72 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002272/5.183, allocations: 84.52 kB / 3.042 GB, free: 61.64 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8284/6.011, allocations: 162.2 MB / 3.201 GB, free: 282.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.903e-06/6.011, allocations: 0 / 3.201 GB, free: 282.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.379e-05/6.011, allocations: 8 kB / 3.201 GB, free: 282.8 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 59 * Number of variables: 59 Notification: Performance of Generate backend data structure: time 0.001081/6.012, allocations: 0.6111 MB / 3.201 GB, free: 282.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/6.012, allocations: 8.031 kB / 3.201 GB, free: 282.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/6.013, allocations: 135.4 kB / 3.201 GB, free: 282 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006754/6.014, allocations: 415.8 kB / 3.202 GB, free: 281.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.984e-05/6.014, allocations: 8 kB / 3.202 GB, free: 281.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.018e-05/6.014, allocations: 16 kB / 3.202 GB, free: 281.6 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003247/6.015, allocations: 173.6 kB / 3.202 GB, free: 281.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003569/6.015, allocations: 238.5 kB / 3.202 GB, free: 281.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/6.015, allocations: 0 / 3.202 GB, free: 281.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.625e-05/6.015, allocations: 1.219 kB / 3.202 GB, free: 281.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.058e-05/6.015, allocations: 12.56 kB / 3.202 GB, free: 281.2 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001535/6.017, allocations: 1.229 MB / 3.203 GB, free: 279.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003082/6.017, allocations: 182.9 kB / 3.203 GB, free: 279.6 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001041/6.017, allocations: 88.78 kB / 3.204 GB, free: 279.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.343e-05/6.017, allocations: 0 / 3.204 GB, free: 279.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.715e-05/6.017, allocations: 34.91 kB / 3.204 GB, free: 279.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.162e-06/6.017, allocations: 4 kB / 3.204 GB, free: 279.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0005462/6.018, allocations: 218 kB / 3.204 GB, free: 279.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.041e-05/6.018, allocations: 51.41 kB / 3.204 GB, free: 279.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002213/6.018, allocations: 238.3 kB / 3.204 GB, free: 279 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.987e-05/6.018, allocations: 28.14 kB / 3.204 GB, free: 278.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.179e-05/6.018, allocations: 192.1 kB / 3.204 GB, free: 278.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.083e-05/6.018, allocations: 66.95 kB / 3.204 GB, free: 278.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.889e-06/6.018, allocations: 8 kB / 3.204 GB, free: 278.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.544e-05/6.018, allocations: 334.8 kB / 3.205 GB, free: 278.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.213e-05/6.018, allocations: 63.92 kB / 3.205 GB, free: 278.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.381e-05/6.018, allocations: 108.6 kB / 3.205 GB, free: 278.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001101/6.018, allocations: 82.39 kB / 3.205 GB, free: 278.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/6.019, allocations: 0 / 3.205 GB, free: 278.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002904/6.019, allocations: 217.1 kB / 3.205 GB, free: 277.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/6.019, allocations: 15.92 kB / 3.205 GB, free: 277.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/6.019, allocations: 192 / 3.205 GB, free: 277.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.901e-05/6.019, allocations: 11.95 kB / 3.205 GB, free: 277.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001774/6.019, allocations: 43.92 kB / 3.205 GB, free: 277.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.72e-06/6.019, allocations: 0 / 3.205 GB, free: 277.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002962/6.019, allocations: 19.84 kB / 3.205 GB, free: 277.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.389e-05/6.019, allocations: 8 kB / 3.205 GB, free: 277.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 6.711e-05/6.019, allocations: 104.9 kB / 3.205 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.174e-05/6.02, allocations: 27.72 kB / 3.205 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.195e-05/6.02, allocations: 38.08 kB / 3.205 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/6.02, allocations: 3.953 kB / 3.205 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/6.02, allocations: 8 kB / 3.205 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/6.02, allocations: 3.984 kB / 3.205 GB, free: 277.6 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003874/6.02, allocations: 360.2 kB / 3.206 GB, free: 277.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/6.02, allocations: 0 / 3.206 GB, free: 277.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001667/6.02, allocations: 35.92 kB / 3.206 GB, free: 277.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001947/6.02, allocations: 42.33 kB / 3.206 GB, free: 277.1 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/6.02, allocations: 8 kB / 3.206 GB, free: 277.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000899/6.021, allocations: 1.373 MB / 3.207 GB, free: 275.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/6.021, allocations: 64 / 3.207 GB, free: 275.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004248/6.022, allocations: 398.6 kB / 3.208 GB, free: 275.2 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001053/6.022, allocations: 124.8 kB / 3.208 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/6.022, allocations: 0 / 3.208 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/6.022, allocations: 7.953 kB / 3.208 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.744e-05/6.022, allocations: 23.97 kB / 3.208 GB, free: 275 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.364e-05/6.022, allocations: 4 kB / 3.208 GB, free: 275 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001591/6.022, allocations: 186 kB / 3.208 GB, free: 274.8 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.022, allocations: 4 kB / 3.208 GB, free: 274.8 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005268/6.023, allocations: 147.7 kB / 3.208 GB, free: 274.7 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 16 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009601/6.024, allocations: 0.8088 MB / 3.209 GB, free: 274 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000246/6.024, allocations: 151.9 kB / 3.209 GB, free: 273.8 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/6.024, allocations: 0 / 3.209 GB, free: 273.8 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000242/6.024, allocations: 193.6 kB / 3.209 GB, free: 273.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009179/6.025, allocations: 180.4 kB / 3.209 GB, free: 273.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008272/6.026, allocations: 0.5403 MB / 3.21 GB, free: 272.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/6.026, allocations: 0.8031 MB / 3.211 GB, free: 272.1 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002743/6.027, allocations: 59.25 kB / 3.211 GB, free: 272 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.226e-05/6.027, allocations: 23.44 kB / 3.211 GB, free: 272 MB / 0.948 GB Notification: Performance of SimCode: time 2.61e-07/6.027, allocations: 0 / 3.211 GB, free: 272 MB / 0.948 GB Notification: Performance of Templates: time 0.01354/6.04, allocations: 9.303 MB / 3.22 GB, free: 262.8 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)