Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.System2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T_start|vol.T|TOut.T",fileNamePrefix="Buildings_latest_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_latest_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.001634/0.001634, allocations: 114.6 kB / 16.42 MB, free: 6.523 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.001925/0.001925, allocations: 186.7 kB / 17.35 MB, free: 5.734 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.532/1.532, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.771/2.771, allocations: 472.7 MB / 0.746 GB, free: 444 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 67.89 kB / 1.07 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.028/1.03, allocations: 159.9 MB / 1.226 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.2453/1.275, allocations: 209.5 MB / 1.431 GB, free: 11.26 MB / 1.154 GB Notification: Performance of NFInst.instExpressions: time 0.02878/1.304, allocations: 19.08 MB / 1.45 GB, free: 8.125 MB / 1.17 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004806/1.309, allocations: 95.44 kB / 1.45 GB, free: 8.031 MB / 1.17 GB Notification: Performance of NFTyping.typeComponents: time 0.006198/1.315, allocations: 2.107 MB / 1.452 GB, free: 5.918 MB / 1.17 GB Notification: Performance of NFTyping.typeBindings: time 0.01068/1.326, allocations: 3.706 MB / 1.455 GB, free: 2.199 MB / 1.17 GB Notification: Performance of NFTyping.typeClassSections: time 0.007297/1.333, allocations: 2.553 MB / 1.458 GB, free: 15.66 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.0222/1.355, allocations: 13.68 MB / 1.471 GB, free: 1.949 MB / 1.186 GB Notification: Performance of NFFlatten.resolveConnections: time 0.008103/1.363, allocations: 4.009 MB / 1.475 GB, free: 13.87 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009495/1.373, allocations: 3.758 MB / 1.479 GB, free: 10.12 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006297/1.379, allocations: 3.085 MB / 1.482 GB, free: 7.023 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001706/1.381, allocations: 416 kB / 1.482 GB, free: 6.617 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007333/1.388, allocations: 2.652 MB / 1.485 GB, free: 3.961 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.002337/1.39, allocations: 1.344 MB / 1.486 GB, free: 2.613 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.004798/1.395, allocations: 2.384 MB / 1.488 GB, free: 224 kB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.01284/1.408, allocations: 7.451 MB / 1.496 GB, free: 8.742 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/1.408, allocations: 0 / 1.496 GB, free: 8.742 MB / 1.217 GB Notification: Performance of FrontEnd: time 2.364e-06/1.408, allocations: 0 / 1.496 GB, free: 8.742 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002348/1.408, allocations: 0 / 1.496 GB, free: 8.742 MB / 1.217 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.01496/1.423, allocations: 5.115 MB / 1.501 GB, free: 3.539 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.279e-05/1.423, allocations: 8.031 kB / 1.501 GB, free: 3.531 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007374/1.431, allocations: 1.086 MB / 1.502 GB, free: 2.441 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01139/1.442, allocations: 4.828 MB / 1.506 GB, free: 13.55 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001995/1.443, allocations: 192.5 kB / 1.507 GB, free: 13.36 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008847/1.443, allocations: 244 kB / 1.507 GB, free: 13.12 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007324/1.451, allocations: 3.19 MB / 1.51 GB, free: 9.777 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.76e-05/1.451, allocations: 7.953 kB / 1.51 GB, free: 9.77 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004169/1.451, allocations: 104 kB / 1.51 GB, free: 9.668 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001082/1.451, allocations: 108.3 kB / 1.51 GB, free: 9.559 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005392/1.457, allocations: 2.659 MB / 1.513 GB, free: 6.883 MB / 1.232 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.02684/1.484, allocations: 13.68 MB / 1.526 GB, free: 8.57 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/1.488, allocations: 2.114 MB / 1.528 GB, free: 6.363 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001739/1.489, allocations: 0.9447 MB / 1.529 GB, free: 5.418 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01392/1.503, allocations: 4.604 MB / 1.534 GB, free: 0.582 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002286/1.506, allocations: 0.9777 MB / 1.535 GB, free: 15.59 MB / 1.264 GB Notification: Performance of pre-optimization done (n=128): time 5.61e-06/1.506, allocations: 4 kB / 1.535 GB, free: 15.58 MB / 1.264 GB Notification: Performance of matching and sorting (n=131): time 0.01673/1.522, allocations: 5.55 MB / 1.54 GB, free: 9.863 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/1.523, allocations: 94.36 kB / 1.54 GB, free: 9.75 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01032/1.533, allocations: 3.643 MB / 1.544 GB, free: 6.125 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.000563/1.534, allocations: 61.7 kB / 1.544 GB, free: 6.059 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.002725/1.536, allocations: 1.694 MB / 1.545 GB, free: 4.352 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009947/1.537, allocations: 0.492 MB / 1.546 GB, free: 3.855 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001673/1.539, allocations: 0.5357 MB / 1.546 GB, free: 3.312 MB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001455/1.539, allocations: 301.1 kB / 1.547 GB, free: 3.016 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00286/1.542, allocations: 1.194 MB / 1.548 GB, free: 1.812 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003375/1.545, allocations: 1.797 MB / 1.55 GB, free: 15.77 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005006/1.55, allocations: 2.779 MB / 1.552 GB, free: 12.76 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-05/1.55, allocations: 8 kB / 1.552 GB, free: 12.75 MB / 1.279 GB Notification: Performance of matching and sorting (n=320) (initialization): time 0.01475/1.565, allocations: 4.194 MB / 1.556 GB, free: 8.539 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 4.719e-05/1.565, allocations: 12 kB / 1.556 GB, free: 8.527 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.015e-05/1.565, allocations: 19.94 kB / 1.556 GB, free: 8.508 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007294/1.573, allocations: 1.079 MB / 1.557 GB, free: 7.422 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002565/1.575, allocations: 0.507 MB / 1.558 GB, free: 6.914 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00607/1.581, allocations: 3.229 MB / 1.561 GB, free: 3.523 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004002/1.585, allocations: 184 kB / 1.561 GB, free: 3.344 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006085/1.586, allocations: 112 kB / 1.561 GB, free: 3.234 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005439/1.591, allocations: 2.149 MB / 1.564 GB, free: 1.078 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.9334/2.525, allocations: 1.758 MB / 1.565 GB, free: 325.7 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005907/2.531, allocations: 2.692 MB / 1.568 GB, free: 325.1 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.04e-05/2.531, allocations: 4.406 kB / 1.568 GB, free: 325.1 MB / 1.279 GB Notification: Performance of matching and sorting (n=320) (initialization_lambda0): time 0.01323/2.544, allocations: 4.096 MB / 1.572 GB, free: 323.9 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.486e-05/2.544, allocations: 11.66 kB / 1.572 GB, free: 323.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.899e-05/2.544, allocations: 17.28 kB / 1.572 GB, free: 323.9 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007299/2.552, allocations: 1.077 MB / 1.573 GB, free: 323.8 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002615/2.554, allocations: 0.5118 MB / 1.573 GB, free: 323.7 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005634/2.56, allocations: 3.211 MB / 1.577 GB, free: 321.3 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004426/2.564, allocations: 190.5 kB / 1.577 GB, free: 321.3 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005331/2.565, allocations: 103.9 kB / 1.577 GB, free: 321.3 MB / 1.279 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.0008818/2.566, allocations: 318.4 kB / 1.577 GB, free: 321 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001311/2.567, allocations: 363.4 kB / 1.578 GB, free: 321 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005792/2.573, allocations: 2.289 MB / 1.58 GB, free: 320.1 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004073/2.577, allocations: 1.952 MB / 1.582 GB, free: 319.2 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.101e-06/2.577, allocations: 0 / 1.582 GB, free: 319.2 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002232/2.579, allocations: 0.6688 MB / 1.582 GB, free: 319 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005307/2.58, allocations: 35.94 kB / 1.582 GB, free: 318.9 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/2.582, allocations: 110.1 kB / 1.582 GB, free: 318.9 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003342/2.582, allocations: 100.8 kB / 1.583 GB, free: 318.9 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005685/2.588, allocations: 2.316 MB / 1.585 GB, free: 318.1 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004783/2.592, allocations: 3.095 MB / 1.588 GB, free: 316.9 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001168/2.594, allocations: 0.8465 MB / 1.589 GB, free: 316.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003575/2.597, allocations: 2.455 MB / 1.591 GB, free: 315.7 MB / 1.279 GB Notification: Performance of Backend: time 3.91e-07/2.597, allocations: 0 / 1.591 GB, free: 315.7 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.0142/2.611, allocations: 5.184 MB / 1.596 GB, free: 314.1 MB / 1.279 GB Notification: Performance of SimCode: time 0.01466/2.626, allocations: 8.946 MB / 1.605 GB, free: 307.6 MB / 1.279 GB Notification: Performance of Templates: time 0.1282/2.754, allocations: 89.86 MB / 1.693 GB, free: 218.6 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.makefile (rm -f Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe ; mkfifo Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe >> ../files/Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.sim & ./Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.Tutorial.Boiler.System2.pipe 2>&1)