Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.524/2.524, allocations: 285 MB / 292.5 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002041/0.002041, allocations: 184.8 kB / 360.7 MB, free: 7.258 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.947/1.947, allocations: 205.3 MB / 0.6193 GB, free: 12.12 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001094/0.001093, allocations: 93.17 kB / 0.7322 GB, free: 44.68 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.631e-05/1.631e-05, allocations: 0 / 0.8509 GB, free: 3.375 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7965/0.7965, allocations: 115.2 MB / 0.9634 GB, free: 78.67 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.776/6.572, allocations: 2.071 GB / 3.035 GB, free: 47.11 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/6.573, allocations: 86.27 kB / 3.035 GB, free: 47.06 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.189/7.762, allocations: 167.9 MB / 3.199 GB, free: 272.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.382e-06/7.762, allocations: 0 / 3.199 GB, free: 272.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 5.086e-05/7.762, allocations: 8 kB / 3.199 GB, free: 272.9 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.001428/7.763, allocations: 0.7399 MB / 3.2 GB, free: 272.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.333e-05/7.763, allocations: 8.031 kB / 3.2 GB, free: 272.1 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00136/7.765, allocations: 155.2 kB / 3.2 GB, free: 271.9 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001221/7.766, allocations: 0.4928 MB / 3.2 GB, free: 271.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.827e-05/7.766, allocations: 15.94 kB / 3.2 GB, free: 271.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.088e-05/7.766, allocations: 16.52 kB / 3.2 GB, free: 271.4 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005121/7.767, allocations: 197 kB / 3.2 GB, free: 271.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/7.767, allocations: 278.5 kB / 3.201 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/7.767, allocations: 0 / 3.201 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.168e-05/7.767, allocations: 4 kB / 3.201 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/7.767, allocations: 8.562 kB / 3.201 GB, free: 270.9 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00243/7.77, allocations: 1.388 MB / 3.202 GB, free: 269.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004147/7.77, allocations: 213 kB / 3.202 GB, free: 269.1 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002003/7.77, allocations: 96.84 kB / 3.202 GB, free: 269 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 3.246e-05/7.771, allocations: 12 kB / 3.202 GB, free: 269 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/7.771, allocations: 153.4 kB / 3.203 GB, free: 268.9 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 2.795e-06/7.771, allocations: 0 / 3.203 GB, free: 268.9 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.003711/7.775, allocations: 0.9992 MB / 3.204 GB, free: 267.8 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.836e-05/7.775, allocations: 55.36 kB / 3.204 GB, free: 267.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005952/7.775, allocations: 381.2 kB / 3.204 GB, free: 267.4 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 3.899e-05/7.775, allocations: 29.7 kB / 3.204 GB, free: 267.3 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000176/7.776, allocations: 232.5 kB / 3.204 GB, free: 267.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001036/7.776, allocations: 102.4 kB / 3.204 GB, free: 267 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.889e-05/7.776, allocations: 0 / 3.204 GB, free: 267 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001057/7.776, allocations: 358.8 kB / 3.205 GB, free: 266.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002768/7.776, allocations: 128.8 kB / 3.205 GB, free: 266.5 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003091/7.776, allocations: 190.5 kB / 3.205 GB, free: 266.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004959/7.777, allocations: 167.4 kB / 3.205 GB, free: 266.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/7.777, allocations: 0 / 3.205 GB, free: 266.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.001425/7.778, allocations: 481.2 kB / 3.206 GB, free: 265.7 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/7.778, allocations: 8 kB / 3.206 GB, free: 265.7 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/7.778, allocations: 3.938 kB / 3.206 GB, free: 265.7 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005065/7.779, allocations: 84.92 kB / 3.206 GB, free: 265.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005196/7.779, allocations: 69.97 kB / 3.206 GB, free: 265.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002151/7.782, allocations: 1.693 MB / 3.207 GB, free: 263.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006891/7.782, allocations: 16 kB / 3.207 GB, free: 263.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.434e-05/7.782, allocations: 16 kB / 3.207 GB, free: 263.7 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 () * 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 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000145/7.783, allocations: 122 kB / 3.208 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.8e-05/7.783, allocations: 39.53 kB / 3.208 GB, free: 263.5 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00121/7.784, allocations: 396.7 kB / 3.208 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.129e-06/7.784, allocations: 4 kB / 3.208 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/7.784, allocations: 4 kB / 3.208 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.372e-06/7.784, allocations: 3.938 kB / 3.208 GB, free: 263.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002139/7.786, allocations: 0.9494 MB / 3.209 GB, free: 262.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/7.786, allocations: 48 / 3.209 GB, free: 262.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/7.787, allocations: 67.89 kB / 3.209 GB, free: 262 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007519/7.787, allocations: 108.7 kB / 3.209 GB, free: 261.9 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.886e-05/7.787, allocations: 12.11 kB / 3.209 GB, free: 261.9 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00199/7.789, allocations: 1.646 MB / 3.211 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/7.79, allocations: 4.062 kB / 3.211 GB, free: 260.1 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001399/7.791, allocations: 0.5815 MB / 3.211 GB, free: 259.5 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/7.791, allocations: 164.5 kB / 3.211 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/7.791, allocations: 4 kB / 3.211 GB, free: 259.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006188/7.792, allocations: 11.98 kB / 3.211 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.927e-05/7.792, allocations: 19.97 kB / 3.211 GB, free: 259.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.784e-05/7.792, allocations: 8.938 kB / 3.211 GB, free: 259.3 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.00042/7.793, allocations: 282.9 kB / 3.212 GB, free: 259 MB / 0.948 GB Notification: Performance of sort global known variables: time 4.91e-07/7.793, allocations: 4 kB / 3.212 GB, free: 259 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.001023/7.794, allocations: 183.8 kB / 3.212 GB, free: 258.9 MB / 0.948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.hOut_internal,vol.dynBal.medium.Xi[1],vol.dynBal.m) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001953/7.796, allocations: 1.062 MB / 3.213 GB, free: 257.9 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.001202/7.797, allocations: 429.5 kB / 3.213 GB, free: 257.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/7.797, allocations: 0 / 3.213 GB, free: 257.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0006472/7.797, allocations: 261.6 kB / 3.214 GB, free: 257.2 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001784/7.799, allocations: 214.1 kB / 3.214 GB, free: 257 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/7.801, allocations: 0.7471 MB / 3.215 GB, free: 256.2 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/7.801, allocations: 0.862 MB / 3.215 GB, free: 255.3 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0006046/7.802, allocations: 88.31 kB / 3.215 GB, free: 255.3 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001518/7.802, allocations: 39.42 kB / 3.215 GB, free: 255.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.032e-06/7.802, allocations: 7.938 kB / 3.216 GB, free: 255.2 MB / 0.948 GB Notification: Performance of Templates: time 0.02857/7.831, allocations: 11.76 MB / 3.227 GB, free: 243.5 MB / 0.948 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)