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.007388/0.007389, allocations: 99.66 kB / 15.73 MB, free: 6.477 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.001473/0.001473, allocations: 189.9 kB / 16.67 MB, free: 6.391 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.6/1.6, allocations: 205.1 MB / 222.5 MB, free: 4.527 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.6489/0.6489, allocations: 95.48 MB / 365.4 MB, free: 9.777 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.001491/0.001491, allocations: 74.66 kB / 0.5036 GB, free: 13.64 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1891/0.1906, allocations: 69.09 MB / 0.5711 GB, free: 8.492 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.6049/0.7955, allocations: 177.9 MB / 0.7448 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003652/0.7992, allocations: 1.672 MB / 0.7464 GB, free: 10.99 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004849/0.7997, allocations: 15.94 kB / 0.7464 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009828/0.8007, allocations: 250.6 kB / 0.7466 GB, free: 10.73 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.002773/0.8036, allocations: 0.9563 MB / 0.7476 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002231/0.8058, allocations: 0.5403 MB / 0.7481 GB, free: 9.234 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001843/0.8077, allocations: 0.9617 MB / 0.749 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005335/0.8082, allocations: 265 kB / 0.7493 GB, free: 8.008 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009434/0.8092, allocations: 410.4 kB / 0.7497 GB, free: 7.605 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001027/0.8102, allocations: 322.3 kB / 0.75 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 7.115e-05/0.8103, allocations: 40 kB / 0.75 GB, free: 7.254 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002143/0.8124, allocations: 0.9318 MB / 0.7509 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001967/0.8126, allocations: 143.5 kB / 0.7511 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0002667/0.8129, allocations: 242.8 kB / 0.7513 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001823/0.8147, allocations: 1.051 MB / 0.7523 GB, free: 4.891 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.266e-06/0.8148, allocations: 3.984 kB / 0.7523 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8148, allocations: 0 / 0.7523 GB, free: 4.887 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.096e-05/0.8148, allocations: 4 kB / 0.7523 GB, free: 4.883 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.001707/0.8165, allocations: 0.8604 MB / 0.7532 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 6.736e-05/0.8166, allocations: 11.98 kB / 0.7532 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002295/0.8168, allocations: 59.28 kB / 0.7533 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009747/0.8178, allocations: 0.4972 MB / 0.7537 GB, free: 3.359 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.8178, allocations: 20.56 kB / 0.7538 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.976e-05/0.8179, allocations: 24 kB / 0.7538 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005836/0.8185, allocations: 276.8 kB / 0.754 GB, free: 3.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.924e-05/0.8185, allocations: 4 kB / 0.7541 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.8186, allocations: 12 kB / 0.7541 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.185e-05/0.8186, allocations: 4 kB / 0.7541 GB, free: 3.023 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000494/0.8191, allocations: 266.1 kB / 0.7543 GB, free: 2.766 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.001924/0.821, allocations: 1.335 MB / 0.7556 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005746/0.8216, allocations: 253 kB / 0.7559 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002466/0.8219, allocations: 142.1 kB / 0.756 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006428/0.8225, allocations: 461.5 kB / 0.7564 GB, free: 344 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003886/0.8229, allocations: 199.2 kB / 0.7566 GB, free: 132 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=31): time 1.552e-06/0.8229, allocations: 0 / 0.7566 GB, free: 132 kB / 0.5606 GB Notification: Performance of matching and sorting (n=38): time 0.006089/0.829, allocations: 1.696 MB / 0.7583 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.8291, allocations: 59.39 kB / 0.7583 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005944/0.8297, allocations: 417.5 kB / 0.7587 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.752e-05/0.8298, allocations: 33.7 kB / 0.7588 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001998/0.83, allocations: 204.6 kB / 0.759 GB, free: 13.65 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001629/0.8301, allocations: 130.1 kB / 0.7591 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001197/0.8303, allocations: 69.64 kB / 0.7592 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.8304, allocations: 354.7 kB / 0.7595 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002414/0.8307, allocations: 148.3 kB / 0.7596 GB, free: 12.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002873/0.831, allocations: 189.8 kB / 0.7598 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006947/0.8379, allocations: 1.43 MB / 0.7612 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.838, allocations: 0 / 0.7612 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.001231/0.8392, allocations: 0.4973 MB / 0.7617 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.8392, allocations: 8 kB / 0.7617 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.005e-05/0.8393, allocations: 8.062 kB / 0.7617 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003672/0.8396, allocations: 84.78 kB / 0.7618 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003971/0.84, allocations: 83.89 kB / 0.7619 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00231/0.8424, allocations: 1.955 MB / 0.7638 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003023/0.8427, allocations: 12 kB / 0.7638 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.025e-05/0.8427, allocations: 12 kB / 0.7638 GB, free: 8.496 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.0003717/0.8431, allocations: 194.4 kB / 0.764 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.54e-05/0.8432, allocations: 47.55 kB / 0.764 GB, free: 8.254 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.8444, allocations: 0.5374 MB / 0.7646 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.071e-06/0.8444, allocations: 4 kB / 0.7646 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.905e-06/0.8444, allocations: 0 / 0.7646 GB, free: 7.703 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.215e-06/0.8444, allocations: 3.984 kB / 0.7646 GB, free: 7.699 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001979/0.8464, allocations: 1.169 MB / 0.7657 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.8464, allocations: 4 kB / 0.7657 GB, free: 6.457 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003955/0.8468, allocations: 79.98 kB / 0.7658 GB, free: 6.379 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002874/0.8471, allocations: 76.73 kB / 0.7659 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.743e-05/0.8472, allocations: 19.98 kB / 0.7659 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001745/0.8489, allocations: 1.652 MB / 0.7675 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.8489, allocations: 3.938 kB / 0.7675 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.8503, allocations: 0.7347 MB / 0.7682 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002498/0.8505, allocations: 168.6 kB / 0.7684 GB, free: 3.531 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.8506, allocations: 12 kB / 0.7684 GB, free: 3.52 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002846/0.8509, allocations: 13.17 kB / 0.7684 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.073e-05/0.851, allocations: 27.97 kB / 0.7684 GB, free: 3.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.982e-05/0.851, allocations: 15.98 kB / 0.7685 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003591/0.8514, allocations: 295.1 kB / 0.7687 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8514, allocations: 0 / 0.7687 GB, free: 3.18 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0008287/0.8522, allocations: 227.8 kB / 0.769 GB, free: 2.957 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.00145/0.8537, allocations: 0.5963 MB / 0.7695 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001063/0.8547, allocations: 0.4908 MB / 0.77 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.796e-06/0.8548, allocations: 256 / 0.77 GB, free: 2.012 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0004411/0.8552, allocations: 318.4 kB / 0.7703 GB, free: 1.688 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001199/0.8564, allocations: 267.6 kB / 0.7706 GB, free: 1.434 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002323/0.8588, allocations: 1.053 MB / 0.7716 GB, free: 352 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006463/0.8594, allocations: 0.8399 MB / 0.7724 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.000345/0.8598, allocations: 100.3 kB / 0.7725 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001159/0.8599, allocations: 39.44 kB / 0.7726 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of SimCode: time 2.21e-07/0.8599, allocations: 0 / 0.7726 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of Templates: time 0.02069/0.8806, allocations: 12.06 MB / 0.7843 GB, free: 3.363 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)