Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.694/2.694, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001895/0.001895, allocations: 179.8 kB / 325.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.442/2.442, allocations: 205.4 MB / 0.5767 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009083/0.000908, allocations: 89.83 kB / 0.6812 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005351/0.0005354, allocations: 8.625 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2167, allocations: 106.3 MB / 0.899 GB, free: 65.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 1.033/1.249, allocations: 190.7 MB / 1.085 GB, free: 2.07 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.03803/1.287, allocations: 18.45 MB / 1.103 GB, free: 0.6641 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003934/1.291, allocations: 71.59 kB / 1.103 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004974/1.296, allocations: 0.905 MB / 1.104 GB, free: 364 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01201/1.309, allocations: 2.64 MB / 1.107 GB, free: 15.69 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0134/1.322, allocations: 2.802 MB / 1.11 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02004/1.342, allocations: 11.47 MB / 1.121 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008391/1.35, allocations: 3.078 MB / 1.124 GB, free: 13.22 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00873/1.359, allocations: 2.842 MB / 1.127 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007804/1.367, allocations: 2.687 MB / 1.129 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001735/1.369, allocations: 150 kB / 1.129 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009237/1.378, allocations: 1.574 MB / 1.131 GB, free: 10.71 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.002758/1.381, allocations: 0.8881 MB / 1.132 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.00262/1.384, allocations: 0.7708 MB / 1.132 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.01119/1.395, allocations: 5.191 MB / 1.138 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/1.395, allocations: 0 / 1.138 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.565e-06/1.395, allocations: 0 / 1.138 GB, free: 7.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0002205/1.395, allocations: 0 / 1.138 GB, free: 7.391 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 588 * Number of variables: 588 Notification: Performance of Generate backend data structure: time 0.01397/1.409, allocations: 3.846 MB / 1.141 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.504e-05/1.409, allocations: 9.094 kB / 1.141 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01005/1.419, allocations: 0.9637 MB / 1.142 GB, free: 4.676 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01433/1.434, allocations: 3.778 MB / 1.146 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002664/1.434, allocations: 186.9 kB / 1.146 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/1.435, allocations: 248.2 kB / 1.146 GB, free: 3.184 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01032/1.445, allocations: 3.177 MB / 1.149 GB, free: 2.129 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001115/1.446, allocations: 10.81 kB / 1.149 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004326/1.446, allocations: 97.75 kB / 1.15 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001485/1.446, allocations: 100.8 kB / 1.15 GB, free: 2.105 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009389/1.456, allocations: 2.645 MB / 1.152 GB, free: 1.594 MB / 0.7136 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03814/1.494, allocations: 13.23 MB / 1.165 GB, free: 9.77 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005413/1.499, allocations: 2.153 MB / 1.167 GB, free: 9.004 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002893/1.502, allocations: 0.9514 MB / 1.168 GB, free: 8.848 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01928/1.522, allocations: 4.519 MB / 1.173 GB, free: 6.426 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002962/1.525, allocations: 0.9115 MB / 1.173 GB, free: 5.816 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002132/1.527, allocations: 175.2 kB / 1.174 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=130): time 8.627e-06/1.527, allocations: 0 / 1.174 GB, free: 5.668 MB / 0.7292 GB Notification: Performance of matching and sorting (n=134): time 0.0228/1.55, allocations: 5.467 MB / 1.179 GB, free: 1.309 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001066/1.55, allocations: 145.8 kB / 1.179 GB, free: 1.137 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007457/1.557, allocations: 2.919 MB / 1.182 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0006435/1.558, allocations: 64.8 kB / 1.182 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.002427/1.56, allocations: 1.521 MB / 1.184 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009825/1.562, allocations: 486.2 kB / 1.184 GB, free: 13.68 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000255/1.562, allocations: 39.5 kB / 1.184 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000234/1.562, allocations: 383.6 kB / 1.184 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004238/1.566, allocations: 0.9851 MB / 1.185 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004964/1.571, allocations: 1.589 MB / 1.187 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004815/1.576, allocations: 1.219 MB / 1.188 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.486e-05/1.576, allocations: 8 kB / 1.188 GB, free: 10.35 MB / 0.7448 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01672/1.593, allocations: 3.391 MB / 1.191 GB, free: 7.766 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005427/1.594, allocations: 0.545 MB / 1.192 GB, free: 7.062 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.996e-05/1.594, allocations: 16 kB / 1.192 GB, free: 7.047 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01366/1.607, allocations: 1.179 MB / 1.193 GB, free: 5.961 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004337/1.612, allocations: 481.9 kB / 1.194 GB, free: 5.504 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/1.622, allocations: 3.151 MB / 1.197 GB, free: 2.602 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00596/1.628, allocations: 258 kB / 1.197 GB, free: 2.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006211/1.629, allocations: 98.7 kB / 1.197 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/1.629, allocations: 4 kB / 1.197 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01373/1.642, allocations: 3.044 MB / 1.2 GB, free: 92 kB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.04e-05/1.642, allocations: 16 kB / 1.2 GB, free: 76 kB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01325/1.656, allocations: 1.218 MB / 1.201 GB, free: 14.96 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00403/1.66, allocations: 459.3 kB / 1.202 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01019/1.67, allocations: 3.16 MB / 1.205 GB, free: 11.6 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005245/1.675, allocations: 233.5 kB / 1.205 GB, free: 11.41 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006351/1.676, allocations: 96.22 kB / 1.205 GB, free: 11.33 MB / 0.7605 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled,$PRE.hysPum.y,hysPum.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (241): * Single equations (assignments): 236 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {4 7} Notification: Performance of prepare postOptimizeDAE: time 0.00331/1.679, allocations: 1.088 MB / 1.206 GB, free: 10.58 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001257/1.681, allocations: 308.2 kB / 1.206 GB, free: 10.27 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007899/1.689, allocations: 2.298 MB / 1.209 GB, free: 8.648 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.983e-05/1.689, allocations: 19.98 kB / 1.209 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.689, allocations: 0 / 1.209 GB, free: 8.629 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006219/1.695, allocations: 1.993 MB / 1.211 GB, free: 7.086 MB / 0.7605 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01593/1.711, allocations: 5.056 MB / 1.216 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-05/1.711, allocations: 0 / 1.216 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00313/1.714, allocations: 305.5 kB / 1.216 GB, free: 3.234 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001433/1.716, allocations: 272.5 kB / 1.216 GB, free: 3.004 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003321/1.716, allocations: 48.22 kB / 1.216 GB, free: 2.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009589/1.726, allocations: 8.663 MB / 1.225 GB, free: 10.18 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.348e-06/1.726, allocations: 7.875 kB / 1.225 GB, free: 10.17 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/1.736, allocations: 3.198 MB / 1.228 GB, free: 7.852 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002553/1.738, allocations: 0.6036 MB / 1.228 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.74, allocations: 36.23 kB / 1.228 GB, free: 7.336 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004435/1.744, allocations: 152.7 kB / 1.228 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005539/1.745, allocations: 106 kB / 1.229 GB, free: 7.113 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002911/1.745, allocations: 69.78 kB / 1.229 GB, free: 7.059 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.005276/1.75, allocations: 1.972 MB / 1.231 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.71e-07/1.75, allocations: 0 / 1.231 GB, free: 5.652 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00898/1.759, allocations: 1.593 MB / 1.232 GB, free: 4.168 MB / 0.7761 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 12 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T,rad.vol[1].dynBal.U,rad.vol[2].dynBal.U,rad.vol[3].dynBal.U,rad.vol[4].dynBal.U,rad.vol[5].dynBal.U,temSup.T,pumRad.vol.dynBal.U,pumRad.filter.x[1],pumRad.filter.x[2]) * Number of discrete variables: 4 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled,hysPum.y) * Number of discrete states: 3 (timTab.tab.nextTimeEvent,hysPum.y,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 126 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(1,100.0%) 3,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003267/1.763, allocations: 0.8591 MB / 1.233 GB, free: 3.543 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.02073/1.783, allocations: 4.346 MB / 1.237 GB, free: 160 kB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.562e-05/1.783, allocations: 448 / 1.237 GB, free: 156 kB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.003976/1.787, allocations: 1.591 MB / 1.239 GB, free: 14.77 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01437/1.802, allocations: 1.681 MB / 1.24 GB, free: 13.38 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02005/1.822, allocations: 7.8 MB / 1.248 GB, free: 6.305 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003759/1.826, allocations: 2.386 MB / 1.25 GB, free: 4.129 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 0.00716/1.833, allocations: 1.095 MB / 1.251 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001564/1.835, allocations: 244.6 kB / 1.252 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of SimCode: time 1.863e-06/1.835, allocations: 0 / 1.252 GB, free: 2.801 MB / 0.7917 GB Notification: Performance of Templates: time 0.1859/2.021, allocations: 70.11 MB / 1.32 GB, free: 13.12 MB / 0.8698 GB make -j1 -f Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)