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.609/1.609, allocations: 288.4 MB / 304.3 MB, free: 8.082 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.0009614/0.0009614, allocations: 182.8 kB / 372.9 MB, free: 10.17 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.555/1.555, allocations: 205.4 MB / 0.6317 GB, free: 9.914 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.0007688/0.0007687, allocations: 94.3 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000375/0.0003751, allocations: 13.88 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2194, allocations: 115.3 MB / 0.9807 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.024/5.244, allocations: 2.069 GB / 3.049 GB, free: 248.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/5.244, allocations: 91.95 kB / 3.049 GB, free: 248.3 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.2953/5.54, allocations: 162.5 MB / 3.208 GB, free: 82.65 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.332e-06/5.54, allocations: 3.938 kB / 3.208 GB, free: 82.64 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.371e-05/5.54, allocations: 8 kB / 3.208 GB, free: 82.64 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.001054/5.541, allocations: 0.6704 MB / 3.209 GB, free: 81.91 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.452e-05/5.541, allocations: 8.031 kB / 3.209 GB, free: 81.91 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009699/5.542, allocations: 140.3 kB / 3.209 GB, free: 81.77 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000572/5.542, allocations: 411.9 kB / 3.209 GB, free: 81.33 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/5.542, allocations: 20.94 kB / 3.209 GB, free: 81.31 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.974e-05/5.542, allocations: 32.36 kB / 3.209 GB, free: 81.28 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000416/5.543, allocations: 272.2 kB / 3.21 GB, free: 81 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/5.543, allocations: 3.938 kB / 3.21 GB, free: 81 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/5.543, allocations: 8 kB / 3.21 GB, free: 80.99 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/5.543, allocations: 12.55 kB / 3.21 GB, free: 80.98 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/5.543, allocations: 190.2 kB / 3.21 GB, free: 80.79 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001414/5.545, allocations: 1.301 MB / 3.211 GB, free: 79.35 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003349/5.545, allocations: 194.8 kB / 3.211 GB, free: 79.15 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001188/5.545, allocations: 88.83 kB / 3.211 GB, free: 79.06 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.264e-05/5.545, allocations: 7.938 kB / 3.211 GB, free: 79.05 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/5.545, allocations: 34.56 kB / 3.211 GB, free: 79.01 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.814e-06/5.545, allocations: 0 / 3.211 GB, free: 79.01 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0009049/5.546, allocations: 397 kB / 3.212 GB, free: 78.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.1e-05/5.546, allocations: 63.33 kB / 3.212 GB, free: 78.52 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002417/5.546, allocations: 292.6 kB / 3.212 GB, free: 78.23 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.969e-05/5.546, allocations: 33.64 kB / 3.212 GB, free: 78.19 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.222e-05/5.547, allocations: 200.3 kB / 3.212 GB, free: 77.99 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 4.492e-05/5.547, allocations: 67 kB / 3.212 GB, free: 77.92 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.147e-06/5.547, allocations: 4 kB / 3.212 GB, free: 77.92 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.831e-05/5.547, allocations: 346.7 kB / 3.213 GB, free: 77.57 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.356e-05/5.547, allocations: 63.97 kB / 3.213 GB, free: 77.51 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001135/5.547, allocations: 124.5 kB / 3.213 GB, free: 77.36 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002138/5.547, allocations: 196.8 kB / 3.213 GB, free: 77.15 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/5.547, allocations: 4.031 kB / 3.213 GB, free: 77.15 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002852/5.547, allocations: 241.1 kB / 3.213 GB, free: 76.91 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/5.547, allocations: 8 kB / 3.213 GB, free: 76.9 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/5.547, allocations: 4 kB / 3.213 GB, free: 76.89 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.828e-05/5.547, allocations: 4 kB / 3.213 GB, free: 76.89 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001742/5.548, allocations: 47.91 kB / 3.213 GB, free: 76.84 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/5.548, allocations: 0 / 3.213 GB, free: 76.84 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000286/5.548, allocations: 31.97 kB / 3.213 GB, free: 76.81 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/5.548, allocations: 8 kB / 3.213 GB, free: 76.8 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.0001362/5.548, allocations: 165.7 kB / 3.214 GB, free: 76.63 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.173e-05/5.548, allocations: 31.62 kB / 3.214 GB, free: 76.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.343e-05/5.548, allocations: 34.36 kB / 3.214 GB, free: 76.57 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/5.548, allocations: 4 kB / 3.214 GB, free: 76.57 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/5.548, allocations: 0 / 3.214 GB, free: 76.57 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/5.548, allocations: 3.984 kB / 3.214 GB, free: 76.56 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003998/5.549, allocations: 413.2 kB / 3.214 GB, free: 76.11 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/5.549, allocations: 0 / 3.214 GB, free: 76.11 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/5.549, allocations: 31.98 kB / 3.214 GB, free: 76.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002072/5.549, allocations: 44.83 kB / 3.214 GB, free: 76.03 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.62e-05/5.549, allocations: 4 kB / 3.214 GB, free: 76.03 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008903/5.55, allocations: 1.401 MB / 3.215 GB, free: 74.49 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.502e-06/5.55, allocations: 3.938 kB / 3.215 GB, free: 74.48 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004562/5.55, allocations: 415.9 kB / 3.216 GB, free: 74.06 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/5.551, allocations: 136.6 kB / 3.216 GB, free: 73.91 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.579e-05/5.551, allocations: 4 kB / 3.216 GB, free: 73.9 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002435/5.551, allocations: 11.92 kB / 3.216 GB, free: 73.89 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.705e-05/5.551, allocations: 19.94 kB / 3.216 GB, free: 73.87 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.333e-05/5.551, allocations: 4 kB / 3.216 GB, free: 73.87 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001728/5.551, allocations: 215.1 kB / 3.216 GB, free: 73.66 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.2e-07/5.551, allocations: 4 kB / 3.216 GB, free: 73.66 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005987/5.552, allocations: 155.8 kB / 3.216 GB, free: 73.5 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.0009684/5.553, allocations: 0.7265 MB / 3.217 GB, free: 72.78 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002721/5.553, allocations: 166.1 kB / 3.217 GB, free: 72.62 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 2.534e-06/5.553, allocations: 0 / 3.217 GB, free: 72.62 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002733/5.553, allocations: 194.6 kB / 3.217 GB, free: 72.42 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009348/5.554, allocations: 198.3 kB / 3.218 GB, free: 72.23 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001095/5.555, allocations: 0.9413 MB / 3.219 GB, free: 71.26 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002919/5.556, allocations: 0.7924 MB / 3.219 GB, free: 70.44 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002597/5.556, allocations: 62.92 kB / 3.219 GB, free: 70.38 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.495e-05/5.556, allocations: 27.44 kB / 3.219 GB, free: 70.35 MB / 0.948 GB Notification: Performance of SimCode: time 2.344e-06/5.556, allocations: 0 / 3.219 GB, free: 70.35 MB / 0.948 GB Notification: Performance of Templates: time 0.02146/5.577, allocations: 14.96 MB / 3.234 GB, free: 55.46 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)