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.752/1.752, allocations: 292.6 MB / 307.6 MB, free: 5.152 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.001481/0.001481, allocations: 194.3 kB / 377.1 MB, free: 1.516 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.649/1.649, allocations: 205.4 MB / 0.6367 GB, free: 8.547 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.0009537/0.0009537, allocations: 92.02 kB / 0.751 GB, free: 62.88 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003905/0.0003905, allocations: 12 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2836/0.284, allocations: 116.3 MB / 0.9884 GB, free: 6.742 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.032/5.316, allocations: 2.069 GB / 3.058 GB, free: 128 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/5.316, allocations: 94.7 kB / 3.058 GB, free: 128 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8466/6.163, allocations: 164.3 MB / 3.218 GB, free: 236.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.252e-06/6.163, allocations: 0 / 3.218 GB, free: 236.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.482e-05/6.163, allocations: 9.688 kB / 3.218 GB, free: 236.1 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.001129/6.164, allocations: 0.6745 MB / 3.219 GB, free: 235.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/6.164, allocations: 15.75 kB / 3.219 GB, free: 235.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008885/6.165, allocations: 130.7 kB / 3.219 GB, free: 235.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/6.166, allocations: 416.4 kB / 3.22 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.248e-05/6.166, allocations: 16.5 kB / 3.22 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.895e-05/6.166, allocations: 27 kB / 3.22 GB, free: 235.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004343/6.166, allocations: 273.1 kB / 3.22 GB, free: 235.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/6.166, allocations: 7.562 kB / 3.22 GB, free: 235.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/6.166, allocations: 6.938 kB / 3.22 GB, free: 235.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/6.166, allocations: 13.48 kB / 3.22 GB, free: 235.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003077/6.167, allocations: 194.6 kB / 3.22 GB, free: 235.3 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001522/6.168, allocations: 1.293 MB / 3.221 GB, free: 234.6 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003514/6.168, allocations: 195.7 kB / 3.222 GB, free: 234.5 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.657e-05/6.169, allocations: 4.844 kB / 3.222 GB, free: 234.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.194e-05/6.169, allocations: 33.19 kB / 3.222 GB, free: 234.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.273e-06/6.169, allocations: 3.5 kB / 3.222 GB, free: 234.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0008523/6.169, allocations: 402.2 kB / 3.222 GB, free: 234.3 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.271e-05/6.169, allocations: 59.81 kB / 3.222 GB, free: 234.3 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002435/6.17, allocations: 258.8 kB / 3.222 GB, free: 234.2 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/6.17, allocations: 34.67 kB / 3.222 GB, free: 234.1 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.865e-05/6.17, allocations: 192.3 kB / 3.222 GB, free: 234 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.012e-05/6.17, allocations: 67.58 kB / 3.223 GB, free: 234 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.07e-05/6.17, allocations: 3.312 kB / 3.223 GB, free: 234 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.043e-05/6.17, allocations: 341.6 kB / 3.223 GB, free: 233.7 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.277e-05/6.17, allocations: 62.03 kB / 3.223 GB, free: 233.7 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001195/6.17, allocations: 123.5 kB / 3.223 GB, free: 233.6 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/6.17, allocations: 84.41 kB / 3.223 GB, free: 233.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.584e-06/6.17, allocations: 0 / 3.223 GB, free: 233.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003272/6.171, allocations: 244.1 kB / 3.223 GB, free: 233.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.893e-05/6.171, allocations: 5.938 kB / 3.223 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/6.171, allocations: 1.312 kB / 3.223 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.994e-05/6.171, allocations: 10.66 kB / 3.223 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001812/6.171, allocations: 44.95 kB / 3.223 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/6.171, allocations: 6.031 kB / 3.223 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002762/6.171, allocations: 24.45 kB / 3.223 GB, free: 233.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/6.171, allocations: 6.375 kB / 3.223 GB, free: 233.6 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 () * Number of clocked 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 0.0001356/6.171, allocations: 162.8 kB / 3.224 GB, free: 233.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/6.171, allocations: 33.09 kB / 3.224 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/6.172, allocations: 39.09 kB / 3.224 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/6.172, allocations: 0 / 3.224 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.049e-05/6.172, allocations: 6.922 kB / 3.224 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.977e-06/6.172, allocations: 5.766 kB / 3.224 GB, free: 233.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004276/6.172, allocations: 401.9 kB / 3.224 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/6.172, allocations: 0 / 3.224 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001717/6.172, allocations: 31.19 kB / 3.224 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002024/6.172, allocations: 43.86 kB / 3.224 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.838e-05/6.172, allocations: 10.38 kB / 3.224 GB, free: 233.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009299/6.173, allocations: 1.422 MB / 3.226 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/6.173, allocations: 1.031 kB / 3.226 GB, free: 232 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000489/6.174, allocations: 411.8 kB / 3.226 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/6.174, allocations: 131.6 kB / 3.226 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.446e-05/6.174, allocations: 13.3 kB / 3.226 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002538/6.174, allocations: 9.188 kB / 3.226 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.224e-05/6.174, allocations: 12.95 kB / 3.226 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.389e-05/6.174, allocations: 6.406 kB / 3.226 GB, free: 231.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.000213/6.175, allocations: 213.1 kB / 3.226 GB, free: 231.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/6.175, allocations: 0 / 3.226 GB, free: 231.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005745/6.175, allocations: 157.4 kB / 3.226 GB, free: 231.6 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 () * Number of clocked 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.0008847/6.176, allocations: 0.7019 MB / 3.227 GB, free: 231.5 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002853/6.176, allocations: 166 kB / 3.227 GB, free: 231.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/6.176, allocations: 6.094 kB / 3.227 GB, free: 231.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000283/6.177, allocations: 200.8 kB / 3.228 GB, free: 231.4 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008067/6.178, allocations: 183.1 kB / 3.228 GB, free: 231.4 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001124/6.179, allocations: 0.9474 MB / 3.229 GB, free: 230.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002638/6.179, allocations: 0.8048 MB / 3.229 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002313/6.179, allocations: 53.98 kB / 3.229 GB, free: 230.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.097e-05/6.179, allocations: 26.16 kB / 3.229 GB, free: 230.2 MB / 0.948 GB Notification: Performance of SimCode: time 4.01e-07/6.179, allocations: 0 / 3.229 GB, free: 230.2 MB / 0.948 GB Notification: Performance of Templates: time 0.01959/6.199, allocations: 14.62 MB / 3.244 GB, free: 229.3 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)