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.602/1.602, allocations: 289.7 MB / 302.3 MB, free: 2.16 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.001117/0.001117, allocations: 178.6 kB / 371.6 MB, free: 3.418 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.707/1.707, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.001057/0.001058, allocations: 90.42 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.192e-05/3.194e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2907, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.652/5.943, allocations: 2.069 GB / 3.049 GB, free: 126.8 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002192/5.943, allocations: 81.52 kB / 3.049 GB, free: 126.7 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9506/6.894, allocations: 164.1 MB / 3.21 GB, free: 200.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.793e-06/6.894, allocations: 0 / 3.21 GB, free: 200.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 2.54e-05/6.894, allocations: 7.781 kB / 3.21 GB, free: 200.4 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.0008981/6.895, allocations: 0.6166 MB / 3.21 GB, free: 200 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/6.895, allocations: 9.25 kB / 3.21 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000931/6.896, allocations: 134 kB / 3.21 GB, free: 200 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006049/6.896, allocations: 403.7 kB / 3.211 GB, free: 199.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/6.896, allocations: 18.38 kB / 3.211 GB, free: 199.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.021e-05/6.896, allocations: 26.53 kB / 3.211 GB, free: 199.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/6.897, allocations: 273.8 kB / 3.211 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.406e-05/6.897, allocations: 0 / 3.211 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.74e-05/6.897, allocations: 10.31 kB / 3.211 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.633e-05/6.897, allocations: 10.69 kB / 3.211 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/6.897, allocations: 184.8 kB / 3.211 GB, free: 199.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001427/6.899, allocations: 1.298 MB / 3.212 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003263/6.899, allocations: 190.8 kB / 3.213 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/6.899, allocations: 88.8 kB / 3.213 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/6.899, allocations: 0 / 3.213 GB, free: 198.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.937e-05/6.899, allocations: 41.12 kB / 3.213 GB, free: 198.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=19): time 1.062e-06/6.899, allocations: 0 / 3.213 GB, free: 198.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=19): time 0.0005155/6.9, allocations: 227.6 kB / 3.213 GB, free: 198.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.619e-05/6.9, allocations: 60.27 kB / 3.213 GB, free: 198.7 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002395/6.9, allocations: 264.7 kB / 3.213 GB, free: 198.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.124e-05/6.9, allocations: 29.64 kB / 3.213 GB, free: 198.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 9.379e-05/6.9, allocations: 196.3 kB / 3.214 GB, free: 198.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 5.145e-05/6.9, allocations: 71.06 kB / 3.214 GB, free: 198.4 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.347e-06/6.9, allocations: 7.156 kB / 3.214 GB, free: 198.4 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.3e-05/6.9, allocations: 344 kB / 3.214 GB, free: 198.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.558e-05/6.9, allocations: 57.78 kB / 3.214 GB, free: 198.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001097/6.9, allocations: 124.2 kB / 3.214 GB, free: 198.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/6.9, allocations: 81.69 kB / 3.214 GB, free: 198.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/6.9, allocations: 3 kB / 3.214 GB, free: 198.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002933/6.901, allocations: 237.1 kB / 3.214 GB, free: 198 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/6.901, allocations: 8.094 kB / 3.214 GB, free: 198 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/6.901, allocations: 0.9375 kB / 3.214 GB, free: 198 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/6.901, allocations: 3.031 kB / 3.214 GB, free: 198 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001792/6.901, allocations: 45.81 kB / 3.214 GB, free: 198 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.263e-05/6.901, allocations: 12.19 kB / 3.214 GB, free: 198 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002818/6.901, allocations: 33.05 kB / 3.214 GB, free: 198 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.388e-05/6.901, allocations: 10.34 kB / 3.215 GB, free: 198 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.132e-05/6.901, allocations: 113.5 kB / 3.215 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.236e-05/6.901, allocations: 27.59 kB / 3.215 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.558e-05/6.902, allocations: 37.25 kB / 3.215 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/6.902, allocations: 3.906 kB / 3.215 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/6.902, allocations: 0 / 3.215 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/6.902, allocations: 5.828 kB / 3.215 GB, free: 197.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/6.902, allocations: 407.8 kB / 3.215 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-06/6.902, allocations: 0.75 kB / 3.215 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001671/6.902, allocations: 36.94 kB / 3.215 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001941/6.902, allocations: 35.31 kB / 3.215 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.71e-05/6.902, allocations: 7.219 kB / 3.215 GB, free: 197.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008477/6.903, allocations: 1.407 MB / 3.217 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/6.903, allocations: 3.953 kB / 3.217 GB, free: 196.4 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/6.904, allocations: 411.5 kB / 3.217 GB, free: 196.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000115/6.904, allocations: 126 kB / 3.217 GB, free: 196.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.386e-05/6.904, allocations: 12.27 kB / 3.217 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002775/6.904, allocations: 17.12 kB / 3.217 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.905e-05/6.904, allocations: 11.5 kB / 3.217 GB, free: 196.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.494e-05/6.904, allocations: 9.375 kB / 3.217 GB, free: 196.1 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0001687/6.904, allocations: 208 kB / 3.217 GB, free: 196.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.904, allocations: 0 / 3.217 GB, free: 196.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0005558/6.905, allocations: 159.8 kB / 3.217 GB, free: 196.1 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.00076/6.906, allocations: 0.7048 MB / 3.218 GB, free: 195.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0002604/6.906, allocations: 162.4 kB / 3.218 GB, free: 195.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/6.906, allocations: 4.031 kB / 3.218 GB, free: 195.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.000244/6.906, allocations: 198.7 kB / 3.218 GB, free: 195.8 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008212/6.907, allocations: 181 kB / 3.219 GB, free: 195.8 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007947/6.908, allocations: 0.5508 MB / 3.219 GB, free: 195.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002178/6.908, allocations: 0.8055 MB / 3.22 GB, free: 194.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002339/6.908, allocations: 57.61 kB / 3.22 GB, free: 194.9 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.813e-05/6.908, allocations: 26.56 kB / 3.22 GB, free: 194.9 MB / 0.948 GB Notification: Performance of SimCode: time 3.01e-07/6.908, allocations: 0 / 3.22 GB, free: 194.9 MB / 0.948 GB Notification: Performance of Templates: time 0.02071/6.929, allocations: 16.68 MB / 3.236 GB, free: 193.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)