Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 99.36 kB / 16.36 MB, free: 6.355 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.001127/0.001126, allocations: 192.9 kB / 17.3 MB, free: 5.891 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.37/1.37, allocations: 205.1 MB / 223.2 MB, free: 12.26 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.762/1.762, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.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: Performance of FrontEnd - loaded program: time 0.001461/0.001461, allocations: 67.19 kB / 0.6729 GB, free: 5.875 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2429, allocations: 114.6 MB / 0.7848 GB, free: 3.195 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.4042/0.6472, allocations: 57.2 MB / 0.8406 GB, free: 11.7 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0157/0.663, allocations: 10.37 MB / 0.8508 GB, free: 4.297 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002949/0.666, allocations: 55.62 kB / 0.8508 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002553/0.6686, allocations: 0.6867 MB / 0.8515 GB, free: 3.867 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006327/0.6749, allocations: 1.934 MB / 0.8534 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004213/0.6792, allocations: 1.329 MB / 0.8547 GB, free: 2.016 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006615/0.6858, allocations: 3.619 MB / 0.8582 GB, free: 272 kB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.6885, allocations: 1.233 MB / 0.8594 GB, free: 15.71 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/0.693, allocations: 1.318 MB / 0.8607 GB, free: 15.1 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002693/0.6957, allocations: 1.024 MB / 0.8617 GB, free: 14.63 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004383/0.6961, allocations: 130.3 kB / 0.8618 GB, free: 14.63 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003981/0.7001, allocations: 1.243 MB / 0.863 GB, free: 14.18 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0006246/0.7008, allocations: 344.5 kB / 0.8634 GB, free: 13.98 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001573/0.7024, allocations: 0.7792 MB / 0.8641 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005311/0.7077, allocations: 2.396 MB / 0.8665 GB, free: 12.6 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.7077, allocations: 5.156 kB / 0.8665 GB, free: 12.59 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.645e-06/0.7077, allocations: 0 / 0.8665 GB, free: 12.59 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.085e-05/0.7078, allocations: 2.25 kB / 0.8665 GB, free: 12.59 MB / 0.67 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.00426/0.7121, allocations: 1.881 MB / 0.8683 GB, free: 11.18 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.7121, allocations: 9.219 kB / 0.8683 GB, free: 11.18 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005963/0.7127, allocations: 171.5 kB / 0.8685 GB, free: 11.1 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002346/0.7151, allocations: 1.181 MB / 0.8696 GB, free: 10.17 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.872e-05/0.7152, allocations: 74.03 kB / 0.8697 GB, free: 10.13 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/0.7153, allocations: 94.78 kB / 0.8698 GB, free: 10.1 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001786/0.7171, allocations: 0.9558 MB / 0.8707 GB, free: 9.504 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.692e-05/0.7172, allocations: 5.312 kB / 0.8707 GB, free: 9.5 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.955e-05/0.7173, allocations: 39.41 kB / 0.8708 GB, free: 9.473 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.046e-05/0.7173, allocations: 22.12 kB / 0.8708 GB, free: 9.473 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.7186, allocations: 0.6692 MB / 0.8715 GB, free: 9.141 MB / 0.67 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.006294/0.7249, allocations: 4.071 MB / 0.8754 GB, free: 5.688 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000767/0.7257, allocations: 389 kB / 0.8758 GB, free: 5.496 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004495/0.7261, allocations: 259.9 kB / 0.8761 GB, free: 5.371 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005344/0.7267, allocations: 0.5031 MB / 0.8765 GB, free: 4.781 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000686/0.7274, allocations: 355.4 kB / 0.8769 GB, free: 4.535 MB / 0.67 GB Notification: Performance of pre-optimization done (n=52): time 2.424e-06/0.7274, allocations: 0 / 0.8769 GB, free: 4.535 MB / 0.67 GB Notification: Performance of matching and sorting (n=54): time 0.004635/0.732, allocations: 1.939 MB / 0.8788 GB, free: 3.277 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.818e-05/0.7322, allocations: 140 kB / 0.8789 GB, free: 3.117 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0017/0.7339, allocations: 1.102 MB / 0.88 GB, free: 2.512 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.621e-05/0.734, allocations: 39.48 kB / 0.88 GB, free: 2.473 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005399/0.7346, allocations: 0.5874 MB / 0.8806 GB, free: 1.949 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001945/0.7348, allocations: 181.3 kB / 0.8808 GB, free: 1.793 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002624/0.735, allocations: 146.8 kB / 0.8809 GB, free: 1.707 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001363/0.7352, allocations: 333.1 kB / 0.8812 GB, free: 1.383 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004229/0.7356, allocations: 230.3 kB / 0.8814 GB, free: 1.27 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000654/0.7363, allocations: 438.9 kB / 0.8819 GB, free: 0.9102 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009732/0.7373, allocations: 0.6584 MB / 0.8825 GB, free: 444 kB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.859e-06/0.7373, allocations: 1.5 kB / 0.8825 GB, free: 444 kB / 0.67 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001817/0.7391, allocations: 0.8909 MB / 0.8834 GB, free: 15.96 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.195e-05/0.7392, allocations: 43.19 kB / 0.8834 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.7392, allocations: 4.75 kB / 0.8834 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004252/0.7396, allocations: 110.2 kB / 0.8835 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000455/0.7401, allocations: 119 kB / 0.8836 GB, free: 15.84 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002124/0.7422, allocations: 2.352 MB / 0.8859 GB, free: 13.55 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001189/0.7434, allocations: 50.14 kB / 0.886 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.476e-05/0.7435, allocations: 27.44 kB / 0.886 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009/0.7444, allocations: 474.5 kB / 0.8865 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006065/0.745, allocations: 444.2 kB / 0.8869 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009449/0.746, allocations: 0.643 MB / 0.8875 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.573e-06/0.746, allocations: 10.19 kB / 0.8875 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.001742/0.7478, allocations: 0.8875 MB / 0.8884 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 4.237e-05/0.7478, allocations: 38.8 kB / 0.8884 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.066e-06/0.7478, allocations: 3.531 kB / 0.8884 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003814/0.7482, allocations: 107.7 kB / 0.8885 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000456/0.7487, allocations: 125.3 kB / 0.8887 GB, free: 11.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.7506, allocations: 2.359 MB / 0.891 GB, free: 9.496 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001176/0.7518, allocations: 55.41 kB / 0.891 GB, free: 9.469 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.107e-05/0.7519, allocations: 31.39 kB / 0.891 GB, free: 9.461 MB / 0.6856 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.0003672/0.7523, allocations: 266.3 kB / 0.8913 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000247/0.7525, allocations: 121.8 kB / 0.8914 GB, free: 9.145 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001485/0.754, allocations: 0.7938 MB / 0.8922 GB, free: 8.676 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/0.754, allocations: 8.781 kB / 0.8922 GB, free: 8.672 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.7541, allocations: 5.078 kB / 0.8922 GB, free: 8.668 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001019/0.7551, allocations: 0.6947 MB / 0.8929 GB, free: 8.219 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003061/0.7582, allocations: 1.829 MB / 0.8947 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.7582, allocations: 0 / 0.8947 GB, free: 6.922 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003989/0.7586, allocations: 81.23 kB / 0.8947 GB, free: 6.902 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003217/0.7589, allocations: 101.3 kB / 0.8948 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.911e-05/0.759, allocations: 18.98 kB / 0.8949 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.7609, allocations: 2.348 MB / 0.8972 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.7609, allocations: 5.656 kB / 0.8972 GB, free: 4.535 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001901/0.7628, allocations: 1.127 MB / 0.8983 GB, free: 3.852 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000604/0.7635, allocations: 255.7 kB / 0.8985 GB, free: 3.629 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001779/0.7636, allocations: 10.88 kB / 0.8985 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007223/0.7644, allocations: 43.05 kB / 0.8986 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.852e-05/0.7645, allocations: 32.45 kB / 0.8986 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.754e-05/0.7645, allocations: 32.47 kB / 0.8986 GB, free: 3.566 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.001312/0.7658, allocations: 0.8201 MB / 0.8994 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7659, allocations: 3.938 kB / 0.8994 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00219/0.7681, allocations: 0.6042 MB / 0.9 GB, free: 2.75 MB / 0.6856 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.001063/0.7691, allocations: 404.9 kB / 0.9004 GB, free: 2.363 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002434/0.7716, allocations: 1.374 MB / 0.9017 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.249e-06/0.7716, allocations: 448 / 0.9017 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0008321/0.7724, allocations: 478.2 kB / 0.9022 GB, free: 460 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003563/0.776, allocations: 0.7004 MB / 0.9029 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003613/0.7796, allocations: 2.022 MB / 0.9049 GB, free: 13.74 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007969/0.7805, allocations: 1.129 MB / 0.906 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003077/0.7808, allocations: 95.41 kB / 0.906 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of SimCode: time 9.62e-07/0.7808, allocations: 0 / 0.906 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of Templates: time 0.04235/0.8231, allocations: 32.01 MB / 0.9373 GB, free: 12.71 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)