Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.08/3.08, allocations: 287.5 MB / 302.4 MB, free: 8.359 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.001295/0.001295, allocations: 186.9 kB / 371 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.08/2.08, allocations: 205.4 MB / 0.6297 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009746/0.0009742, allocations: 90.3 kB / 0.743 GB, free: 6.609 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005414/0.0005418, allocations: 12 kB / 0.8658 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2318, allocations: 115.3 MB / 0.9783 GB, free: 28.38 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 1.014/1.246, allocations: 190.6 MB / 1.164 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.04547/1.291, allocations: 18.51 MB / 1.183 GB, free: 2.039 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004652/1.296, allocations: 73.53 kB / 1.183 GB, free: 2.008 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.005363/1.302, allocations: 0.9119 MB / 1.184 GB, free: 1.27 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01235/1.314, allocations: 2.632 MB / 1.186 GB, free: 15.21 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01383/1.328, allocations: 2.823 MB / 1.189 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.02044/1.348, allocations: 11.36 MB / 1.2 GB, free: 6.699 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00675/1.355, allocations: 2.863 MB / 1.203 GB, free: 5.043 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0091/1.364, allocations: 2.839 MB / 1.206 GB, free: 3.578 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007735/1.372, allocations: 2.685 MB / 1.208 GB, free: 1.031 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.001659/1.374, allocations: 152 kB / 1.208 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008652/1.382, allocations: 1.595 MB / 1.21 GB, free: 15.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.002641/1.385, allocations: 0.8951 MB / 1.211 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.002597/1.388, allocations: 0.7693 MB / 1.211 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.01289/1.401, allocations: 5.22 MB / 1.217 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.087e-05/1.401, allocations: 0 / 1.217 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.441e-06/1.401, allocations: 0 / 1.217 GB, free: 8.379 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.000289/1.401, allocations: 0 / 1.217 GB, free: 8.379 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 586 * Number of variables: 586 Notification: Performance of Generate backend data structure: time 0.01476/1.416, allocations: 3.852 MB / 1.22 GB, free: 4.457 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/1.416, allocations: 8.031 kB / 1.22 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009981/1.426, allocations: 0.9594 MB / 1.221 GB, free: 3.484 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01483/1.441, allocations: 3.792 MB / 1.225 GB, free: 15.62 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/1.441, allocations: 189 kB / 1.225 GB, free: 15.44 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00118/1.442, allocations: 251.8 kB / 1.225 GB, free: 15.19 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01097/1.453, allocations: 3.202 MB / 1.229 GB, free: 11.84 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001034/1.454, allocations: 8.594 kB / 1.229 GB, free: 11.83 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000467/1.454, allocations: 99.98 kB / 1.229 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001709/1.454, allocations: 101.2 kB / 1.229 GB, free: 11.63 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009788/1.464, allocations: 2.648 MB / 1.231 GB, free: 8.965 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 preOpt removeSimpleEquations (simulation): time 0.03853/1.503, allocations: 13.25 MB / 1.244 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005673/1.508, allocations: 2.158 MB / 1.246 GB, free: 8.828 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002979/1.511, allocations: 0.9474 MB / 1.247 GB, free: 7.879 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01952/1.531, allocations: 4.542 MB / 1.252 GB, free: 3.105 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003206/1.534, allocations: 0.9344 MB / 1.253 GB, free: 2.156 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002091/1.536, allocations: 178.5 kB / 1.253 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=130): time 7.915e-06/1.537, allocations: 0 / 1.253 GB, free: 1.98 MB / 0.7761 GB Notification: Performance of matching and sorting (n=134): time 0.02178/1.558, allocations: 5.483 MB / 1.258 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001131/1.558, allocations: 145.8 kB / 1.258 GB, free: 12.15 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007306/1.566, allocations: 2.925 MB / 1.261 GB, free: 9.219 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0005948/1.566, allocations: 61.7 kB / 1.261 GB, free: 9.152 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.00259/1.569, allocations: 1.517 MB / 1.263 GB, free: 7.621 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009651/1.57, allocations: 481.2 kB / 1.263 GB, free: 7.145 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/1.57, allocations: 40 kB / 1.263 GB, free: 7.105 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002542/1.571, allocations: 389.9 kB / 1.264 GB, free: 6.719 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004211/1.575, allocations: 0.9877 MB / 1.265 GB, free: 5.727 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005006/1.58, allocations: 1.588 MB / 1.266 GB, free: 3.879 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004773/1.585, allocations: 1.228 MB / 1.267 GB, free: 2.652 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.191e-05/1.585, allocations: 4 kB / 1.267 GB, free: 2.648 MB / 0.7917 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01645/1.601, allocations: 3.393 MB / 1.271 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005233/1.602, allocations: 0.5469 MB / 1.271 GB, free: 14.48 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.804e-05/1.602, allocations: 23.94 kB / 1.271 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01285/1.615, allocations: 1.188 MB / 1.272 GB, free: 13.26 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004016/1.619, allocations: 475.2 kB / 1.273 GB, free: 12.79 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01012/1.629, allocations: 3.151 MB / 1.276 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005861/1.635, allocations: 248.1 kB / 1.276 GB, free: 9.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007537/1.636, allocations: 99.95 kB / 1.276 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/1.636, allocations: 4 kB / 1.276 GB, free: 9.129 MB / 0.8073 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01427/1.65, allocations: 3.047 MB / 1.279 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.288e-05/1.65, allocations: 20 kB / 1.279 GB, free: 6.055 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01289/1.663, allocations: 1.22 MB / 1.28 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003751/1.667, allocations: 451.3 kB / 1.281 GB, free: 4.387 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01011/1.677, allocations: 3.167 MB / 1.284 GB, free: 1.062 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005126/1.682, allocations: 222.3 kB / 1.284 GB, free: 0.8477 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006342/1.683, allocations: 99.95 kB / 1.284 GB, free: 0.75 MB / 0.8073 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.003528/1.687, allocations: 1.078 MB / 1.285 GB, free: 15.66 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001299/1.688, allocations: 312.2 kB / 1.286 GB, free: 15.35 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008141/1.696, allocations: 2.306 MB / 1.288 GB, free: 13.02 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.858e-05/1.696, allocations: 15.98 kB / 1.288 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.122e-05/1.696, allocations: 4.125 kB / 1.288 GB, free: 13 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006312/1.702, allocations: 1.99 MB / 1.29 GB, free: 10.92 MB / 0.823 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.01641/1.719, allocations: 5.077 MB / 1.295 GB, free: 5.734 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.286e-05/1.719, allocations: 4 kB / 1.295 GB, free: 5.73 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003062/1.722, allocations: 303.7 kB / 1.295 GB, free: 5.434 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001419/1.724, allocations: 272.9 kB / 1.295 GB, free: 5.148 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003756/1.724, allocations: 47.92 kB / 1.295 GB, free: 5.102 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0099/1.734, allocations: 8.664 MB / 1.304 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.734, allocations: 0 / 1.304 GB, free: 11.65 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.744, allocations: 3.204 MB / 1.307 GB, free: 8.395 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002489/1.747, allocations: 0.6024 MB / 1.307 GB, free: 7.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001122/1.748, allocations: 39.98 kB / 1.308 GB, free: 7.73 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004223/1.752, allocations: 152.1 kB / 1.308 GB, free: 7.582 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005517/1.753, allocations: 121 kB / 1.308 GB, free: 7.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003106/1.753, allocations: 67.94 kB / 1.308 GB, free: 7.398 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.005574/1.759, allocations: 1.975 MB / 1.31 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7.12e-07/1.759, allocations: 0 / 1.31 GB, free: 5.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.00904/1.768, allocations: 1.59 MB / 1.311 GB, free: 3.84 MB / 0.8386 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.003284/1.771, allocations: 0.8627 MB / 1.312 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.021/1.792, allocations: 4.356 MB / 1.316 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.49e-05/1.792, allocations: 0.5625 kB / 1.316 GB, free: 14.75 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004109/1.797, allocations: 1.586 MB / 1.318 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01433/1.811, allocations: 1.685 MB / 1.32 GB, free: 11.41 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02013/1.831, allocations: 7.794 MB / 1.327 GB, free: 3.582 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003785/1.835, allocations: 2.377 MB / 1.33 GB, free: 1.18 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.007081/1.842, allocations: 1.103 MB / 1.331 GB, free: 72 kB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/1.844, allocations: 247.3 kB / 1.331 GB, free: 15.83 MB / 0.8698 GB Notification: Performance of SimCode: time 1.112e-06/1.844, allocations: 4 kB / 1.331 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of Templates: time 0.1916/2.035, allocations: 70.51 MB / 1.4 GB, free: 9.738 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)