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.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.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.4-maint.8.1.x/package.mo): time 1.675/1.675, allocations: 292.6 MB / 307.6 MB, free: 5.219 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.00119/0.00119, allocations: 173 kB / 377.1 MB, free: 1.531 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.747/1.747, allocations: 205.4 MB / 0.6367 GB, free: 9.562 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.0008561/0.0008559, allocations: 89.03 kB / 0.751 GB, free: 62.51 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003483/0.0003484, allocations: 8 kB / 0.8748 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2897, allocations: 116.3 MB / 0.9884 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.212/5.501, allocations: 2.073 GB / 3.062 GB, free: 108.7 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004158/5.502, allocations: 88.28 kB / 3.062 GB, free: 108.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.9769/6.479, allocations: 170.1 MB / 3.228 GB, free: 239 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.423e-06/6.479, allocations: 0 / 3.228 GB, free: 239 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.111e-05/6.479, allocations: 10.06 kB / 3.228 GB, free: 239 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.001566/6.48, allocations: 0.8252 MB / 3.229 GB, free: 238.5 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.836e-05/6.48, allocations: 13.55 kB / 3.229 GB, free: 238.5 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009705/6.481, allocations: 152.2 kB / 3.229 GB, free: 238.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008294/6.482, allocations: 0.5081 MB / 3.229 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/6.482, allocations: 24.81 kB / 3.229 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.508e-05/6.482, allocations: 33.81 kB / 3.229 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005058/6.483, allocations: 312.5 kB / 3.23 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/6.483, allocations: 0 / 3.23 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.252e-05/6.483, allocations: 10.72 kB / 3.23 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.381e-05/6.483, allocations: 13.67 kB / 3.23 GB, free: 238.2 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003668/6.483, allocations: 222.6 kB / 3.23 GB, free: 238.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001751/6.485, allocations: 1.456 MB / 3.231 GB, free: 237.3 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003566/6.485, allocations: 228.1 kB / 3.231 GB, free: 237.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/6.485, allocations: 3.156 kB / 3.231 GB, free: 237.3 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002645/6.486, allocations: 156.3 kB / 3.232 GB, free: 237.2 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.603e-06/6.486, allocations: 4 kB / 3.232 GB, free: 237.2 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.002794/6.489, allocations: 1.169 MB / 3.233 GB, free: 236.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/6.489, allocations: 55.34 kB / 3.233 GB, free: 236.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004775/6.489, allocations: 414.5 kB / 3.233 GB, free: 236.7 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.251e-05/6.489, allocations: 32.92 kB / 3.233 GB, free: 236.6 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/6.489, allocations: 234.2 kB / 3.233 GB, free: 236.5 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 8.175e-05/6.489, allocations: 109.2 kB / 3.234 GB, free: 236.5 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.027e-05/6.489, allocations: 6.188 kB / 3.234 GB, free: 236.5 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001006/6.489, allocations: 358.3 kB / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002143/6.49, allocations: 139.9 kB / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/6.49, allocations: 200 kB / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002444/6.49, allocations: 171.5 kB / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/6.49, allocations: 0 / 3.234 GB, free: 236.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009244/6.491, allocations: 0.5045 MB / 3.235 GB, free: 236 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/6.491, allocations: 6.906 kB / 3.235 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.995e-06/6.491, allocations: 3.312 kB / 3.235 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003586/6.492, allocations: 82.39 kB / 3.235 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002929/6.492, allocations: 67.05 kB / 3.235 GB, free: 236 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/6.494, allocations: 1.798 MB / 3.237 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003605/6.494, allocations: 29.7 kB / 3.237 GB, free: 234.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.024e-05/6.494, allocations: 12.97 kB / 3.237 GB, free: 234.6 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.0002196/6.494, allocations: 194.2 kB / 3.237 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.226e-05/6.494, allocations: 42.28 kB / 3.237 GB, free: 234.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008467/6.495, allocations: 422.5 kB / 3.237 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.447e-06/6.495, allocations: 3.344 kB / 3.237 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/6.495, allocations: 3.953 kB / 3.237 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/6.495, allocations: 3.312 kB / 3.237 GB, free: 234.4 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001521/6.497, allocations: 1.042 MB / 3.239 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-06/6.497, allocations: 3.75 kB / 3.239 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004017/6.497, allocations: 66.61 kB / 3.239 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002944/6.497, allocations: 74.98 kB / 3.239 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.161e-05/6.497, allocations: 10.92 kB / 3.239 GB, free: 233.7 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001151/6.499, allocations: 1.571 MB / 3.24 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.724e-06/6.499, allocations: 3.125 kB / 3.24 GB, free: 232.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009343/6.5, allocations: 0.6178 MB / 3.241 GB, free: 231.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001872/6.5, allocations: 154.2 kB / 3.241 GB, free: 231.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.854e-05/6.5, allocations: 22.77 kB / 3.241 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003507/6.5, allocations: 13.92 kB / 3.241 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.411e-05/6.5, allocations: 24.86 kB / 3.241 GB, free: 231.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.536e-05/6.5, allocations: 13.5 kB / 3.241 GB, free: 231.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003081/6.501, allocations: 304.8 kB / 3.241 GB, free: 231.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.41e-07/6.501, allocations: 0 / 3.241 GB, free: 231.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008703/6.501, allocations: 191.1 kB / 3.241 GB, free: 231.5 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.001767/6.503, allocations: 1.038 MB / 3.243 GB, free: 231.1 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0009119/6.504, allocations: 470.3 kB / 3.243 GB, free: 230.9 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.038e-06/6.504, allocations: 3.938 kB / 3.243 GB, free: 230.9 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0002724/6.504, allocations: 257.9 kB / 3.243 GB, free: 230.7 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000945/6.505, allocations: 213.1 kB / 3.243 GB, free: 230.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001701/6.507, allocations: 1.281 MB / 3.245 GB, free: 229.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000317/6.507, allocations: 0.8628 MB / 3.246 GB, free: 229.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003263/6.508, allocations: 96.75 kB / 3.246 GB, free: 229.1 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-05/6.508, allocations: 35.78 kB / 3.246 GB, free: 229.1 MB / 0.948 GB Notification: Performance of SimCode: time 2.11e-07/6.508, allocations: 0 / 3.246 GB, free: 229.1 MB / 0.948 GB Notification: Performance of Templates: time 0.02981/6.538, allocations: 17.35 MB / 3.263 GB, free: 227.6 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)