Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") translateModel(Buildings.Examples.Tutorial.Boiler.System1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007151/0.007157, allocations: 104.7 kB / 15.74 MB, free: 6.035 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001229/0.001229, allocations: 200.3 kB / 16.68 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.815/1.815, allocations: 205.1 MB / 222.6 MB, free: 4.523 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6231/0.6231, allocations: 95.47 MB / 365.4 MB, free: 9.766 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 78.08 kB / 0.5036 GB, free: 13.49 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1761/0.1775, allocations: 69.09 MB / 0.5711 GB, free: 8.344 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6598/0.8374, allocations: 177.9 MB / 0.7448 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003932/0.8414, allocations: 1.676 MB / 0.7464 GB, free: 10.93 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007321/0.8421, allocations: 11.94 kB / 0.7464 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001048/0.8432, allocations: 250.7 kB / 0.7466 GB, free: 10.68 MB / 0.5606 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.003098/0.8464, allocations: 0.9637 MB / 0.7476 GB, free: 9.711 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.8481, allocations: 0.5401 MB / 0.7481 GB, free: 9.176 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001512/0.8497, allocations: 0.9577 MB / 0.749 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004868/0.8502, allocations: 269 kB / 0.7493 GB, free: 7.949 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008235/0.851, allocations: 394.4 kB / 0.7497 GB, free: 7.562 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.8521, allocations: 319.7 kB / 0.75 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001356/0.8523, allocations: 43.94 kB / 0.75 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002243/0.8546, allocations: 0.9317 MB / 0.7509 GB, free: 6.273 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002637/0.8548, allocations: 147.6 kB / 0.7511 GB, free: 6.129 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004153/0.8553, allocations: 242.8 kB / 0.7513 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002454/0.8577, allocations: 1.055 MB / 0.7523 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.415e-06/0.8577, allocations: 0 / 0.7523 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.8577, allocations: 3.938 kB / 0.7523 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.028e-05/0.8578, allocations: 0 / 0.7523 GB, free: 4.832 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 62 * Number of variables: 62 Notification: Performance of Generate backend data structure: time 0.002002/0.8598, allocations: 0.8565 MB / 0.7532 GB, free: 3.922 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/0.8598, allocations: 15.98 kB / 0.7532 GB, free: 3.906 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003337/0.8602, allocations: 59.33 kB / 0.7532 GB, free: 3.848 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001028/0.8612, allocations: 0.4894 MB / 0.7537 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.999e-05/0.8613, allocations: 16.56 kB / 0.7537 GB, free: 3.301 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.6e-05/0.8613, allocations: 28 kB / 0.7538 GB, free: 3.273 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005698/0.8619, allocations: 284.8 kB / 0.754 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.043e-05/0.8619, allocations: 7.984 kB / 0.754 GB, free: 2.984 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.714e-05/0.862, allocations: 8 kB / 0.7541 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/0.862, allocations: 8 kB / 0.7541 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005069/0.8625, allocations: 262.1 kB / 0.7543 GB, free: 2.715 MB / 0.5606 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.002123/0.8646, allocations: 1.339 MB / 0.7556 GB, free: 1.219 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005568/0.8652, allocations: 254.4 kB / 0.7559 GB, free: 0.9609 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/0.8655, allocations: 141.5 kB / 0.756 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005633/0.8661, allocations: 453.5 kB / 0.7564 GB, free: 292 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004082/0.8665, allocations: 195.3 kB / 0.7566 GB, free: 84 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 4.198e-06/0.8665, allocations: 0 / 0.7566 GB, free: 84 kB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.005887/0.8724, allocations: 1.704 MB / 0.7583 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.31e-05/0.8725, allocations: 59.41 kB / 0.7583 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004928/0.873, allocations: 409.6 kB / 0.7587 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/0.873, allocations: 33.7 kB / 0.7588 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001749/0.8732, allocations: 208.6 kB / 0.759 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/0.8733, allocations: 134.1 kB / 0.7591 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.8735, allocations: 69.66 kB / 0.7592 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.8736, allocations: 362.7 kB / 0.7595 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.8739, allocations: 136.3 kB / 0.7596 GB, free: 12.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002938/0.8742, allocations: 193.8 kB / 0.7598 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007212/0.8814, allocations: 1.418 MB / 0.7612 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/0.8814, allocations: 0 / 0.7612 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001054/0.8825, allocations: 0.509 MB / 0.7617 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.241e-05/0.8825, allocations: 11.31 kB / 0.7617 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.141e-05/0.8825, allocations: 7.938 kB / 0.7617 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003722/0.8829, allocations: 80.8 kB / 0.7618 GB, free: 10.64 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004149/0.8833, allocations: 79.89 kB / 0.7619 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002055/0.8854, allocations: 1.957 MB / 0.7638 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003214/0.8857, allocations: 12.03 kB / 0.7638 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.261e-05/0.8858, allocations: 15.98 kB / 0.7638 GB, free: 8.441 MB / 0.5762 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.p:VARIABLE(flow=false min = 0.0 max = 1e8 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(flow=false min = 0.0 max = 1.0 start = 0.01 unit = "1" fixed = true nominal = 0.01 stateSelect=StateSelect.prefer protected = true ) "Structurally independent mass fractions" type: Real [1] vol.dynBal.medium.T:VARIABLE(min = 1.0 max = 1e4 start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.timTab.nextTimeEvent,$whenCondition1,timTab.nextTimeEventScaled,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.000407/0.8862, allocations: 198.2 kB / 0.764 GB, free: 8.246 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.811e-05/0.8863, allocations: 39.53 kB / 0.764 GB, free: 8.207 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001197/0.8875, allocations: 0.5296 MB / 0.7645 GB, free: 7.668 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.8875, allocations: 4 kB / 0.7646 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.8875, allocations: 4 kB / 0.7646 GB, free: 7.66 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.024e-06/0.8875, allocations: 7.922 kB / 0.7646 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002061/0.8896, allocations: 1.169 MB / 0.7657 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.8896, allocations: 8.203 kB / 0.7657 GB, free: 6.406 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004242/0.8901, allocations: 83.89 kB / 0.7658 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000319/0.8904, allocations: 76.78 kB / 0.7659 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.649e-05/0.8904, allocations: 12 kB / 0.7659 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001474/0.8919, allocations: 1.655 MB / 0.7675 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.8919, allocations: 4.031 kB / 0.7675 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001252/0.8932, allocations: 0.7306 MB / 0.7682 GB, free: 3.668 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002017/0.8934, allocations: 164.5 kB / 0.7684 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.306e-05/0.8935, allocations: 16 kB / 0.7684 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.8938, allocations: 11.98 kB / 0.7684 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.543e-05/0.8939, allocations: 27.95 kB / 0.7684 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.8939, allocations: 19.94 kB / 0.7684 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003625/0.8943, allocations: 295.1 kB / 0.7687 GB, free: 3.129 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8943, allocations: 4 kB / 0.7687 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009685/0.8953, allocations: 231.8 kB / 0.7689 GB, free: 2.898 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (vol.dynBal.medium.p,vol.dynBal.medium.Xi[1],vol.dynBal.medium.T) * Number of discrete variables: 3 ($whenCondition1,timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of discrete states: 2 (timTab.nextTimeEvent,timTab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001497/0.8968, allocations: 0.5909 MB / 0.7695 GB, free: 2.461 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001048/0.8978, allocations: 0.4988 MB / 0.77 GB, free: 1.949 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.937e-06/0.8979, allocations: 4 kB / 0.77 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003952/0.8983, allocations: 306.4 kB / 0.7703 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001198/0.8995, allocations: 263.4 kB / 0.7706 GB, free: 1.383 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002146/0.9016, allocations: 1.057 MB / 0.7716 GB, free: 296 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004685/0.9021, allocations: 0.8477 MB / 0.7724 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003406/0.9025, allocations: 96.25 kB / 0.7725 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001228/0.9026, allocations: 47.42 kB / 0.7726 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of SimCode: time 5.01e-07/0.9026, allocations: 0 / 0.7726 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of Templates: time 0.01932/0.9219, allocations: 11.88 MB / 0.7842 GB, free: 3.473 MB / 0.5919 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.makefile (rm -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; mkfifo Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe >> ../files/Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.sim & ./Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.pipe 2>&1)