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/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.352/1.352, allocations: 251.5 MB / 267.4 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009678/0.0009674, allocations: 174.5 kB / 326.5 MB, free: 2.676 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008756/0.0008753, allocations: 92.83 kB / 0.6804 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005112/0.0005108, allocations: 5.781 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3196, allocations: 105.4 MB / 0.8967 GB, free: 68.18 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.7998/1.119, allocations: 206.3 MB / 1.098 GB, free: 14.08 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.03268/1.152, allocations: 20.14 MB / 1.118 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004413/1.157, allocations: 77.62 kB / 1.118 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.00482/1.161, allocations: 1.132 MB / 1.119 GB, free: 12.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.01324/1.175, allocations: 3.098 MB / 1.122 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.01349/1.188, allocations: 3.227 MB / 1.125 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.02296/1.211, allocations: 13.61 MB / 1.138 GB, free: 8.699 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006306/1.218, allocations: 3.165 MB / 1.142 GB, free: 7.562 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008437/1.226, allocations: 2.924 MB / 1.144 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006842/1.233, allocations: 2.833 MB / 1.147 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001016/1.234, allocations: 150.2 kB / 1.147 GB, free: 6.023 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007593/1.242, allocations: 2.386 MB / 1.15 GB, free: 5.348 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001931/1.244, allocations: 0.9236 MB / 1.151 GB, free: 4.93 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.004519/1.248, allocations: 1.866 MB / 1.152 GB, free: 4.207 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008385/1.257, allocations: 5.304 MB / 1.158 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/1.257, allocations: 0 / 1.158 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.216e-06/1.257, allocations: 2.938 kB / 1.158 GB, free: 1.391 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000188/1.257, allocations: 4 kB / 1.158 GB, free: 1.387 MB / 0.7136 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.01043/1.267, allocations: 3.813 MB / 1.161 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/1.267, allocations: 8.125 kB / 1.161 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006617/1.274, allocations: 0.965 MB / 1.162 GB, free: 14.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009723/1.284, allocations: 3.875 MB / 1.166 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/1.284, allocations: 187 kB / 1.166 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005573/1.284, allocations: 251.7 kB / 1.166 GB, free: 11.74 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005777/1.29, allocations: 3.199 MB / 1.17 GB, free: 9.719 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.724e-05/1.29, allocations: 9.688 kB / 1.17 GB, free: 9.715 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002484/1.291, allocations: 94.28 kB / 1.17 GB, free: 9.645 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001088/1.291, allocations: 103 kB / 1.17 GB, free: 9.625 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004793/1.295, allocations: 2.659 MB / 1.172 GB, free: 7.758 MB / 0.7292 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.02374/1.319, allocations: 13.22 MB / 1.185 GB, free: 10 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003245/1.323, allocations: 2.17 MB / 1.187 GB, free: 7.738 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/1.324, allocations: 0.9514 MB / 1.188 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0118/1.336, allocations: 4.514 MB / 1.193 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001705/1.338, allocations: 0.9267 MB / 1.194 GB, free: 1.137 MB / 0.7448 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001661/1.339, allocations: 170.5 kB / 1.194 GB, free: 0.9688 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=130): time 8.576e-06/1.339, allocations: 3.984 kB / 1.194 GB, free: 0.9648 MB / 0.7448 GB Notification: Performance of matching and sorting (n=134): time 0.01382/1.353, allocations: 5.485 MB / 1.199 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/1.353, allocations: 149.8 kB / 1.199 GB, free: 11.13 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006012/1.359, allocations: 2.94 MB / 1.202 GB, free: 8.184 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0004877/1.36, allocations: 65.7 kB / 1.202 GB, free: 8.113 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001654/1.362, allocations: 1.518 MB / 1.204 GB, free: 6.59 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007112/1.362, allocations: 479.3 kB / 1.204 GB, free: 6.125 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/1.363, allocations: 189.6 kB / 1.204 GB, free: 5.934 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001302/1.363, allocations: 301.1 kB / 1.205 GB, free: 5.637 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00244/1.365, allocations: 1.042 MB / 1.206 GB, free: 4.59 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002901/1.368, allocations: 1.646 MB / 1.207 GB, free: 2.684 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004399/1.373, allocations: 2.509 MB / 1.21 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.359e-05/1.373, allocations: 7.938 kB / 1.21 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01102/1.384, allocations: 3.676 MB / 1.213 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005888/1.384, allocations: 0.5436 MB / 1.214 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.407e-05/1.384, allocations: 16 kB / 1.214 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007522/1.392, allocations: 1.191 MB / 1.215 GB, free: 10.3 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002355/1.394, allocations: 475.2 kB / 1.216 GB, free: 9.832 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005747/1.4, allocations: 3.066 MB / 1.218 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004348/1.404, allocations: 240.1 kB / 1.219 GB, free: 6.375 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005592/1.405, allocations: 108 kB / 1.219 GB, free: 6.27 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.788e-05/1.405, allocations: 7.938 kB / 1.219 GB, free: 6.262 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01034/1.415, allocations: 3.232 MB / 1.222 GB, free: 3.023 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.504e-05/1.415, allocations: 19.98 kB / 1.222 GB, free: 3.004 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007241/1.423, allocations: 1.203 MB / 1.223 GB, free: 1.797 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002089/1.425, allocations: 463.3 kB / 1.224 GB, free: 1.344 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005428/1.43, allocations: 3.062 MB / 1.227 GB, free: 14.12 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003781/1.434, allocations: 236.1 kB / 1.227 GB, free: 13.89 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005051/1.435, allocations: 95.95 kB / 1.227 GB, free: 13.8 MB / 0.7917 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 ($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 (241): * Single equations (assignments): 236 * Array equations: 2 * 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 {(3,8)} Notification: Performance of prepare postOptimizeDAE: time 0.002961/1.438, allocations: 1.078 MB / 1.228 GB, free: 12.71 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001415/1.439, allocations: 304.3 kB / 1.228 GB, free: 12.41 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005676/1.445, allocations: 2.306 MB / 1.231 GB, free: 10.07 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.684e-05/1.445, allocations: 19.98 kB / 1.231 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.46e-05/1.445, allocations: 0 / 1.231 GB, free: 10.05 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003614/1.448, allocations: 1.99 MB / 1.232 GB, free: 7.977 MB / 0.7917 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.01202/1.46, allocations: 5.073 MB / 1.237 GB, free: 2.836 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.219e-05/1.46, allocations: 3.938 kB / 1.237 GB, free: 2.832 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001497/1.462, allocations: 307.7 kB / 1.238 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009262/1.463, allocations: 272.9 kB / 1.238 GB, free: 2.246 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001701/1.463, allocations: 43.97 kB / 1.238 GB, free: 2.203 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007819/1.471, allocations: 8.663 MB / 1.247 GB, free: 8.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/1.471, allocations: 4.188 kB / 1.247 GB, free: 8.746 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007579/1.479, allocations: 3.219 MB / 1.25 GB, free: 5.477 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002162/1.481, allocations: 0.5869 MB / 1.25 GB, free: 4.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001093/1.482, allocations: 39.98 kB / 1.25 GB, free: 4.828 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002808/1.485, allocations: 156.4 kB / 1.25 GB, free: 4.676 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003334/1.485, allocations: 101.3 kB / 1.251 GB, free: 4.574 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002445/1.485, allocations: 71.94 kB / 1.251 GB, free: 4.504 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.004853/1.49, allocations: 1.994 MB / 1.253 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.5e-07/1.49, allocations: 0 / 1.253 GB, free: 2.516 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.008492/1.499, allocations: 1.601 MB / 1.254 GB, free: 0.9141 MB / 0.8073 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 (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(1,3,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00292/1.502, allocations: 0.8836 MB / 1.255 GB, free: 208 kB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0128/1.515, allocations: 4.284 MB / 1.259 GB, free: 11.89 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.787e-05/1.515, allocations: 4.625 kB / 1.259 GB, free: 11.88 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.002883/1.517, allocations: 1.589 MB / 1.261 GB, free: 10.21 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01099/1.529, allocations: 1.69 MB / 1.262 GB, free: 8.535 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01629/1.545, allocations: 7.879 MB / 1.27 GB, free: 0.6367 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003385/1.548, allocations: 2.338 MB / 1.272 GB, free: 14.27 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001397/1.55, allocations: 255.3 kB / 1.273 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of SimCode: time 1.443e-06/1.55, allocations: 0 / 1.273 GB, free: 14.02 MB / 0.8386 GB Notification: Performance of Templates: time 0.1671/1.717, allocations: 124.8 MB / 1.394 GB, free: 1.273 MB / 0.948 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Examples.Tutorial.Boiler.System2.makefile (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)