Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.99/1.99, allocations: 287.5 MB / 302.6 MB, free: 8.34 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.001381/0.001381, allocations: 176.5 kB / 371.2 MB, free: 10.82 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.759/1.759, allocations: 205.4 MB / 0.6299 GB, free: 10.43 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.00091/0.00091, allocations: 84.72 kB / 0.7432 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004392/0.0004393, allocations: 11.56 kB / 0.8661 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2196/0.2201, allocations: 115.3 MB / 0.9787 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6955/0.9156, allocations: 147.9 MB / 1.123 GB, free: 1.23 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005898/0.9216, allocations: 3.113 MB / 1.126 GB, free: 0.9453 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006463/0.9223, allocations: 23.81 kB / 1.126 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0007884/0.9231, allocations: 200.6 kB / 1.126 GB, free: 0.8828 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00197/0.9251, allocations: 0.6262 MB / 1.127 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001039/0.9261, allocations: 324.6 kB / 1.127 GB, free: 0.6875 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001253/0.9274, allocations: 1.174 MB / 1.128 GB, free: 0.5078 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003217/0.9277, allocations: 274 kB / 1.129 GB, free: 472 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004836/0.9282, allocations: 334.1 kB / 1.129 GB, free: 392 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004446/0.9287, allocations: 329.3 kB / 1.129 GB, free: 324 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.037e-05/0.9287, allocations: 13.88 kB / 1.129 GB, free: 324 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008902/0.9296, allocations: 357.4 kB / 1.13 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001376/0.9298, allocations: 138.4 kB / 1.13 GB, free: 260 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 9.655e-05/0.9299, allocations: 123.3 kB / 1.13 GB, free: 208 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0005896/0.9305, allocations: 0.6477 MB / 1.131 GB, free: 148 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.9305, allocations: 0 / 1.131 GB, free: 148 kB / 0.6823 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9305, allocations: 0 / 1.131 GB, free: 148 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.633e-06/0.9305, allocations: 0 / 1.131 GB, free: 148 kB / 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.001172/0.9317, allocations: 0.7663 MB / 1.131 GB, free: 15.59 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.9317, allocations: 10.69 kB / 1.131 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008951/0.9326, allocations: 150.3 kB / 1.131 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006507/0.9333, allocations: 484.7 kB / 1.132 GB, free: 15.29 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.9333, allocations: 27.28 kB / 1.132 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.431e-05/0.9334, allocations: 30.94 kB / 1.132 GB, free: 15.28 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005273/0.9339, allocations: 312.2 kB / 1.132 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.441e-05/0.934, allocations: 1.562 kB / 1.132 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.112e-05/0.934, allocations: 11.66 kB / 1.132 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.394e-05/0.934, allocations: 10.59 kB / 1.132 GB, free: 15.23 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003487/0.9344, allocations: 218.6 kB / 1.133 GB, free: 15.22 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.001745/0.9361, allocations: 1.425 MB / 1.134 GB, free: 14.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003797/0.9365, allocations: 226.8 kB / 1.134 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001768/0.9367, allocations: 106.9 kB / 1.134 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.808e-05/0.9367, allocations: 7.578 kB / 1.134 GB, free: 14.35 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002636/0.937, allocations: 155.6 kB / 1.134 GB, free: 14.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=26): time 1.833e-06/0.937, allocations: 4 kB / 1.134 GB, free: 14.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=30): time 0.002645/0.9397, allocations: 1.161 MB / 1.136 GB, free: 13.91 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.674e-05/0.9397, allocations: 58.69 kB / 1.136 GB, free: 13.84 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000445/0.9402, allocations: 454.7 kB / 1.136 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.504e-05/0.9402, allocations: 35.27 kB / 1.136 GB, free: 13.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001523/0.9404, allocations: 230.3 kB / 1.136 GB, free: 13.58 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 8.454e-05/0.9405, allocations: 111.7 kB / 1.136 GB, free: 13.51 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.969e-05/0.9405, allocations: 7.469 kB / 1.136 GB, free: 13.51 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.9407, allocations: 358.1 kB / 1.137 GB, free: 13.19 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002157/0.9409, allocations: 128 kB / 1.137 GB, free: 13.19 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002343/0.9411, allocations: 198.1 kB / 1.137 GB, free: 13.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004111/0.9416, allocations: 321 kB / 1.137 GB, free: 13.07 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.9416, allocations: 0 / 1.137 GB, free: 13.07 MB / 0.698 GB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0008822/0.9425, allocations: 0.4908 MB / 1.138 GB, free: 12.98 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.9425, allocations: 5.219 kB / 1.138 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.9425, allocations: 1.5 kB / 1.138 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003525/0.9429, allocations: 84.72 kB / 1.138 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002882/0.9432, allocations: 65.2 kB / 1.138 GB, free: 12.96 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.9449, allocations: 1.749 MB / 1.14 GB, free: 11.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003487/0.9453, allocations: 26.39 kB / 1.14 GB, free: 11.61 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.9453, allocations: 10.88 kB / 1.14 GB, free: 11.61 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.0002459/0.9456, allocations: 200.7 kB / 1.14 GB, free: 11.48 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.48e-05/0.9456, allocations: 50.27 kB / 1.14 GB, free: 11.46 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001033/0.9457, allocations: 59.67 kB / 1.14 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.9458, allocations: 4.156 kB / 1.14 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.9458, allocations: 1.469 kB / 1.14 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.9458, allocations: 0 / 1.14 GB, free: 11.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00159/0.9474, allocations: 1.015 MB / 1.141 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.9474, allocations: 1.094 kB / 1.141 GB, free: 11.12 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.9478, allocations: 68.33 kB / 1.141 GB, free: 11.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002989/0.9481, allocations: 76.78 kB / 1.141 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.705e-05/0.9481, allocations: 12.92 kB / 1.141 GB, free: 11.1 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.9495, allocations: 1.556 MB / 1.143 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.9495, allocations: 1.75 kB / 1.143 GB, free: 9.82 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.9506, allocations: 0.5927 MB / 1.143 GB, free: 9.633 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.9508, allocations: 154.1 kB / 1.143 GB, free: 9.516 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.861e-05/0.9508, allocations: 8.094 kB / 1.143 GB, free: 9.516 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003363/0.9512, allocations: 21.14 kB / 1.143 GB, free: 9.512 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.011e-05/0.9512, allocations: 23.56 kB / 1.143 GB, free: 9.508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.905e-05/0.9513, allocations: 14 kB / 1.143 GB, free: 9.508 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003748/0.9517, allocations: 304 kB / 1.144 GB, free: 9.426 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9517, allocations: 4 kB / 1.144 GB, free: 9.422 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005482/0.9522, allocations: 124.2 kB / 1.144 GB, free: 9.422 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.0009885/0.9532, allocations: 431.8 kB / 1.144 GB, free: 9.238 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007881/0.954, allocations: 444.6 kB / 1.145 GB, free: 9.102 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.954, allocations: 0 / 1.145 GB, free: 9.102 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003612/0.9544, allocations: 258.2 kB / 1.145 GB, free: 8.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001096/0.9555, allocations: 228.5 kB / 1.145 GB, free: 8.949 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.9575, allocations: 1.268 MB / 1.146 GB, free: 8.289 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.958, allocations: 0.8487 MB / 1.147 GB, free: 7.59 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003994/0.9584, allocations: 86.28 kB / 1.147 GB, free: 7.562 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001126/0.9585, allocations: 37.72 kB / 1.147 GB, free: 7.555 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/0.9585, allocations: 0 / 1.147 GB, free: 7.555 MB / 0.698 GB Notification: Performance of Templates: time 0.01684/0.9754, allocations: 8.388 MB / 1.156 GB, free: 3.449 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)