Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.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.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.72/1.72, allocations: 285.6 MB / 293.1 MB, free: 10.23 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.001396/0.001396, allocations: 175.9 kB / 361.4 MB, free: 6.875 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.718/1.718, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.000791/0.000791, allocations: 97.06 kB / 0.733 GB, free: 44.19 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.692e-05/1.662e-05, allocations: 4 kB / 0.8517 GB, free: 2.742 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7577/0.7578, allocations: 115.3 MB / 0.9644 GB, free: 78.93 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.96/5.718, allocations: 2.072 GB / 3.036 GB, free: 90.23 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/5.718, allocations: 79.95 kB / 3.036 GB, free: 90.16 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 0.8551/6.573, allocations: 167.9 MB / 3.2 GB, free: 298.4 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.286e-06/6.574, allocations: 0 / 3.2 GB, free: 298.4 MB / 0.948 GB Notification: Performance of Transformations before backend: time 4.759e-05/6.574, allocations: 13.91 kB / 3.2 GB, free: 298.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: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001455/6.575, allocations: 0.7292 MB / 3.201 GB, free: 297.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.7e-05/6.575, allocations: 10.88 kB / 3.201 GB, free: 297.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001091/6.576, allocations: 148.4 kB / 3.201 GB, free: 297.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009014/6.577, allocations: 0.5012 MB / 3.201 GB, free: 297.3 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.496e-05/6.577, allocations: 6.531 kB / 3.201 GB, free: 297.3 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.217e-05/6.577, allocations: 24.92 kB / 3.201 GB, free: 297.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003459/6.578, allocations: 196 kB / 3.202 GB, free: 297.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004178/6.578, allocations: 267.3 kB / 3.202 GB, free: 297.1 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.905e-05/6.578, allocations: 7.938 kB / 3.202 GB, free: 297.1 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.03e-05/6.578, allocations: 3.219 kB / 3.202 GB, free: 297.1 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.418e-05/6.578, allocations: 12.17 kB / 3.202 GB, free: 297.1 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001675/6.58, allocations: 1.391 MB / 3.203 GB, free: 295.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002898/6.58, allocations: 213.8 kB / 3.203 GB, free: 295.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001583/6.58, allocations: 98.97 kB / 3.204 GB, free: 295.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 1.986e-05/6.58, allocations: 3.688 kB / 3.204 GB, free: 295.7 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002286/6.581, allocations: 149 kB / 3.204 GB, free: 295.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=26): time 1.934e-06/6.581, allocations: 4 kB / 3.204 GB, free: 295.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=30): time 0.002284/6.583, allocations: 1.002 MB / 3.205 GB, free: 294.9 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/6.583, allocations: 54.72 kB / 3.205 GB, free: 294.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003823/6.583, allocations: 391.5 kB / 3.205 GB, free: 294.6 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 2.89e-05/6.583, allocations: 25.7 kB / 3.205 GB, free: 294.5 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001214/6.583, allocations: 224.6 kB / 3.205 GB, free: 294.3 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 7.223e-05/6.584, allocations: 104.9 kB / 3.205 GB, free: 294.3 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.831e-05/6.584, allocations: 0 / 3.205 GB, free: 294.3 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.31e-05/6.584, allocations: 357.5 kB / 3.206 GB, free: 293.9 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001695/6.584, allocations: 132.9 kB / 3.206 GB, free: 293.8 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000196/6.584, allocations: 184.2 kB / 3.206 GB, free: 293.7 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003174/6.584, allocations: 166.5 kB / 3.206 GB, free: 293.6 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/6.584, allocations: 3.625 kB / 3.206 GB, free: 293.6 MB / 0.948 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008555/6.585, allocations: 479.7 kB / 3.207 GB, free: 293.4 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/6.585, allocations: 4.75 kB / 3.207 GB, free: 293.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/6.585, allocations: 0.8438 kB / 3.207 GB, free: 293.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003234/6.586, allocations: 86.19 kB / 3.207 GB, free: 293.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002788/6.586, allocations: 70.34 kB / 3.207 GB, free: 293.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001478/6.587, allocations: 1.686 MB / 3.208 GB, free: 291.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003465/6.588, allocations: 25.11 kB / 3.208 GB, free: 291.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.789e-05/6.588, allocations: 9.969 kB / 3.209 GB, free: 291.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.0001039/6.588, allocations: 116.6 kB / 3.209 GB, free: 291.6 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.022e-05/6.588, allocations: 46.98 kB / 3.209 GB, free: 291.6 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007807/6.589, allocations: 389.1 kB / 3.209 GB, free: 291.4 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.197e-06/6.589, allocations: 4.562 kB / 3.209 GB, free: 291.4 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.006e-06/6.589, allocations: 4 kB / 3.209 GB, free: 291.3 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.125e-06/6.589, allocations: 11.88 kB / 3.209 GB, free: 291.3 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001427/6.59, allocations: 0.9516 MB / 3.21 GB, free: 290.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/6.59, allocations: 32 / 3.21 GB, free: 290.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002827/6.591, allocations: 59.28 kB / 3.21 GB, free: 290.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004474/6.591, allocations: 105.8 kB / 3.21 GB, free: 290.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.651e-05/6.591, allocations: 5.531 kB / 3.21 GB, free: 290.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001387/6.592, allocations: 1.658 MB / 3.212 GB, free: 289 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.845e-06/6.592, allocations: 0 / 3.212 GB, free: 289 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009189/6.593, allocations: 0.593 MB / 3.212 GB, free: 288.6 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001817/6.594, allocations: 156.3 kB / 3.212 GB, free: 288.4 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.18e-05/6.594, allocations: 7.375 kB / 3.212 GB, free: 288.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003449/6.594, allocations: 20.52 kB / 3.213 GB, free: 288.4 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.848e-05/6.594, allocations: 17.94 kB / 3.213 GB, free: 288.4 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.907e-05/6.594, allocations: 14.05 kB / 3.213 GB, free: 288.4 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0003235/6.594, allocations: 281.4 kB / 3.213 GB, free: 288.2 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.4e-07/6.594, allocations: 0 / 3.213 GB, free: 288.2 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.0008609/6.595, allocations: 174.4 kB / 3.213 GB, free: 288.2 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.001972/6.597, allocations: 1.073 MB / 3.214 GB, free: 287.7 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.0008616/6.598, allocations: 418.9 kB / 3.214 GB, free: 287.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/6.598, allocations: 4.062 kB / 3.214 GB, free: 287.5 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0004157/6.599, allocations: 264 kB / 3.215 GB, free: 287.3 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001062/6.6, allocations: 214.8 kB / 3.215 GB, free: 287.2 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001385/6.601, allocations: 0.7445 MB / 3.216 GB, free: 286.7 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003656/6.601, allocations: 0.863 MB / 3.216 GB, free: 285.9 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0003985/6.602, allocations: 91.86 kB / 3.217 GB, free: 285.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.943e-05/6.602, allocations: 35.84 kB / 3.217 GB, free: 285.8 MB / 0.948 GB Notification: Performance of SimCode: time 5.71e-07/6.602, allocations: 0 / 3.217 GB, free: 285.8 MB / 0.948 GB Notification: Performance of Templates: time 0.01752/6.62, allocations: 11.78 MB / 3.228 GB, free: 279.9 MB / 0.948 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)