Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") translateModel(Buildings.Examples.Tutorial.SpaceCooling.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.622/1.622, allocations: 285.4 MB / 298 MB, free: 5.992 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.001197/0.001197, allocations: 180.9 kB / 366.4 MB, free: 2.09 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.483/1.483, allocations: 205.1 MB / 0.6248 GB, free: 7.758 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.0009009/0.000901, allocations: 89.23 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.172e-05, allocations: 0 / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7091/0.7091, allocations: 115.3 MB / 0.9709 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.498/5.207, allocations: 2.068 GB / 3.039 GB, free: 40.26 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002782/5.207, allocations: 80.14 kB / 3.039 GB, free: 40.22 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9746/6.182, allocations: 164.2 MB / 3.2 GB, free: 266.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.883e-06/6.182, allocations: 0 / 3.2 GB, free: 266.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.504e-05/6.182, allocations: 4 kB / 3.2 GB, free: 266.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.001188/6.183, allocations: 0.6037 MB / 3.2 GB, free: 266.2 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.456e-05/6.183, allocations: 16.03 kB / 3.2 GB, free: 266.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001111/6.184, allocations: 131.4 kB / 3.2 GB, free: 266 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007403/6.185, allocations: 412.2 kB / 3.201 GB, free: 265.6 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.459e-05/6.185, allocations: 20.56 kB / 3.201 GB, free: 265.6 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.122e-05/6.185, allocations: 32.55 kB / 3.201 GB, free: 265.5 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004348/6.185, allocations: 271.6 kB / 3.201 GB, free: 265.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.829e-05/6.185, allocations: 0 / 3.201 GB, free: 265.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.832e-05/6.186, allocations: 12 kB / 3.201 GB, free: 265.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.294e-05/6.186, allocations: 8.562 kB / 3.201 GB, free: 265.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003173/6.186, allocations: 186.2 kB / 3.201 GB, free: 265 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001668/6.188, allocations: 1.3 MB / 3.203 GB, free: 263.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003625/6.188, allocations: 190.9 kB / 3.203 GB, free: 263.4 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/6.188, allocations: 85.19 kB / 3.203 GB, free: 263.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.807e-05/6.188, allocations: 7.953 kB / 3.203 GB, free: 263.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.637e-05/6.188, allocations: 34.56 kB / 3.203 GB, free: 263.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.663e-06/6.188, allocations: 0 / 3.203 GB, free: 263.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0006008/6.189, allocations: 226.1 kB / 3.203 GB, free: 263 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/6.189, allocations: 59.41 kB / 3.203 GB, free: 263 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002559/6.189, allocations: 262.6 kB / 3.203 GB, free: 262.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.226e-05/6.189, allocations: 29.7 kB / 3.203 GB, free: 262.7 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 8.501e-05/6.189, allocations: 192.2 kB / 3.204 GB, free: 262.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.971e-05/6.189, allocations: 70.98 kB / 3.204 GB, free: 262.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.866e-06/6.189, allocations: 4 kB / 3.204 GB, free: 262.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 6.618e-05/6.189, allocations: 338.8 kB / 3.204 GB, free: 262.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.494e-05/6.189, allocations: 63.98 kB / 3.204 GB, free: 262 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/6.19, allocations: 118.8 kB / 3.204 GB, free: 261.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001254/6.19, allocations: 85.5 kB / 3.204 GB, free: 261.8 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.006e-06/6.19, allocations: 4 kB / 3.204 GB, free: 261.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003186/6.19, allocations: 239.3 kB / 3.205 GB, free: 261.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/6.19, allocations: 4.625 kB / 3.205 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/6.19, allocations: 4 kB / 3.205 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.073e-05/6.19, allocations: 7.938 kB / 3.205 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001814/6.19, allocations: 43.91 kB / 3.205 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/6.19, allocations: 8.188 kB / 3.205 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003114/6.191, allocations: 19.84 kB / 3.205 GB, free: 261.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.602e-05/6.191, allocations: 12 kB / 3.205 GB, free: 261.4 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 7.425e-05/6.191, allocations: 119.5 kB / 3.205 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.882e-05/6.191, allocations: 35.58 kB / 3.205 GB, free: 261.3 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.099e-05/6.191, allocations: 38.14 kB / 3.205 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/6.191, allocations: 0 / 3.205 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.875e-06/6.191, allocations: 4 kB / 3.205 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/6.191, allocations: 3.984 kB / 3.205 GB, free: 261.2 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004434/6.191, allocations: 401.3 kB / 3.205 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/6.191, allocations: 0 / 3.205 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000171/6.192, allocations: 43.88 kB / 3.205 GB, free: 260.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002088/6.192, allocations: 40.83 kB / 3.205 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.917e-05/6.192, allocations: 4 kB / 3.205 GB, free: 260.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008805/6.193, allocations: 1.405 MB / 3.207 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/6.193, allocations: 0 / 3.207 GB, free: 259.2 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004647/6.193, allocations: 418.5 kB / 3.207 GB, free: 258.7 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001336/6.193, allocations: 124.8 kB / 3.207 GB, free: 258.6 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.925e-05/6.193, allocations: 8 kB / 3.207 GB, free: 258.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002636/6.194, allocations: 11.98 kB / 3.207 GB, free: 258.6 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.5e-05/6.194, allocations: 7.984 kB / 3.207 GB, free: 258.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/6.194, allocations: 12 kB / 3.207 GB, free: 258.6 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002019/6.194, allocations: 214.2 kB / 3.207 GB, free: 258.3 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.6e-07/6.194, allocations: 0 / 3.207 GB, free: 258.3 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0006239/6.195, allocations: 163.7 kB / 3.208 GB, free: 258.2 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.001055/6.196, allocations: 0.6926 MB / 3.208 GB, free: 257.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0003025/6.196, allocations: 171.9 kB / 3.208 GB, free: 257.3 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/6.196, allocations: 0 / 3.208 GB, free: 257.3 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002735/6.196, allocations: 194.6 kB / 3.209 GB, free: 257.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000905/6.197, allocations: 193.4 kB / 3.209 GB, free: 256.9 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009322/6.198, allocations: 0.5504 MB / 3.209 GB, free: 256.4 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002834/6.198, allocations: 0.8001 MB / 3.21 GB, free: 255.5 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003127/6.199, allocations: 58.94 kB / 3.21 GB, free: 255.5 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.619e-05/6.199, allocations: 27.44 kB / 3.21 GB, free: 255.5 MB / 0.948 GB Notification: Performance of SimCode: time 5.91e-07/6.199, allocations: 0 / 3.21 GB, free: 255.5 MB / 0.948 GB Notification: Performance of Templates: time 0.02109/6.22, allocations: 16.69 MB / 3.226 GB, free: 238.8 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.SpaceCooling.System1.pipe 2>&1)