Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.484/1.484, allocations: 251.5 MB / 267.4 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001025/0.001025, allocations: 174 kB / 326.5 MB, free: 2.691 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.686/1.686, allocations: 205 MB / 0.5766 GB, free: 21.02 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008532/0.0008529, allocations: 90.31 kB / 0.6803 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003042/0.0003042, allocations: 8.719 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2058/0.2061, allocations: 105.4 MB / 0.8967 GB, free: 68.19 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.03819/0.2443, allocations: 56.52 MB / 0.9519 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01267/0.2571, allocations: 10.44 MB / 0.9621 GB, free: 1.008 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002022/0.2591, allocations: 43.75 kB / 0.9622 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001863/0.261, allocations: 0.5634 MB / 0.9627 GB, free: 408 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005446/0.2665, allocations: 1.789 MB / 0.9645 GB, free: 14.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003506/0.27, allocations: 1.17 MB / 0.9656 GB, free: 13.44 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.005724/0.2757, allocations: 4.653 MB / 0.9701 GB, free: 8.781 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001736/0.2775, allocations: 0.978 MB / 0.9711 GB, free: 7.773 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002786/0.2803, allocations: 1.097 MB / 0.9722 GB, free: 6.672 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001758/0.2821, allocations: 0.976 MB / 0.9731 GB, free: 5.691 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001549/0.2822, allocations: 51.98 kB / 0.9732 GB, free: 5.641 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.2849, allocations: 1.134 MB / 0.9743 GB, free: 4.504 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002907/0.2852, allocations: 258.7 kB / 0.9745 GB, free: 4.25 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.000813/0.2861, allocations: 0.6837 MB / 0.9752 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002077/0.2881, allocations: 1.765 MB / 0.9769 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2882, allocations: 0 / 0.9769 GB, free: 1.793 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.804e-06/0.2882, allocations: 4 kB / 0.9769 GB, free: 1.789 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.103e-05/0.2882, allocations: 0 / 0.9769 GB, free: 1.789 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 221 * Number of variables: 221 Notification: Performance of Generate backend data structure: time 0.002612/0.2908, allocations: 1.598 MB / 0.9785 GB, free: 120 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.2909, allocations: 12.03 kB / 0.9785 GB, free: 108 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003849/0.2913, allocations: 167.2 kB / 0.9787 GB, free: 15.94 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.2929, allocations: 1.155 MB / 0.9798 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.445e-05/0.293, allocations: 77.94 kB / 0.9799 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.2931, allocations: 95.98 kB / 0.98 GB, free: 14.56 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00144/0.2946, allocations: 0.9449 MB / 0.9809 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/0.2946, allocations: 4 kB / 0.9809 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.31e-05/0.2947, allocations: 36 kB / 0.9809 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.819e-05/0.2948, allocations: 28 kB / 0.9809 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.2958, allocations: 0.6714 MB / 0.9816 GB, free: 12.84 MB / 0.6355 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.004571/0.3004, allocations: 4.069 MB / 0.9856 GB, free: 8.551 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006242/0.301, allocations: 381.2 kB / 0.9859 GB, free: 8.172 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000352/0.3014, allocations: 264.6 kB / 0.9862 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003947/0.3018, allocations: 0.4957 MB / 0.9867 GB, free: 7.305 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005059/0.3023, allocations: 350 kB / 0.987 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=52): time 1.753e-06/0.3023, allocations: 0 / 0.987 GB, free: 6.938 MB / 0.6355 GB Notification: Performance of matching and sorting (n=54): time 0.003447/0.3058, allocations: 1.941 MB / 0.9889 GB, free: 4.895 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001008/0.3059, allocations: 141 kB / 0.989 GB, free: 4.727 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.3073, allocations: 1.086 MB / 0.9901 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.838e-05/0.3074, allocations: 45.7 kB / 0.9901 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005383/0.3079, allocations: 0.5741 MB / 0.9907 GB, free: 2.996 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001732/0.3081, allocations: 185.4 kB / 0.9909 GB, free: 2.812 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.748e-05/0.3082, allocations: 61.69 kB / 0.9909 GB, free: 2.746 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.3084, allocations: 330 kB / 0.9912 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003656/0.3087, allocations: 221.9 kB / 0.9915 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005609/0.3093, allocations: 442 kB / 0.9919 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009375/0.3103, allocations: 0.6546 MB / 0.9925 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.3103, allocations: 0 / 0.9925 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001415/0.3117, allocations: 0.8951 MB / 0.9934 GB, free: 44 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002067/0.3119, allocations: 253.3 kB / 0.9936 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.3119, allocations: 7.938 kB / 0.9936 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003781/0.3123, allocations: 105.6 kB / 0.9937 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004062/0.3127, allocations: 123.8 kB / 0.9939 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002007/0.3148, allocations: 2.184 MB / 0.996 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008526/0.3156, allocations: 95.81 kB / 0.9961 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.68e-05/0.3157, allocations: 28 kB / 0.9961 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 5.34e-06/0.3157, allocations: 4 kB / 0.9961 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001232/0.3169, allocations: 0.7777 MB / 0.9969 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.317, allocations: 4.047 kB / 0.9969 GB, free: 12.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002644/0.3172, allocations: 113.6 kB / 0.997 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003851/0.3176, allocations: 120.1 kB / 0.9971 GB, free: 12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001632/0.3193, allocations: 2.176 MB / 0.9992 GB, free: 9.664 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007418/0.32, allocations: 83.83 kB / 0.9993 GB, free: 9.582 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.461e-05/0.3201, allocations: 31.98 kB / 0.9993 GB, free: 9.551 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 7 (y.nextEventScaled,y.nextEvent,$PRE.y.nextEvent,y.last,y.b,y.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of prepare postOptimizeDAE: time 0.0005777/0.3207, allocations: 430.6 kB / 0.9997 GB, free: 9.113 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001725/0.3209, allocations: 118.6 kB / 0.9999 GB, free: 8.996 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001325/0.3222, allocations: 0.8078 MB / 1.001 GB, free: 8.156 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/0.3222, allocations: 4.125 kB / 1.001 GB, free: 8.152 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.3222, allocations: 8 kB / 1.001 GB, free: 8.145 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009672/0.3232, allocations: 0.6956 MB / 1.001 GB, free: 7.402 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002546/0.3258, allocations: 1.809 MB / 1.003 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.168e-06/0.3258, allocations: 0 / 1.003 GB, free: 5.516 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.3262, allocations: 79.89 kB / 1.003 GB, free: 5.438 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003083/0.3265, allocations: 97.66 kB / 1.003 GB, free: 5.336 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.847e-05/0.3265, allocations: 24.08 kB / 1.003 GB, free: 5.312 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001671/0.3282, allocations: 2.184 MB / 1.005 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3282, allocations: 0 / 1.005 GB, free: 2.973 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00163/0.3299, allocations: 1.116 MB / 1.007 GB, free: 1.809 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004737/0.3303, allocations: 259.5 kB / 1.007 GB, free: 1.535 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002216/0.3306, allocations: 16 kB / 1.007 GB, free: 1.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007775/0.3314, allocations: 68.05 kB / 1.007 GB, free: 1.453 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001002/0.3315, allocations: 39.95 kB / 1.007 GB, free: 1.414 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.133e-05/0.3315, allocations: 23.98 kB / 1.007 GB, free: 1.391 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001253/0.3328, allocations: 0.8128 MB / 1.008 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.51e-07/0.3328, allocations: 0 / 1.008 GB, free: 0.5742 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002009/0.3348, allocations: 0.5859 MB / 1.008 GB, free: 15.98 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (boi1.heaCapDry.T) * Number of discrete variables: 6 ($whenCondition1,y.a,y.b,y.last,y.nextEvent,y.nextEventScaled) * Number of discrete states: 6 (y.nextEvent,y.last,y.nextEventScaled,y.b,y.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,4,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,6)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009698/0.3358, allocations: 412.6 kB / 1.009 GB, free: 15.59 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002311/0.3381, allocations: 1.344 MB / 1.01 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.262e-06/0.3381, allocations: 4 kB / 1.01 GB, free: 14.19 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006822/0.3388, allocations: 483.5 kB / 1.01 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003794/0.3426, allocations: 0.708 MB / 1.011 GB, free: 13 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00427/0.3469, allocations: 2.459 MB / 1.014 GB, free: 10.5 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008265/0.3478, allocations: 1.121 MB / 1.015 GB, free: 9.344 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003101/0.3481, allocations: 103.3 kB / 1.015 GB, free: 9.242 MB / 0.6667 GB Notification: Performance of SimCode: time 1.683e-06/0.3481, allocations: 4 kB / 1.015 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of Templates: time 0.0432/0.3913, allocations: 31.68 MB / 1.046 GB, free: 9.668 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)