Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009422/0.0009423, allocations: 87.11 kB / 15.06 MB, free: 1.09 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.001422/0.001423, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.851/1.851, allocations: 205.4 MB / 222.1 MB, free: 5.625 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.641/1.641, allocations: 252 MB / 0.5102 GB, free: 4.828 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006171/0.0006172, allocations: 12 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6345/0.6352, allocations: 106.3 MB / 0.7281 GB, free: 11.55 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.8259/1.461, allocations: 190.7 MB / 0.9144 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03525/1.496, allocations: 18.45 MB / 0.9324 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005968/1.502, allocations: 72.62 kB / 0.9324 GB, free: 5.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005656/1.508, allocations: 0.9125 MB / 0.9333 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01337/1.522, allocations: 2.631 MB / 0.9359 GB, free: 5.316 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01279/1.534, allocations: 2.789 MB / 0.9386 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0173/1.552, allocations: 11.41 MB / 0.9498 GB, free: 5.207 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007333/1.559, allocations: 2.857 MB / 0.9526 GB, free: 20.82 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01053/1.57, allocations: 2.847 MB / 0.9553 GB, free: 20.81 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008313/1.578, allocations: 2.683 MB / 0.958 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001764/1.58, allocations: 147.2 kB / 0.9581 GB, free: 20.8 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009132/1.589, allocations: 1.577 MB / 0.9596 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.003106/1.592, allocations: 0.8866 MB / 0.9605 GB, free: 20.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.003956/1.596, allocations: 0.774 MB / 0.9613 GB, free: 20.73 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/1.607, allocations: 5.192 MB / 0.9663 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.363e-06/1.607, allocations: 0 / 0.9663 GB, free: 20.11 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.956e-06/1.607, allocations: 3.938 kB / 0.9663 GB, free: 20.1 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0002788/1.608, allocations: 0 / 0.9663 GB, free: 20.1 MB / 0.7325 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.01239/1.62, allocations: 3.84 MB / 0.9701 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.933e-05/1.62, allocations: 11.09 kB / 0.9701 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007041/1.627, allocations: 0.9649 MB / 0.971 GB, free: 17.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01137/1.639, allocations: 3.771 MB / 0.9747 GB, free: 16.02 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003267/1.639, allocations: 194.3 kB / 0.9749 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001729/1.641, allocations: 250.2 kB / 0.9752 GB, free: 16 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01108/1.652, allocations: 3.176 MB / 0.9783 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.732e-05/1.652, allocations: 5.5 kB / 0.9783 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00039/1.652, allocations: 96.94 kB / 0.9783 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001582/1.653, allocations: 100.8 kB / 0.9784 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006241/1.659, allocations: 2.646 MB / 0.981 GB, free: 14.46 MB / 0.7325 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.02907/1.688, allocations: 13.22 MB / 0.9939 GB, free: 6.781 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004167/1.692, allocations: 2.157 MB / 0.996 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002022/1.694, allocations: 0.9517 MB / 0.997 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01377/1.708, allocations: 4.522 MB / 1.001 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002318/1.71, allocations: 0.9217 MB / 1.002 GB, free: 3.16 MB / 0.7325 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002169/1.713, allocations: 175 kB / 1.002 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=130): time 1.334e-05/1.713, allocations: 0 / 1.002 GB, free: 3.066 MB / 0.7325 GB Notification: Performance of matching and sorting (n=134): time 0.01599/1.729, allocations: 5.465 MB / 1.008 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001226/1.729, allocations: 141.8 kB / 1.008 GB, free: 15.59 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006777/1.736, allocations: 2.92 MB / 1.011 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0005645/1.736, allocations: 58.08 kB / 1.011 GB, free: 13.39 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.002072/1.738, allocations: 1.526 MB / 1.012 GB, free: 12.54 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000924/1.739, allocations: 484.7 kB / 1.013 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003605/1.74, allocations: 41.34 kB / 1.013 GB, free: 12.12 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002593/1.74, allocations: 381.3 kB / 1.013 GB, free: 11.78 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002549/1.742, allocations: 0.9864 MB / 1.014 GB, free: 11.1 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003389/1.746, allocations: 1.589 MB / 1.016 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003057/1.749, allocations: 1.22 MB / 1.017 GB, free: 8.832 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.036e-05/1.749, allocations: 4 kB / 1.017 GB, free: 8.828 MB / 0.7481 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01107/1.76, allocations: 3.386 MB / 1.02 GB, free: 6.34 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006541/1.761, allocations: 0.5546 MB / 1.021 GB, free: 5.637 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.041e-05/1.761, allocations: 16 kB / 1.021 GB, free: 5.621 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006779/1.768, allocations: 1.184 MB / 1.022 GB, free: 4.531 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002609/1.77, allocations: 479.1 kB / 1.022 GB, free: 4.105 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005958/1.776, allocations: 3.148 MB / 1.025 GB, free: 1.219 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004767/1.781, allocations: 253.4 kB / 1.026 GB, free: 1.008 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007766/1.782, allocations: 99.14 kB / 1.026 GB, free: 0.9258 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.782, allocations: 4 kB / 1.026 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00972/1.792, allocations: 3.034 MB / 1.029 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001001/1.792, allocations: 27.53 kB / 1.029 GB, free: 14.8 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006873/1.799, allocations: 1.212 MB / 1.03 GB, free: 13.69 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002542/1.801, allocations: 458.5 kB / 1.03 GB, free: 13.29 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006055/1.807, allocations: 3.16 MB / 1.033 GB, free: 10.37 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004092/1.811, allocations: 234.9 kB / 1.034 GB, free: 10.18 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007194/1.812, allocations: 90.03 kB / 1.034 GB, free: 10.1 MB / 0.7637 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.004838/1.817, allocations: 1.095 MB / 1.035 GB, free: 9.383 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001782/1.819, allocations: 308.2 kB / 1.035 GB, free: 9.078 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006951/1.826, allocations: 2.295 MB / 1.037 GB, free: 7.469 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.403e-05/1.826, allocations: 19.58 kB / 1.037 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.841e-05/1.826, allocations: 0 / 1.037 GB, free: 7.453 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00405/1.83, allocations: 1.996 MB / 1.039 GB, free: 5.914 MB / 0.7637 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.01399/1.844, allocations: 5.052 MB / 1.044 GB, free: 2.371 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.539e-05/1.844, allocations: 8.141 kB / 1.044 GB, free: 2.363 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001611/1.846, allocations: 300.7 kB / 1.045 GB, free: 2.09 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009397/1.847, allocations: 270.9 kB / 1.045 GB, free: 1.867 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001903/1.847, allocations: 49.14 kB / 1.045 GB, free: 1.84 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007375/1.854, allocations: 8.665 MB / 1.053 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/1.854, allocations: 0 / 1.053 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007739/1.862, allocations: 3.202 MB / 1.056 GB, free: 6.77 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002439/1.865, allocations: 0.6001 MB / 1.057 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001586/1.866, allocations: 29.38 kB / 1.057 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00326/1.87, allocations: 171.8 kB / 1.057 GB, free: 6.121 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003368/1.87, allocations: 103.8 kB / 1.057 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002609/1.87, allocations: 68.25 kB / 1.057 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.005007/1.875, allocations: 1.969 MB / 1.059 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of sort global known variables: time 3.71e-07/1.875, allocations: 0 / 1.059 GB, free: 4.57 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.009222/1.884, allocations: 1.599 MB / 1.061 GB, free: 3.082 MB / 0.7794 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.002894/1.887, allocations: 0.8657 MB / 1.062 GB, free: 2.469 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01307/1.9, allocations: 4.335 MB / 1.066 GB, free: 15.2 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 1.644e-05/1.901, allocations: 6.375 kB / 1.066 GB, free: 15.19 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002887/1.903, allocations: 1.593 MB / 1.068 GB, free: 13.84 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01199/1.915, allocations: 1.68 MB / 1.069 GB, free: 12.46 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01923/1.935, allocations: 7.796 MB / 1.077 GB, free: 5.395 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003821/1.939, allocations: 2.381 MB / 1.079 GB, free: 3.223 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005844/1.945, allocations: 1.09 MB / 1.08 GB, free: 2.129 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001283/1.946, allocations: 250.3 kB / 1.08 GB, free: 1.898 MB / 0.795 GB Notification: Performance of SimCode: time 9.12e-07/1.946, allocations: 0 / 1.08 GB, free: 1.898 MB / 0.795 GB Notification: Performance of Templates: time 0.1321/2.078, allocations: 70.12 MB / 1.149 GB, free: 12.77 MB / 0.8731 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1) Environment - environmentSimulation: