Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001727/0.001727, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002398/0.002398, allocations: 191.5 kB / 16.13 MB, free: 6.703 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.932/2.932, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002535/0.002536, allocations: 66.78 kB / 0.9113 GB, free: 33.71 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3564, allocations: 159.9 MB / 1.068 GB, free: 10.97 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.1908/0.5472, allocations: 160.7 MB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.006735/0.554, allocations: 3.522 MB / 1.228 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007588/0.5548, allocations: 15.88 kB / 1.228 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0009646/0.5558, allocations: 239 kB / 1.228 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002255/0.5581, allocations: 0.7975 MB / 1.229 GB, free: 5.113 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001244/0.5593, allocations: 434.7 kB / 1.229 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.001636/0.561, allocations: 1.37 MB / 1.231 GB, free: 3.32 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004059/0.5614, allocations: 290.8 kB / 1.231 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005942/0.562, allocations: 350.4 kB / 1.231 GB, free: 2.691 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008666/0.5629, allocations: 348.4 kB / 1.232 GB, free: 2.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.875e-05/0.563, allocations: 23.94 kB / 1.232 GB, free: 2.328 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001397/0.5644, allocations: 0.791 MB / 1.232 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001864/0.5646, allocations: 151.5 kB / 1.233 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002973/0.5649, allocations: 250.6 kB / 1.233 GB, free: 1.141 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001261/0.5661, allocations: 0.9542 MB / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.5662, allocations: 0 / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5662, allocations: 0 / 1.234 GB, free: 188 kB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.388e-06/0.5662, allocations: 4 kB / 1.234 GB, free: 184 kB / 0.9825 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.001461/0.5677, allocations: 0.864 MB / 1.235 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.642e-05/0.5677, allocations: 12.03 kB / 1.235 GB, free: 15.25 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001093/0.5688, allocations: 151.2 kB / 1.235 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007432/0.5696, allocations: 496.9 kB / 1.235 GB, free: 14.58 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.905e-05/0.5696, allocations: 20.56 kB / 1.235 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.161e-05/0.5697, allocations: 32 kB / 1.235 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.5703, allocations: 319.6 kB / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.5703, allocations: 0 / 1.236 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.458e-05/0.5703, allocations: 12 kB / 1.236 GB, free: 14.2 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.369e-05/0.5704, allocations: 16.56 kB / 1.236 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004274/0.5708, allocations: 218.1 kB / 1.236 GB, free: 13.97 MB / 0.9981 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.001943/0.5728, allocations: 1.418 MB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004278/0.5732, allocations: 224.5 kB / 1.237 GB, free: 12.19 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001885/0.5734, allocations: 108.8 kB / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.82e-05/0.5734, allocations: 448 / 1.237 GB, free: 12.08 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003205/0.5738, allocations: 169.6 kB / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=26): time 1.573e-06/0.5738, allocations: 0 / 1.238 GB, free: 11.9 MB / 0.9981 GB Notification: Performance of matching and sorting (n=29): time 0.002893/0.5767, allocations: 1.085 MB / 1.239 GB, free: 10.76 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.998e-05/0.5767, allocations: 59.34 kB / 1.239 GB, free: 10.69 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005471/0.5773, allocations: 461.8 kB / 1.239 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.53e-05/0.5773, allocations: 33.7 kB / 1.239 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001793/0.5775, allocations: 244.2 kB / 1.239 GB, free: 9.949 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 8.905e-05/0.5776, allocations: 98.55 kB / 1.24 GB, free: 9.852 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001241/0.5777, allocations: 78.06 kB / 1.24 GB, free: 9.77 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.5779, allocations: 358.8 kB / 1.24 GB, free: 9.41 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002291/0.5781, allocations: 120.7 kB / 1.24 GB, free: 9.293 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.5784, allocations: 186.8 kB / 1.24 GB, free: 9.094 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004783/0.5789, allocations: 303.9 kB / 1.241 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.5789, allocations: 0 / 1.241 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009997/0.5799, allocations: 0.49 MB / 1.241 GB, free: 8.281 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.5799, allocations: 7.938 kB / 1.241 GB, free: 8.273 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.864e-06/0.5799, allocations: 4 kB / 1.241 GB, free: 8.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003618/0.5803, allocations: 80.8 kB / 1.241 GB, free: 8.188 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002818/0.5806, allocations: 68.03 kB / 1.241 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001751/0.5824, allocations: 1.721 MB / 1.243 GB, free: 6.266 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000373/0.5828, allocations: 20.02 kB / 1.243 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.43e-05/0.5828, allocations: 12 kB / 1.243 GB, free: 6.234 MB / 0.9981 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 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,timTab.tab.nextTimeEventScaled,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000252/0.5831, allocations: 200 kB / 1.243 GB, free: 6.031 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.45e-05/0.5832, allocations: 51.5 kB / 1.243 GB, free: 5.98 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.5833, allocations: 56.56 kB / 1.243 GB, free: 5.922 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.5833, allocations: 4 kB / 1.243 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/0.5833, allocations: 0 / 1.243 GB, free: 5.918 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.5833, allocations: 3.984 kB / 1.243 GB, free: 5.914 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.5849, allocations: 0.9685 MB / 1.244 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.585e-06/0.5849, allocations: 128 / 1.244 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003995/0.5853, allocations: 75.89 kB / 1.244 GB, free: 4.812 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003059/0.5856, allocations: 72.8 kB / 1.244 GB, free: 4.738 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.221e-05/0.5857, allocations: 11.98 kB / 1.244 GB, free: 4.727 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.5871, allocations: 1.542 MB / 1.246 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.5871, allocations: 4.062 kB / 1.246 GB, free: 3.047 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.5881, allocations: 0.5699 MB / 1.246 GB, free: 2.457 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001755/0.5883, allocations: 152.5 kB / 1.246 GB, free: 2.289 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.086e-05/0.5884, allocations: 8 kB / 1.246 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003468/0.5888, allocations: 19.98 kB / 1.247 GB, free: 2.262 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.8e-05/0.5888, allocations: 23.97 kB / 1.247 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.712e-05/0.5889, allocations: 8 kB / 1.247 GB, free: 2.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0003644/0.5892, allocations: 307.1 kB / 1.247 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5892, allocations: 0 / 1.247 GB, free: 1.93 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005236/0.5898, allocations: 124 kB / 1.247 GB, free: 1.809 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (26): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.5908, allocations: 446.1 kB / 1.247 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008161/0.5916, allocations: 426.6 kB / 1.248 GB, free: 1.098 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.5917, allocations: 4 kB / 1.248 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.592, allocations: 238.6 kB / 1.248 GB, free: 0.8477 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001149/0.5932, allocations: 240.2 kB / 1.248 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4906/1.084, allocations: 1.15 MB / 1.249 GB, free: 184.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004389/1.084, allocations: 0.8484 MB / 1.25 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0005329/1.085, allocations: 82.75 kB / 1.25 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001323/1.085, allocations: 37.09 kB / 1.25 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of SimCode: time 7.62e-07/1.085, allocations: 0 / 1.25 GB, free: 184.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.01903/1.104, allocations: 8.453 MB / 1.259 GB, free: 183.9 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)