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.418/1.418, allocations: 252 MB / 267.6 MB, free: 10.96 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.001078/0.001078, allocations: 182.2 kB / 327.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.806/1.806, allocations: 205.4 MB / 0.5783 GB, free: 20.24 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.0007502/0.0007502, allocations: 91.62 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002991/0.0002992, allocations: 11.97 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.168, allocations: 106.3 MB / 0.9008 GB, free: 63.9 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System2): time 0.6275/0.7956, allocations: 190.7 MB / 1.087 GB, free: 1.508 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02319/0.8188, allocations: 18.46 MB / 1.105 GB, free: 84 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003175/0.822, allocations: 67.97 kB / 1.105 GB, free: 56 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003588/0.8256, allocations: 0.9179 MB / 1.106 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.008784/0.8345, allocations: 2.643 MB / 1.109 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.009201/0.8437, allocations: 2.792 MB / 1.111 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.01277/0.8565, allocations: 11.4 MB / 1.122 GB, free: 13.4 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005124/0.8617, allocations: 2.856 MB / 1.125 GB, free: 12.58 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00644/0.8682, allocations: 2.849 MB / 1.128 GB, free: 11.55 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005747/0.8739, allocations: 2.69 MB / 1.131 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.001036/0.875, allocations: 146.6 kB / 1.131 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00598/0.881, allocations: 1.576 MB / 1.132 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001782/0.8828, allocations: 0.8867 MB / 1.133 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002402/0.8852, allocations: 0.7761 MB / 1.134 GB, free: 9.5 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.007027/0.8923, allocations: 5.187 MB / 1.139 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.8923, allocations: 0 / 1.139 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.224e-06/0.8923, allocations: 0 / 1.139 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001345/0.8925, allocations: 0 / 1.139 GB, free: 6.746 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.008088/0.9006, allocations: 3.847 MB / 1.143 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.915e-05/0.9006, allocations: 8.406 kB / 1.143 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005576/0.9062, allocations: 0.962 MB / 1.144 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008138/0.9144, allocations: 3.774 MB / 1.147 GB, free: 2.559 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.9145, allocations: 188.8 kB / 1.148 GB, free: 2.551 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005382/0.9151, allocations: 257.4 kB / 1.148 GB, free: 2.543 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005694/0.9208, allocations: 3.177 MB / 1.151 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.069e-05/0.9209, allocations: 5.125 kB / 1.151 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000241/0.9211, allocations: 95.19 kB / 1.151 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.358e-05/0.9212, allocations: 107.6 kB / 1.151 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004437/0.9257, allocations: 2.642 MB / 1.154 GB, free: 0.9609 MB / 0.7136 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.02311/0.9488, allocations: 13.25 MB / 1.167 GB, free: 9.281 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002914/0.9518, allocations: 2.172 MB / 1.169 GB, free: 8.496 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001324/0.9531, allocations: 0.9412 MB / 1.17 GB, free: 8.348 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01083/0.964, allocations: 4.517 MB / 1.174 GB, free: 5.922 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001587/0.9656, allocations: 0.9211 MB / 1.175 GB, free: 5.301 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001396/0.967, allocations: 174.3 kB / 1.175 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=130): time 4.989e-06/0.967, allocations: 0 / 1.175 GB, free: 5.152 MB / 0.7292 GB Notification: Performance of matching and sorting (n=134): time 0.01279/0.9798, allocations: 5.461 MB / 1.181 GB, free: 0.7969 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/0.98, allocations: 145.8 kB / 1.181 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004587/0.9846, allocations: 2.923 MB / 1.184 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0004514/0.9851, allocations: 65.45 kB / 1.184 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.001568/0.9866, allocations: 1.512 MB / 1.185 GB, free: 13.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007953/0.9874, allocations: 482.9 kB / 1.186 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001785/0.9876, allocations: 46 kB / 1.186 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.9879, allocations: 390.4 kB / 1.186 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00235/0.9902, allocations: 0.9878 MB / 1.187 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002661/0.9929, allocations: 1.588 MB / 1.188 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002397/0.9953, allocations: 1.221 MB / 1.19 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.017e-06/0.9953, allocations: 5.859 kB / 1.19 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.008614/1.004, allocations: 3.393 MB / 1.193 GB, free: 7.25 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003616/1.004, allocations: 0.5385 MB / 1.194 GB, free: 6.551 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.281e-05/1.004, allocations: 19.98 kB / 1.194 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007147/1.012, allocations: 1.176 MB / 1.195 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002159/1.014, allocations: 485.7 kB / 1.195 GB, free: 4.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00565/1.019, allocations: 3.151 MB / 1.198 GB, free: 2.082 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003585/1.023, allocations: 246.1 kB / 1.198 GB, free: 1.875 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003734/1.023, allocations: 98.45 kB / 1.199 GB, free: 1.793 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.387e-06/1.023, allocations: 4 kB / 1.199 GB, free: 1.789 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007329/1.031, allocations: 3.045 MB / 1.202 GB, free: 15.59 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/1.031, allocations: 16 kB / 1.202 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006861/1.038, allocations: 1.219 MB / 1.203 GB, free: 14.45 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001841/1.04, allocations: 458.4 kB / 1.203 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005596/1.045, allocations: 3.161 MB / 1.206 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003114/1.048, allocations: 233.9 kB / 1.206 GB, free: 10.89 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002391/1.049, allocations: 95.41 kB / 1.207 GB, free: 10.82 MB / 0.7605 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.001931/1.051, allocations: 1.083 MB / 1.208 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007056/1.051, allocations: 308.2 kB / 1.208 GB, free: 9.77 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00421/1.055, allocations: 2.303 MB / 1.21 GB, free: 8.145 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.921e-05/1.055, allocations: 16 kB / 1.21 GB, free: 8.129 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.929e-06/1.055, allocations: 7.953 kB / 1.21 GB, free: 8.121 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003128/1.059, allocations: 1.984 MB / 1.212 GB, free: 6.586 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 postOpt removeSimpleEquations (simulation): time 0.008887/1.068, allocations: 5.057 MB / 1.217 GB, free: 3.02 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.468e-06/1.068, allocations: 4.141 kB / 1.217 GB, free: 3.016 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001452/1.069, allocations: 309.3 kB / 1.217 GB, free: 2.723 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008104/1.07, allocations: 268.5 kB / 1.218 GB, free: 2.496 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/1.07, allocations: 48.72 kB / 1.218 GB, free: 2.473 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006382/1.076, allocations: 8.663 MB / 1.226 GB, free: 9.668 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-06/1.076, allocations: 7.984 kB / 1.226 GB, free: 9.66 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005779/1.082, allocations: 3.192 MB / 1.229 GB, free: 7.352 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001666/1.084, allocations: 0.5988 MB / 1.23 GB, free: 6.855 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007195/1.085, allocations: 37.64 kB / 1.23 GB, free: 6.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002105/1.087, allocations: 157 kB / 1.23 GB, free: 6.707 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000238/1.087, allocations: 111 kB / 1.23 GB, free: 6.609 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000148/1.087, allocations: 64.7 kB / 1.23 GB, free: 6.559 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.003/1.09, allocations: 1.976 MB / 1.232 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of sort global known variables: time 3.11e-07/1.09, allocations: 0 / 1.232 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.00513/1.095, allocations: 1.598 MB / 1.234 GB, free: 3.66 MB / 0.7761 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.001877/1.097, allocations: 0.8562 MB / 1.235 GB, free: 3.008 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.01081/1.108, allocations: 4.335 MB / 1.239 GB, free: 15.63 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/1.108, allocations: 448 / 1.239 GB, free: 15.62 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002158/1.11, allocations: 1.586 MB / 1.24 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007276/1.118, allocations: 1.685 MB / 1.242 GB, free: 12.85 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0107/1.128, allocations: 7.84 MB / 1.25 GB, free: 5.738 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001812/1.13, allocations: 2.355 MB / 1.252 GB, free: 3.598 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009224/1.131, allocations: 256.7 kB / 1.252 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of SimCode: time 7.62e-07/1.131, allocations: 0 / 1.252 GB, free: 3.359 MB / 0.7917 GB Notification: Performance of Templates: time 0.129/1.26, allocations: 124.8 MB / 1.374 GB, free: 7.363 MB / 0.9167 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)