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.866/1.866, allocations: 288.4 MB / 303.4 MB, free: 8.09 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.001335/0.001335, allocations: 183.1 kB / 372 MB, free: 10.24 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.845/1.845, allocations: 205.4 MB / 0.6307 GB, free: 9.867 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.0009239/0.0009242, allocations: 109.1 kB / 0.7441 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005083/0.0005084, allocations: 11.91 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2739, allocations: 115.3 MB / 0.9796 GB, free: 27.65 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.8005/1.074, allocations: 147.9 MB / 1.124 GB, free: 1.805 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00633/1.081, allocations: 3.113 MB / 1.127 GB, free: 1.516 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007555/1.082, allocations: 13.09 kB / 1.127 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.000862/1.083, allocations: 209.6 kB / 1.127 GB, free: 1.453 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002694/1.085, allocations: 0.6258 MB / 1.128 GB, free: 1.293 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001809/1.087, allocations: 324.4 kB / 1.128 GB, free: 1.262 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002794/1.09, allocations: 1.177 MB / 1.129 GB, free: 1.082 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006385/1.091, allocations: 247 kB / 1.13 GB, free: 1.043 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009386/1.091, allocations: 334 kB / 1.13 GB, free: 0.9648 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007612/1.092, allocations: 319.1 kB / 1.13 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.038e-05/1.092, allocations: 15.34 kB / 1.13 GB, free: 0.9023 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00156/1.094, allocations: 371.5 kB / 1.131 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002126/1.094, allocations: 128.4 kB / 1.131 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.00025/1.094, allocations: 128.3 kB / 1.131 GB, free: 16.79 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001008/1.095, allocations: 0.639 MB / 1.131 GB, free: 16.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/1.095, allocations: 0 / 1.131 GB, free: 16.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.515e-06/1.095, allocations: 0 / 1.131 GB, free: 16.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.487e-06/1.095, allocations: 0 / 1.131 GB, free: 16.73 MB / 0.698 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.001478/1.097, allocations: 0.7735 MB / 1.132 GB, free: 16.18 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/1.097, allocations: 14.42 kB / 1.132 GB, free: 16.17 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/1.098, allocations: 152.1 kB / 1.132 GB, free: 16.14 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007454/1.099, allocations: 471.7 kB / 1.133 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.926e-05/1.099, allocations: 22.86 kB / 1.133 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.733e-05/1.099, allocations: 31.31 kB / 1.133 GB, free: 15.88 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005582/1.1, allocations: 315.4 kB / 1.133 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.709e-05/1.1, allocations: 3.938 kB / 1.133 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.565e-05/1.1, allocations: 12.06 kB / 1.133 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.652e-05/1.1, allocations: 20.06 kB / 1.133 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003846/1.1, allocations: 212.4 kB / 1.133 GB, free: 15.82 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.002021/1.102, allocations: 1.418 MB / 1.135 GB, free: 14.98 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003833/1.102, allocations: 217.5 kB / 1.135 GB, free: 14.96 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000185/1.103, allocations: 107.2 kB / 1.135 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.479e-05/1.103, allocations: 2.875 kB / 1.135 GB, free: 14.95 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003108/1.103, allocations: 168.3 kB / 1.135 GB, free: 14.89 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 2.644e-06/1.103, allocations: 0 / 1.135 GB, free: 14.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.002956/1.106, allocations: 1.154 MB / 1.136 GB, free: 14.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.19e-05/1.106, allocations: 56.64 kB / 1.136 GB, free: 14.45 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005097/1.107, allocations: 465.4 kB / 1.137 GB, free: 14.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.6e-05/1.107, allocations: 32.33 kB / 1.137 GB, free: 14.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000164/1.107, allocations: 239.9 kB / 1.137 GB, free: 14.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.597e-05/1.107, allocations: 99.45 kB / 1.137 GB, free: 14.1 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.843e-05/1.107, allocations: 11.88 kB / 1.137 GB, free: 14.1 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001452/1.107, allocations: 351.1 kB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002183/1.107, allocations: 134.1 kB / 1.138 GB, free: 13.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002543/1.108, allocations: 195.7 kB / 1.138 GB, free: 13.72 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000285/1.108, allocations: 155.4 kB / 1.138 GB, free: 13.72 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/1.108, allocations: 0 / 1.138 GB, free: 13.72 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009906/1.109, allocations: 0.4975 MB / 1.139 GB, free: 13.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/1.109, allocations: 6.531 kB / 1.139 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/1.109, allocations: 0 / 1.139 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000362/1.109, allocations: 82.92 kB / 1.139 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/1.11, allocations: 67.2 kB / 1.139 GB, free: 13.61 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001814/1.111, allocations: 1.752 MB / 1.14 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003755/1.112, allocations: 32.95 kB / 1.14 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.806e-05/1.112, allocations: 15 kB / 1.14 GB, free: 12.25 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.0002477/1.112, allocations: 192.6 kB / 1.141 GB, free: 12.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.571e-05/1.112, allocations: 49.23 kB / 1.141 GB, free: 12.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.55e-05/1.112, allocations: 55.5 kB / 1.141 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/1.112, allocations: 5.375 kB / 1.141 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/1.112, allocations: 0 / 1.141 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/1.112, allocations: 2.438 kB / 1.141 GB, free: 12.09 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/1.114, allocations: 1.011 MB / 1.142 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.427e-06/1.114, allocations: 0 / 1.142 GB, free: 11.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003883/1.114, allocations: 71.06 kB / 1.142 GB, free: 11.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003057/1.115, allocations: 77.98 kB / 1.142 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.341e-05/1.115, allocations: 9.312 kB / 1.142 GB, free: 11.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/1.116, allocations: 1.561 MB / 1.143 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/1.116, allocations: 0 / 1.143 GB, free: 10.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001209/1.117, allocations: 0.5893 MB / 1.144 GB, free: 9.969 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002239/1.118, allocations: 159.3 kB / 1.144 GB, free: 9.836 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.724e-05/1.118, allocations: 7.094 kB / 1.144 GB, free: 9.836 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003696/1.118, allocations: 18.33 kB / 1.144 GB, free: 9.832 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/1.118, allocations: 23.69 kB / 1.144 GB, free: 9.824 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.307e-05/1.118, allocations: 11.19 kB / 1.144 GB, free: 9.824 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004687/1.119, allocations: 302.6 kB / 1.144 GB, free: 9.707 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/1.119, allocations: 4 kB / 1.144 GB, free: 9.703 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006786/1.119, allocations: 124.9 kB / 1.145 GB, free: 9.699 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.001304/1.121, allocations: 435.5 kB / 1.145 GB, free: 9.504 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001036/1.122, allocations: 435.3 kB / 1.145 GB, free: 9.344 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.122, allocations: 0 / 1.145 GB, free: 9.344 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003936/1.122, allocations: 258.2 kB / 1.146 GB, free: 9.203 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001334/1.124, allocations: 241.4 kB / 1.146 GB, free: 9.121 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/1.126, allocations: 1.265 MB / 1.147 GB, free: 8.309 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007161/1.127, allocations: 0.8432 MB / 1.148 GB, free: 7.547 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0005492/1.128, allocations: 93.2 kB / 1.148 GB, free: 7.496 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001425/1.128, allocations: 42.97 kB / 1.148 GB, free: 7.484 MB / 0.698 GB Notification: Performance of SimCode: time 3.7e-07/1.128, allocations: 0 / 1.148 GB, free: 7.484 MB / 0.698 GB Notification: Performance of Templates: time 0.02196/1.15, allocations: 8.379 MB / 1.156 GB, free: 3.336 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)