Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.878/1.878, allocations: 288.3 MB / 303.2 MB, free: 8.148 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001332/0.001332, allocations: 180.5 kB / 371.9 MB, free: 10.27 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.799/1.799, allocations: 205.4 MB / 0.6306 GB, free: 9.922 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 96.36 kB / 0.7439 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 10.34 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2614/0.2618, allocations: 115.3 MB / 0.9794 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.7904/1.052, allocations: 136.8 MB / 1.113 GB, free: 1.922 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00645/1.059, allocations: 3.234 MB / 1.116 GB, free: 1.66 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008391/1.06, allocations: 16.38 kB / 1.116 GB, free: 1.652 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.00108/1.061, allocations: 276.3 kB / 1.116 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003247/1.064, allocations: 0.7984 MB / 1.117 GB, free: 1.559 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002228/1.066, allocations: 0.5054 MB / 1.118 GB, free: 1.531 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001851/1.068, allocations: 0.6375 MB / 1.118 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004717/1.069, allocations: 245.6 kB / 1.119 GB, free: 1.473 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006724/1.069, allocations: 318.1 kB / 1.119 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003943/1.07, allocations: 235.5 kB / 1.119 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.739e-05/1.07, allocations: 14.56 kB / 1.119 GB, free: 1.363 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00153/1.071, allocations: 321.6 kB / 1.119 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002273/1.072, allocations: 132.1 kB / 1.12 GB, free: 1.332 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001935/1.072, allocations: 118.6 kB / 1.12 GB, free: 1.285 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001088/1.073, allocations: 0.6129 MB / 1.12 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/1.073, allocations: 0 / 1.12 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.216e-06/1.073, allocations: 0 / 1.12 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.935e-06/1.073, allocations: 4 kB / 1.12 GB, free: 1.227 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 69 * Number of variables: 69 Notification: Performance of Generate backend data structure: time 0.001551/1.074, allocations: 0.7592 MB / 1.121 GB, free: 16.68 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/1.074, allocations: 13.02 kB / 1.121 GB, free: 16.68 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001003/1.075, allocations: 153.9 kB / 1.121 GB, free: 16.64 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008097/1.076, allocations: 476.1 kB / 1.122 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.491e-05/1.076, allocations: 22.34 kB / 1.122 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-05/1.076, allocations: 29.28 kB / 1.122 GB, free: 16.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006216/1.077, allocations: 318.8 kB / 1.122 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.634e-05/1.077, allocations: 0 / 1.122 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.619e-05/1.077, allocations: 14.42 kB / 1.122 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.038e-05/1.077, allocations: 10.31 kB / 1.122 GB, free: 16.32 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004236/1.078, allocations: 220.6 kB / 1.122 GB, free: 16.32 MB / 0.698 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.002136/1.08, allocations: 1.41 MB / 1.124 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000421/1.08, allocations: 223.4 kB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.559e-05/1.08, allocations: 2.156 kB / 1.124 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003192/1.081, allocations: 164.7 kB / 1.124 GB, free: 15.41 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.723e-06/1.081, allocations: 0 / 1.124 GB, free: 15.41 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.00318/1.084, allocations: 1.16 MB / 1.125 GB, free: 15.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.961e-05/1.084, allocations: 56.55 kB / 1.125 GB, free: 14.95 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005435/1.084, allocations: 453 kB / 1.126 GB, free: 14.84 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.483e-05/1.084, allocations: 34.03 kB / 1.126 GB, free: 14.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/1.085, allocations: 236.3 kB / 1.126 GB, free: 14.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/1.085, allocations: 106.6 kB / 1.126 GB, free: 14.62 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.174e-05/1.085, allocations: 7.562 kB / 1.126 GB, free: 14.62 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001489/1.085, allocations: 353.6 kB / 1.126 GB, free: 14.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002247/1.085, allocations: 134.5 kB / 1.126 GB, free: 14.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002657/1.085, allocations: 200.4 kB / 1.127 GB, free: 14.23 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002532/1.086, allocations: 148.6 kB / 1.127 GB, free: 14.23 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/1.086, allocations: 5.891 kB / 1.127 GB, free: 14.23 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009318/1.087, allocations: 0.4937 MB / 1.127 GB, free: 14.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.202e-05/1.087, allocations: 5.844 kB / 1.127 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.748e-06/1.087, allocations: 3.188 kB / 1.127 GB, free: 14.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003571/1.087, allocations: 80.61 kB / 1.127 GB, free: 14.13 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002787/1.087, allocations: 70.23 kB / 1.127 GB, free: 14.12 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001836/1.089, allocations: 1.766 MB / 1.129 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003981/1.09, allocations: 28.31 kB / 1.129 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.495e-05/1.09, allocations: 19.28 kB / 1.129 GB, free: 12.77 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.timTab.tab.nextTimeEvent,timTab.tab.nextTimeEvent,$PRE.timTab.tab.nextTimeEventScaled,timTab.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (42): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 5} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003312/1.09, allocations: 200 kB / 1.129 GB, free: 12.64 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.292e-05/1.09, allocations: 48.02 kB / 1.129 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001083/1.09, allocations: 54.5 kB / 1.129 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/1.09, allocations: 5.438 kB / 1.129 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.09, allocations: 0 / 1.129 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.085e-06/1.09, allocations: 2.156 kB / 1.129 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001662/1.092, allocations: 1.007 MB / 1.13 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/1.092, allocations: 0 / 1.13 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003851/1.092, allocations: 72.86 kB / 1.13 GB, free: 12.28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002818/1.093, allocations: 73.81 kB / 1.131 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.99e-05/1.093, allocations: 13.86 kB / 1.131 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0014/1.094, allocations: 1.575 MB / 1.132 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.027e-06/1.094, allocations: 3.953 kB / 1.132 GB, free: 10.99 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001032/1.095, allocations: 0.6046 MB / 1.133 GB, free: 10.79 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002281/1.095, allocations: 155 kB / 1.133 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.085e-05/1.095, allocations: 11.7 kB / 1.133 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003411/1.096, allocations: 12.27 kB / 1.133 GB, free: 10.67 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.097e-05/1.096, allocations: 28.97 kB / 1.133 GB, free: 10.66 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.824e-05/1.096, allocations: 12.02 kB / 1.133 GB, free: 10.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003684/1.096, allocations: 300.6 kB / 1.133 GB, free: 10.59 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/1.096, allocations: 0 / 1.133 GB, free: 10.59 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005945/1.097, allocations: 125.3 kB / 1.133 GB, free: 10.59 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (vol.dynBal.medium.Xi[1],vol.dynBal.m,heaCap.T) * Number of discrete variables: 3 ($whenCondition1,timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.tab.nextTimeEvent,timTab.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001246/1.098, allocations: 434.4 kB / 1.134 GB, free: 10.39 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0008687/1.099, allocations: 436.2 kB / 1.134 GB, free: 10.26 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/1.099, allocations: 1.656 kB / 1.134 GB, free: 10.26 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000357/1.099, allocations: 256.4 kB / 1.134 GB, free: 10.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001157/1.101, allocations: 233.5 kB / 1.135 GB, free: 10.05 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002171/1.103, allocations: 1.256 MB / 1.136 GB, free: 9.246 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004783/1.103, allocations: 0.8603 MB / 1.137 GB, free: 8.469 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004192/1.104, allocations: 84.55 kB / 1.137 GB, free: 8.426 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.104, allocations: 43.33 kB / 1.137 GB, free: 8.414 MB / 0.698 GB Notification: Performance of SimCode: time 4.31e-07/1.104, allocations: 1.75 kB / 1.137 GB, free: 8.414 MB / 0.698 GB Notification: Performance of Templates: time 0.02012/1.124, allocations: 8.382 MB / 1.145 GB, free: 4.262 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)