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.682/1.682, allocations: 288.3 MB / 303.2 MB, free: 8.113 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.001123/0.001123, allocations: 181 kB / 371.8 MB, free: 10.28 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.621/1.621, allocations: 205.4 MB / 0.6306 GB, free: 10.01 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009121/0.000912, allocations: 90.86 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004068/0.0004068, allocations: 10.19 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2294, allocations: 115.3 MB / 0.9794 GB, free: 27.73 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.237/5.466, allocations: 2.069 GB / 3.048 GB, free: 202.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/5.466, allocations: 87.27 kB / 3.048 GB, free: 202.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.316/5.782, allocations: 164.3 MB / 3.208 GB, free: 44.62 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.062e-06/5.782, allocations: 0 / 3.208 GB, free: 44.62 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.085e-05/5.783, allocations: 8 kB / 3.209 GB, free: 44.61 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.001645/5.784, allocations: 0.6818 MB / 3.209 GB, free: 43.88 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.887e-05/5.784, allocations: 12.02 kB / 3.209 GB, free: 43.87 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/5.786, allocations: 127.4 kB / 3.209 GB, free: 43.74 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/5.787, allocations: 406.7 kB / 3.21 GB, free: 43.31 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.914e-05/5.787, allocations: 20.56 kB / 3.21 GB, free: 43.29 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.178e-05/5.787, allocations: 27.98 kB / 3.21 GB, free: 43.26 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006012/5.787, allocations: 267.6 kB / 3.21 GB, free: 42.98 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/5.787, allocations: 0 / 3.21 GB, free: 42.98 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.794e-05/5.788, allocations: 12 kB / 3.21 GB, free: 42.97 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.269e-05/5.788, allocations: 12.56 kB / 3.21 GB, free: 42.96 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004335/5.788, allocations: 190.1 kB / 3.21 GB, free: 42.78 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002346/5.79, allocations: 1.301 MB / 3.211 GB, free: 41.34 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004592/5.791, allocations: 191.5 kB / 3.212 GB, free: 41.14 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.659e-05/5.791, allocations: 7.938 kB / 3.212 GB, free: 41.13 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.854e-05/5.791, allocations: 34.56 kB / 3.212 GB, free: 41.09 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 2.635e-06/5.791, allocations: 0 / 3.212 GB, free: 41.09 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.001177/5.792, allocations: 409.4 kB / 3.212 GB, free: 40.66 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.452e-05/5.792, allocations: 55.36 kB / 3.212 GB, free: 40.6 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003728/5.793, allocations: 259.7 kB / 3.212 GB, free: 40.34 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.907e-05/5.793, allocations: 33.7 kB / 3.212 GB, free: 40.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001686/5.793, allocations: 192.3 kB / 3.213 GB, free: 40.11 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.307e-05/5.793, allocations: 75.02 kB / 3.213 GB, free: 40.03 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.291e-05/5.793, allocations: 4 kB / 3.213 GB, free: 40.03 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001869/5.793, allocations: 342.8 kB / 3.213 GB, free: 39.68 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001337/5.793, allocations: 63.91 kB / 3.213 GB, free: 39.62 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001855/5.793, allocations: 128.5 kB / 3.213 GB, free: 39.47 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001614/5.794, allocations: 78.22 kB / 3.213 GB, free: 39.4 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.436e-06/5.794, allocations: 0 / 3.213 GB, free: 39.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004963/5.794, allocations: 253.1 kB / 3.213 GB, free: 39.14 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/5.794, allocations: 5.25 kB / 3.214 GB, free: 39.14 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.17e-05/5.794, allocations: 4 kB / 3.214 GB, free: 39.14 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/5.794, allocations: 4 kB / 3.214 GB, free: 39.13 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00021/5.794, allocations: 39.98 kB / 3.214 GB, free: 39.09 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.677e-05/5.795, allocations: 7.938 kB / 3.214 GB, free: 39.09 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003979/5.795, allocations: 19.8 kB / 3.214 GB, free: 39.07 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.513e-05/5.795, allocations: 16.19 kB / 3.214 GB, free: 39.05 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.0002558/5.795, allocations: 153.8 kB / 3.214 GB, free: 38.89 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-05/5.795, allocations: 31.62 kB / 3.214 GB, free: 38.86 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001079/5.795, allocations: 42.3 kB / 3.214 GB, free: 38.82 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/5.795, allocations: 3.984 kB / 3.214 GB, free: 38.81 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.879e-05/5.795, allocations: 8 kB / 3.214 GB, free: 38.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/5.796, allocations: 0 / 3.214 GB, free: 38.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006565/5.796, allocations: 405.2 kB / 3.214 GB, free: 38.36 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/5.796, allocations: 0 / 3.214 GB, free: 38.36 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001949/5.796, allocations: 39.98 kB / 3.214 GB, free: 38.32 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002754/5.797, allocations: 44.8 kB / 3.214 GB, free: 38.27 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.999e-05/5.797, allocations: 8 kB / 3.214 GB, free: 38.27 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001415/5.798, allocations: 1.409 MB / 3.216 GB, free: 36.72 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.823e-06/5.798, allocations: 0 / 3.216 GB, free: 36.72 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006645/5.799, allocations: 419.9 kB / 3.216 GB, free: 36.29 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001945/5.799, allocations: 132.7 kB / 3.216 GB, free: 36.14 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.956e-05/5.799, allocations: 8.062 kB / 3.216 GB, free: 36.13 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002987/5.799, allocations: 11.95 kB / 3.216 GB, free: 36.12 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.503e-05/5.799, allocations: 15.97 kB / 3.216 GB, free: 36.11 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/5.799, allocations: 4 kB / 3.216 GB, free: 36.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0002397/5.8, allocations: 211.1 kB / 3.216 GB, free: 35.9 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.71e-07/5.8, allocations: 4 kB / 3.216 GB, free: 35.89 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008103/5.801, allocations: 155.7 kB / 3.217 GB, free: 35.74 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.001479/5.802, allocations: 0.7069 MB / 3.217 GB, free: 35.04 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.000366/5.802, allocations: 163.8 kB / 3.217 GB, free: 34.88 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 6.122e-06/5.802, allocations: 3.984 kB / 3.217 GB, free: 34.87 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0003623/5.803, allocations: 195 kB / 3.218 GB, free: 34.67 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009894/5.804, allocations: 182.7 kB / 3.218 GB, free: 34.49 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/5.805, allocations: 0.9409 MB / 3.219 GB, free: 33.52 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003242/5.806, allocations: 0.8001 MB / 3.219 GB, free: 32.69 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003488/5.806, allocations: 62.92 kB / 3.22 GB, free: 32.63 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7e-05/5.806, allocations: 27.38 kB / 3.22 GB, free: 32.61 MB / 0.948 GB Notification: Performance of SimCode: time 3e-07/5.806, allocations: 4 kB / 3.22 GB, free: 32.6 MB / 0.948 GB Notification: Performance of Templates: time 0.02004/5.826, allocations: 14.63 MB / 3.234 GB, free: 18.04 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)