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.0007961/0.0007961, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.00105/0.00105, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.931/1.931, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.6641/0.6641, allocations: 95.63 MB / 366 MB, free: 10.37 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.0006132/0.0006132, allocations: 16 kB / 446.8 MB, free: 9.383 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4548, allocations: 70.33 MB / 0.5051 GB, free: 16.51 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.Boiler.System1): time 0.5859/1.041, allocations: 161.9 MB / 0.6632 GB, free: 0.668 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003278/1.044, allocations: 1.627 MB / 0.6648 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004864/1.045, allocations: 14.72 kB / 0.6648 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006683/1.045, allocations: 191.5 kB / 0.665 GB, free: 0.4961 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003163/1.049, allocations: 0.7516 MB / 0.6657 GB, free: 300 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001778/1.05, allocations: 389.3 kB / 0.6661 GB, free: 252 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001742/1.052, allocations: 1.068 MB / 0.6671 GB, free: 80 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003367/1.052, allocations: 213.2 kB / 0.6673 GB, free: 48 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006566/1.053, allocations: 335.7 kB / 0.6677 GB, free: 0 / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006622/1.054, allocations: 309.6 kB / 0.668 GB, free: 0 / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.616e-05/1.054, allocations: 15.72 kB / 0.668 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001865/1.056, allocations: 0.5878 MB / 0.6685 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001985/1.056, allocations: 121.8 kB / 0.6687 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001614/1.056, allocations: 109.7 kB / 0.6688 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001191/1.057, allocations: 0.7133 MB / 0.6695 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.057, allocations: 0 / 0.6695 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.996e-06/1.057, allocations: 2.812 kB / 0.6695 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.472e-05/1.057, allocations: 0 / 0.6695 GB, free: 15.82 MB / 0.4981 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.001448/1.059, allocations: 0.7773 MB / 0.6702 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/1.059, allocations: 8 kB / 0.6702 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002003/1.059, allocations: 52.11 kB / 0.6703 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007932/1.06, allocations: 482.3 kB / 0.6707 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.861e-05/1.06, allocations: 17.69 kB / 0.6708 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.777e-05/1.06, allocations: 29.69 kB / 0.6708 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005036/1.06, allocations: 276.4 kB / 0.6711 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.619e-05/1.061, allocations: 0 / 0.6711 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.079e-05/1.061, allocations: 15.12 kB / 0.6711 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.043e-05/1.061, allocations: 6.844 kB / 0.6711 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004172/1.061, allocations: 262.4 kB / 0.6713 GB, free: 14.93 MB / 0.4981 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.001814/1.063, allocations: 1.334 MB / 0.6726 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004977/1.063, allocations: 257.2 kB / 0.6729 GB, free: 14.04 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002076/1.064, allocations: 136.7 kB / 0.673 GB, free: 14.03 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004949/1.064, allocations: 454.5 kB / 0.6734 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003267/1.064, allocations: 188.4 kB / 0.6736 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=31): time 1.563e-06/1.064, allocations: 0 / 0.6736 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of matching and sorting (n=38): time 0.005274/1.07, allocations: 1.714 MB / 0.6753 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/1.07, allocations: 61.39 kB / 0.6753 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004878/1.07, allocations: 409.4 kB / 0.6757 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.776e-05/1.07, allocations: 32.48 kB / 0.6758 GB, free: 12.91 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001578/1.07, allocations: 208.6 kB / 0.676 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001147/1.071, allocations: 126.9 kB / 0.6761 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.972e-05/1.071, allocations: 5.625 kB / 0.6761 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001673/1.071, allocations: 356.1 kB / 0.6764 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/1.071, allocations: 142.5 kB / 0.6766 GB, free: 12.4 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002983/1.071, allocations: 189 kB / 0.6768 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002853/1.072, allocations: 170.9 kB / 0.6769 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/1.072, allocations: 1.859 kB / 0.6769 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0009735/1.073, allocations: 0.5094 MB / 0.6774 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.204e-05/1.073, allocations: 8.406 kB / 0.6774 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.679e-05/1.073, allocations: 8.125 kB / 0.6774 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003269/1.073, allocations: 75.45 kB / 0.6775 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003979/1.073, allocations: 91.14 kB / 0.6776 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002019/1.075, allocations: 1.761 MB / 0.6793 GB, free: 10.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004285/1.076, allocations: 31.27 kB / 0.6793 GB, free: 10.87 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.702e-05/1.076, allocations: 11.16 kB / 0.6793 GB, free: 10.87 MB / 0.4981 GB Warning: Assuming fixed start value for the following 3 variables: vol.dynBal.medium.T:VARIABLE(min = max(1.0, 1.0) max = min(10000.0, 10000.0) start = vol.dynBal.T_start unit = "K" fixed = true nominal = 293.15 stateSelect=StateSelect.prefer protected = true ) "Temperature of medium" type: Real vol.dynBal.medium.Xi[1]:VARIABLE(flow=false min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) max = min(1.0, min(1.0, min(1.0, min(1.0, min(1.0, 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.p:VARIABLE(flow=false min = max(0.0, 0.0) max = 100000000.0 start = vol.dynBal.p_start unit = "Pa" fixed = true nominal = 101325.0 stateSelect=StateSelect.prefer protected = true ) "Absolute pressure 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 ($whenCondition1,$PRE.timTab.nextTimeEvent,timTab.nextTimeEvent,$PRE.timTab.nextTimeEventScaled,timTab.nextTimeEventScaled) * 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 (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 {(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004943/1.076, allocations: 218.1 kB / 0.6796 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.03e-05/1.077, allocations: 39.78 kB / 0.6796 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001199/1.078, allocations: 0.5318 MB / 0.6801 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.381e-06/1.078, allocations: 3.719 kB / 0.6801 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/1.078, allocations: 8.422 kB / 0.6801 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.516e-06/1.078, allocations: 3.984 kB / 0.6801 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002007/1.08, allocations: 1.176 MB / 0.6813 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.579e-06/1.08, allocations: 0 / 0.6813 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/1.08, allocations: 77.83 kB / 0.6814 GB, free: 10.15 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002694/1.081, allocations: 78.62 kB / 0.6814 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.366e-05/1.081, allocations: 13.64 kB / 0.6814 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/1.082, allocations: 1.551 MB / 0.683 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.165e-06/1.082, allocations: 2.656 kB / 0.683 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001189/1.083, allocations: 0.7323 MB / 0.6837 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/1.083, allocations: 173.1 kB / 0.6838 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.663e-05/1.084, allocations: 19.98 kB / 0.6839 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002969/1.084, allocations: 20.98 kB / 0.6839 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.207e-05/1.084, allocations: 24.31 kB / 0.6839 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/1.084, allocations: 17.42 kB / 0.6839 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000307/1.084, allocations: 294.3 kB / 0.6842 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.084, allocations: 0 / 0.6842 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008187/1.085, allocations: 224.6 kB / 0.6844 GB, free: 8.195 MB / 0.4981 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 (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.001357/1.086, allocations: 0.5724 MB / 0.685 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001027/1.088, allocations: 0.5001 MB / 0.6855 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.088, allocations: 0 / 0.6855 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004333/1.088, allocations: 314.9 kB / 0.6858 GB, free: 7.617 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001122/1.089, allocations: 245.5 kB / 0.686 GB, free: 7.535 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002352/1.091, allocations: 1.322 MB / 0.6873 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004842/1.092, allocations: 0.8409 MB / 0.6881 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004353/1.092, allocations: 95.09 kB / 0.6882 GB, free: 5.898 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001168/1.093, allocations: 44.39 kB / 0.6882 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of SimCode: time 7.81e-07/1.093, allocations: 0 / 0.6882 GB, free: 5.887 MB / 0.4981 GB Notification: Performance of Templates: time 0.01898/1.112, allocations: 11.1 MB / 0.6991 GB, free: 312 kB / 0.4981 GB make -j1 -f Buildings_1.6_Buildings.Examples.Tutorial.Boiler.System1.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: