Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_Buildings.Examples.Tutorial.Boiler.System2") translateModel(Buildings.Examples.Tutorial.Boiler.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_11_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.001328/0.001328, allocations: 119.6 kB / 16.82 MB, free: 5.758 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.001357/0.001357, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.481/1.481, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.841/2.841, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00253/0.00253, allocations: 63.36 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4339/0.4365, allocations: 168.7 MB / 1.262 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2807/0.7171, allocations: 210.4 MB / 1.467 GB, free: 9.852 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.03561/0.7528, allocations: 19.14 MB / 1.486 GB, free: 6.66 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004523/0.7573, allocations: 95.5 kB / 1.486 GB, free: 6.566 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.007111/0.7644, allocations: 2.119 MB / 1.488 GB, free: 4.441 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01183/0.7762, allocations: 3.715 MB / 1.492 GB, free: 0.7109 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.008231/0.7845, allocations: 2.575 MB / 1.494 GB, free: 14.15 MB / 1.217 GB Notification: Performance of NFFlatten.flatten: time 0.02497/0.8094, allocations: 13.76 MB / 1.508 GB, free: 364 kB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005985/0.8154, allocations: 3.397 MB / 1.511 GB, free: 12.89 MB / 1.232 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009441/0.8249, allocations: 3.775 MB / 1.515 GB, free: 9.121 MB / 1.232 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006808/0.8317, allocations: 3.248 MB / 1.518 GB, free: 5.867 MB / 1.232 GB Notification: Performance of NFPackage.collectConstants: time 0.001533/0.8332, allocations: 416 kB / 1.518 GB, free: 5.461 MB / 1.232 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007879/0.8411, allocations: 2.73 MB / 1.521 GB, free: 2.727 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.00268/0.8438, allocations: 1.398 MB / 1.522 GB, free: 1.324 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.005131/0.8489, allocations: 2.38 MB / 1.525 GB, free: 14.93 MB / 1.248 GB Notification: Performance of NFConvertDAE.convert: time 0.01694/0.8658, allocations: 7.447 MB / 1.532 GB, free: 7.461 MB / 1.248 GB Notification: Performance of FrontEnd - DAE generated: time 1.234e-05/0.8658, allocations: 4 kB / 1.532 GB, free: 7.457 MB / 1.248 GB Notification: Performance of FrontEnd: time 5.39e-06/0.8658, allocations: 0 / 1.532 GB, free: 7.457 MB / 1.248 GB Notification: Performance of Transformations before backend: time 0.000349/0.8662, allocations: 0 / 1.532 GB, free: 7.457 MB / 1.248 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 589 * Number of variables: 589 Notification: Performance of Generate backend data structure: time 0.01504/0.8812, allocations: 5.115 MB / 1.537 GB, free: 2.254 MB / 1.248 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.8813, allocations: 12.03 kB / 1.537 GB, free: 2.242 MB / 1.248 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00695/0.8882, allocations: 1.082 MB / 1.538 GB, free: 1.156 MB / 1.248 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01187/0.9001, allocations: 4.831 MB / 1.543 GB, free: 12.26 MB / 1.264 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001892/0.9003, allocations: 188.5 kB / 1.543 GB, free: 12.07 MB / 1.264 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006737/0.901, allocations: 248 kB / 1.543 GB, free: 11.83 MB / 1.264 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006139/0.9071, allocations: 3.198 MB / 1.546 GB, free: 8.477 MB / 1.264 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.109e-05/0.9072, allocations: 11.89 kB / 1.546 GB, free: 8.465 MB / 1.264 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000273/0.9074, allocations: 99.98 kB / 1.547 GB, free: 8.367 MB / 1.264 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001246/0.9076, allocations: 100.4 kB / 1.547 GB, free: 8.266 MB / 1.264 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005167/0.9127, allocations: 2.659 MB / 1.549 GB, free: 5.59 MB / 1.264 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.8539/1.767, allocations: 13.66 MB / 1.563 GB, free: 280.1 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004592/1.771, allocations: 2.036 MB / 1.565 GB, free: 279.1 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001563/1.773, allocations: 0.874 MB / 1.565 GB, free: 278.7 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01287/1.786, allocations: 4.607 MB / 1.57 GB, free: 276.3 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002081/1.788, allocations: 0.9761 MB / 1.571 GB, free: 276 MB / 1.264 GB Notification: Performance of pre-optimization done (n=128): time 3.868e-06/1.788, allocations: 0 / 1.571 GB, free: 276 MB / 1.264 GB Notification: Performance of matching and sorting (n=131): time 0.01693/1.805, allocations: 5.545 MB / 1.576 GB, free: 273.4 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.517e-05/1.805, allocations: 93.75 kB / 1.576 GB, free: 273.3 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00948/1.814, allocations: 3.638 MB / 1.58 GB, free: 272.1 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0006394/1.815, allocations: 62.83 kB / 1.58 GB, free: 272 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002007/1.817, allocations: 1.697 MB / 1.582 GB, free: 270.8 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009006/1.818, allocations: 0.4934 MB / 1.582 GB, free: 270.4 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/1.819, allocations: 0.5349 MB / 1.583 GB, free: 270.2 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 5.311e-05/1.819, allocations: 303 kB / 1.583 GB, free: 269.9 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002632/1.821, allocations: 1.191 MB / 1.584 GB, free: 269.5 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002946/1.824, allocations: 1.809 MB / 1.586 GB, free: 268.3 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/1.829, allocations: 2.771 MB / 1.589 GB, free: 266.8 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.401e-05/1.829, allocations: 4.125 kB / 1.589 GB, free: 266.8 MB / 1.264 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.01191/1.841, allocations: 4.188 MB / 1.593 GB, free: 265.4 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.39e-05/1.841, allocations: 11.84 kB / 1.593 GB, free: 265.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.201e-05/1.841, allocations: 17.67 kB / 1.593 GB, free: 265.4 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006501/1.847, allocations: 1.075 MB / 1.594 GB, free: 265.3 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002329/1.85, allocations: 0.5249 MB / 1.594 GB, free: 265.2 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004935/1.854, allocations: 3.214 MB / 1.597 GB, free: 262.5 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004055/1.859, allocations: 190.6 kB / 1.598 GB, free: 262.4 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004941/1.859, allocations: 106.6 kB / 1.598 GB, free: 262.4 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003958/1.863, allocations: 2.148 MB / 1.6 GB, free: 261.2 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002455/1.865, allocations: 1.759 MB / 1.601 GB, free: 259.8 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003684/1.869, allocations: 2.7 MB / 1.604 GB, free: 258 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.339e-05/1.869, allocations: 7.812 kB / 1.604 GB, free: 258 MB / 1.264 GB Notification: Performance of matching and sorting (n=320) (initialization_lambda0): time 0.01121/1.88, allocations: 4.087 MB / 1.608 GB, free: 255.7 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.398e-05/1.88, allocations: 12 kB / 1.608 GB, free: 255.7 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.625e-05/1.88, allocations: 18.94 kB / 1.608 GB, free: 255.7 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00634/1.887, allocations: 1.09 MB / 1.609 GB, free: 254.6 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002226/1.889, allocations: 0.4992 MB / 1.61 GB, free: 254.1 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005032/1.894, allocations: 3.218 MB / 1.613 GB, free: 250.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/1.898, allocations: 193.6 kB / 1.613 GB, free: 250.5 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006343/1.899, allocations: 99.97 kB / 1.613 GB, free: 250.4 MB / 1.264 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 74 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.timTab.tab.nextTimeEvent,$whenCondition1,hysPum.y,$PRE.hysPum.y,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 (272): * Single equations (assignments): 268 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 1 system {(4,7)} Notification: Performance of prepare postOptimizeDAE: time 0.001181/1.9, allocations: 320.7 kB / 1.613 GB, free: 250.1 MB / 1.264 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001705/1.902, allocations: 361.6 kB / 1.614 GB, free: 249.7 MB / 1.264 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005279/1.907, allocations: 2.281 MB / 1.616 GB, free: 247.5 MB / 1.264 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002905/1.91, allocations: 1.953 MB / 1.618 GB, free: 245.4 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.284e-06/1.91, allocations: 0 / 1.618 GB, free: 245.4 MB / 1.264 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002235/1.912, allocations: 0.6654 MB / 1.619 GB, free: 244.7 MB / 1.264 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001217/1.913, allocations: 41.92 kB / 1.619 GB, free: 244.7 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002735/1.916, allocations: 102.9 kB / 1.619 GB, free: 244.6 MB / 1.264 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002852/1.916, allocations: 109 kB / 1.619 GB, free: 244.5 MB / 1.264 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005129/1.922, allocations: 2.311 MB / 1.621 GB, free: 242.2 MB / 1.264 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004969/1.927, allocations: 3.101 MB / 1.624 GB, free: 239.1 MB / 1.264 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001088/1.928, allocations: 0.7909 MB / 1.625 GB, free: 238.3 MB / 1.264 GB Notification: Performance of sorting global known variables: time 0.004555/1.932, allocations: 2.449 MB / 1.627 GB, free: 235.8 MB / 1.264 GB Notification: Performance of Backend: time 4.91e-07/1.932, allocations: 0 / 1.627 GB, free: 235.8 MB / 1.264 GB Notification: Performance of simCode: created initialization part: time 0.0168/1.949, allocations: 4.939 MB / 1.632 GB, free: 231.2 MB / 1.264 GB Notification: Performance of SimCode: time 0.01795/1.967, allocations: 8.953 MB / 1.641 GB, free: 222.2 MB / 1.264 GB Notification: Performance of Templates: time 0.1259/2.093, allocations: 91.14 MB / 1.73 GB, free: 132 MB / 1.264 GB make -j1 -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_11_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_11_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_11_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_11_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)