Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.716/1.716, allocations: 293 MB / 309 MB, free: 4.809 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.000882/0.0008819, allocations: 179.2 kB / 378.7 MB, free: 1.02 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.453/1.453, allocations: 205.4 MB / 0.6383 GB, free: 9.176 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.0007622/0.0007619, allocations: 94.3 kB / 0.7527 GB, free: 62.35 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003755/0.0003758, allocations: 16 kB / 0.8768 GB, free: 10.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2542, allocations: 116.4 MB / 0.9904 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.411/5.665, allocations: 2.073 GB / 3.064 GB, free: 143.3 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003823/5.666, allocations: 92.39 kB / 3.064 GB, free: 143.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.084/6.75, allocations: 168.3 MB / 3.228 GB, free: 229.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.284e-06/6.75, allocations: 0 / 3.228 GB, free: 229.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 7.257e-05/6.75, allocations: 14.34 kB / 3.228 GB, free: 229.6 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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.002137/6.752, allocations: 0.8229 MB / 3.229 GB, free: 229.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/6.753, allocations: 13.06 kB / 3.229 GB, free: 229.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001175/6.754, allocations: 145.5 kB / 3.229 GB, free: 229 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001263/6.755, allocations: 0.5226 MB / 3.23 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.086e-05/6.755, allocations: 22.16 kB / 3.23 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.008e-05/6.755, allocations: 31.44 kB / 3.23 GB, free: 228.8 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006149/6.756, allocations: 318.7 kB / 3.23 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.561e-05/6.756, allocations: 8.469 kB / 3.23 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.71e-05/6.756, allocations: 9.625 kB / 3.23 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.409e-05/6.756, allocations: 13.89 kB / 3.23 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004419/6.756, allocations: 220.2 kB / 3.23 GB, free: 228.7 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002269/6.759, allocations: 1.461 MB / 3.232 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000441/6.759, allocations: 225.8 kB / 3.232 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002166/6.759, allocations: 107.4 kB / 3.232 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.425e-05/6.759, allocations: 9.359 kB / 3.232 GB, free: 227.9 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003333/6.76, allocations: 168 kB / 3.232 GB, free: 227.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.425e-06/6.76, allocations: 1.25 kB / 3.232 GB, free: 227.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003031/6.763, allocations: 1.154 MB / 3.233 GB, free: 227.5 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/6.763, allocations: 65.78 kB / 3.233 GB, free: 227.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006135/6.763, allocations: 464.2 kB / 3.234 GB, free: 227.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/6.763, allocations: 29.14 kB / 3.234 GB, free: 227.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001665/6.764, allocations: 230.2 kB / 3.234 GB, free: 227.2 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 9.691e-05/6.764, allocations: 107.7 kB / 3.234 GB, free: 227.1 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.252e-05/6.764, allocations: 7.406 kB / 3.234 GB, free: 227.1 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001106/6.764, allocations: 353.2 kB / 3.235 GB, free: 226.8 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000252/6.764, allocations: 145.8 kB / 3.235 GB, free: 226.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/6.764, allocations: 201.2 kB / 3.235 GB, free: 226.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004776/6.765, allocations: 332.4 kB / 3.235 GB, free: 226.7 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/6.765, allocations: 0 / 3.235 GB, free: 226.7 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009928/6.766, allocations: 0.5042 MB / 3.236 GB, free: 226.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/6.766, allocations: 6.5 kB / 3.236 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.385e-06/6.766, allocations: 3.219 kB / 3.236 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003629/6.766, allocations: 82.28 kB / 3.236 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000307/6.767, allocations: 78.98 kB / 3.236 GB, free: 226.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001644/6.768, allocations: 1.769 MB / 3.238 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004334/6.769, allocations: 36.64 kB / 3.238 GB, free: 225.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.357e-05/6.769, allocations: 15.66 kB / 3.238 GB, free: 225.3 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * 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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002582/6.769, allocations: 199.7 kB / 3.238 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/6.769, allocations: 49.23 kB / 3.238 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000813/6.77, allocations: 420.8 kB / 3.238 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/6.77, allocations: 3.188 kB / 3.238 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/6.77, allocations: 0 / 3.238 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.511e-06/6.77, allocations: 0 / 3.238 GB, free: 225.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001512/6.772, allocations: 1.028 MB / 3.239 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/6.772, allocations: 3.312 kB / 3.239 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003705/6.772, allocations: 73.27 kB / 3.239 GB, free: 224.8 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002729/6.772, allocations: 72.53 kB / 3.239 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.737e-05/6.772, allocations: 15.75 kB / 3.239 GB, free: 224.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001154/6.773, allocations: 1.56 MB / 3.241 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/6.773, allocations: 0 / 3.241 GB, free: 223.5 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009429/6.774, allocations: 0.6061 MB / 3.242 GB, free: 223.3 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001687/6.775, allocations: 157.4 kB / 3.242 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.919e-05/6.775, allocations: 11.06 kB / 3.242 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003288/6.775, allocations: 20.14 kB / 3.242 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.462e-05/6.775, allocations: 21.83 kB / 3.242 GB, free: 223.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.612e-05/6.775, allocations: 13.58 kB / 3.242 GB, free: 223.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003178/6.775, allocations: 303.3 kB / 3.242 GB, free: 223.1 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.775, allocations: 0.75 kB / 3.242 GB, free: 223.1 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0007886/6.776, allocations: 212.4 kB / 3.242 GB, free: 223.1 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001814/6.778, allocations: 1.054 MB / 3.243 GB, free: 222.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009218/6.779, allocations: 473.9 kB / 3.244 GB, free: 222.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/6.779, allocations: 0 / 3.244 GB, free: 222.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002849/6.779, allocations: 258.6 kB / 3.244 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/6.78, allocations: 222 kB / 3.244 GB, free: 222.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/6.782, allocations: 1.288 MB / 3.245 GB, free: 222.1 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/6.782, allocations: 0.8522 MB / 3.246 GB, free: 221.4 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003975/6.783, allocations: 82.86 kB / 3.246 GB, free: 221.4 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.471e-05/6.783, allocations: 39.06 kB / 3.246 GB, free: 221.4 MB / 0.948 GB Notification: Performance of SimCode: time 3.3e-07/6.783, allocations: 0 / 3.246 GB, free: 221.4 MB / 0.948 GB Notification: Performance of Templates: time 0.02543/6.808, allocations: 17.7 MB / 3.264 GB, free: 220.3 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_8_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)