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.001021/0.001021, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0011/0.0011, allocations: 177.3 kB / 15.95 MB, free: 216 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.428/1.428, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.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.676/1.676, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005336/0.0005337, allocations: 12.59 kB / 0.6735 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.261, allocations: 116.3 MB / 0.7871 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.04873/0.3097, allocations: 47.83 MB / 0.8338 GB, free: 12.01 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01521/0.325, allocations: 8.967 MB / 0.8426 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002173/0.3272, allocations: 43.69 kB / 0.8426 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002301/0.3296, allocations: 0.6257 MB / 0.8432 GB, free: 2.359 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00661/0.3362, allocations: 1.835 MB / 0.845 GB, free: 0.5195 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0053/0.3415, allocations: 1.403 MB / 0.8464 GB, free: 15.14 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005147/0.3467, allocations: 2.133 MB / 0.8485 GB, free: 13.01 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001657/0.3483, allocations: 0.9029 MB / 0.8494 GB, free: 12.08 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002082/0.3504, allocations: 0.9497 MB / 0.8503 GB, free: 11.13 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009254/0.3514, allocations: 0.6572 MB / 0.8509 GB, free: 10.47 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001269/0.3515, allocations: 52 kB / 0.851 GB, free: 10.42 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002155/0.3537, allocations: 0.7606 MB / 0.8517 GB, free: 9.656 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.354, allocations: 239 kB / 0.8519 GB, free: 9.422 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0003957/0.3544, allocations: 309 kB / 0.8522 GB, free: 9.113 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002298/0.3567, allocations: 1.664 MB / 0.8539 GB, free: 7.445 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.3567, allocations: 0 / 0.8539 GB, free: 7.445 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.094e-06/0.3567, allocations: 0 / 0.8539 GB, free: 7.445 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.095e-05/0.3567, allocations: 0 / 0.8539 GB, free: 7.445 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.003005/0.3597, allocations: 1.597 MB / 0.8554 GB, free: 5.773 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.714e-05/0.3598, allocations: 12.03 kB / 0.8554 GB, free: 5.762 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004065/0.3602, allocations: 162.2 kB / 0.8556 GB, free: 5.602 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001745/0.362, allocations: 1.065 MB / 0.8566 GB, free: 4.48 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.407e-05/0.362, allocations: 74 kB / 0.8567 GB, free: 4.41 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.3622, allocations: 92 kB / 0.8568 GB, free: 4.32 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001459/0.3636, allocations: 0.941 MB / 0.8577 GB, free: 3.34 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.237e-05/0.3637, allocations: 4 kB / 0.8577 GB, free: 3.336 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.681e-05/0.3638, allocations: 35.98 kB / 0.8577 GB, free: 3.301 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.508e-05/0.3638, allocations: 28 kB / 0.8578 GB, free: 3.273 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00108/0.3649, allocations: 0.6597 MB / 0.8584 GB, free: 2.617 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.004725/0.3696, allocations: 4.1 MB / 0.8624 GB, free: 14.3 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008117/0.3704, allocations: 424.4 kB / 0.8628 GB, free: 13.88 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004549/0.3709, allocations: 0.5031 MB / 0.8633 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005165/0.3714, allocations: 358.3 kB / 0.8637 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=52): time 1.944e-06/0.3715, allocations: 0 / 0.8637 GB, free: 12.89 MB / 0.6856 GB Notification: Performance of matching and sorting (n=54): time 0.003623/0.3751, allocations: 2.006 MB / 0.8656 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.646e-05/0.3752, allocations: 137 kB / 0.8658 GB, free: 10.61 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001341/0.3765, allocations: 1.121 MB / 0.8668 GB, free: 9.473 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/0.3766, allocations: 41.7 kB / 0.8669 GB, free: 9.426 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004403/0.377, allocations: 0.5702 MB / 0.8674 GB, free: 8.848 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.00014/0.3772, allocations: 185.4 kB / 0.8676 GB, free: 8.664 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.799e-05/0.3772, allocations: 16 kB / 0.8676 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001485/0.3774, allocations: 341.9 kB / 0.868 GB, free: 8.309 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003291/0.3777, allocations: 213.9 kB / 0.8682 GB, free: 8.098 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004761/0.3782, allocations: 426.2 kB / 0.8686 GB, free: 7.598 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004226/0.3786, allocations: 307.8 kB / 0.8689 GB, free: 7.293 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3786, allocations: 3.938 kB / 0.8689 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00128/0.3799, allocations: 0.8757 MB / 0.8697 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007151/0.3806, allocations: 1.705 MB / 0.8714 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.869e-06/0.3807, allocations: 4 kB / 0.8714 GB, free: 4.559 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003489/0.381, allocations: 105.7 kB / 0.8715 GB, free: 4.449 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.3815, allocations: 127.8 kB / 0.8716 GB, free: 4.324 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001739/0.3832, allocations: 2.184 MB / 0.8737 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009217/0.3841, allocations: 95.81 kB / 0.8738 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-05/0.3842, allocations: 31.98 kB / 0.8739 GB, free: 1.859 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 8.836e-06/0.3842, allocations: 8 kB / 0.8739 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001185/0.3854, allocations: 0.7588 MB / 0.8746 GB, free: 1.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.3855, allocations: 19.97 kB / 0.8746 GB, free: 1.062 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002716/0.3857, allocations: 109.6 kB / 0.8747 GB, free: 0.9492 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003954/0.3861, allocations: 123.8 kB / 0.8749 GB, free: 0.8281 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001592/0.3877, allocations: 2.184 MB / 0.877 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009375/0.3887, allocations: 95.84 kB / 0.8771 GB, free: 14.39 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.67e-05/0.3888, allocations: 28 kB / 0.8771 GB, free: 14.36 MB / 0.7012 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 ($whenCondition1,y.a,y.b,y.last,$PRE.y.nextEvent,y.nextEvent,y.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005858/0.3894, allocations: 422.6 kB / 0.8775 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.3895, allocations: 122.6 kB / 0.8776 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001226/0.3907, allocations: 0.8 MB / 0.8784 GB, free: 12.98 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/0.3908, allocations: 7.984 kB / 0.8784 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3908, allocations: 0 / 0.8784 GB, free: 12.97 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009188/0.3917, allocations: 0.6957 MB / 0.8791 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002444/0.3942, allocations: 1.81 MB / 0.8809 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.548e-06/0.3942, allocations: 0 / 0.8809 GB, free: 10.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003475/0.3945, allocations: 80.05 kB / 0.8809 GB, free: 10.26 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002851/0.3948, allocations: 101.8 kB / 0.881 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.554e-05/0.3949, allocations: 19.98 kB / 0.8811 GB, free: 10.13 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001661/0.3965, allocations: 2.18 MB / 0.8832 GB, free: 7.797 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.3966, allocations: 4.062 kB / 0.8832 GB, free: 7.793 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001574/0.3981, allocations: 1.173 MB / 0.8843 GB, free: 6.555 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004758/0.3986, allocations: 283.5 kB / 0.8846 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001482/0.3988, allocations: 12 kB / 0.8846 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006717/0.3995, allocations: 63.84 kB / 0.8847 GB, free: 6.184 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.146e-05/0.3995, allocations: 39.91 kB / 0.8847 GB, free: 6.145 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.773e-05/0.3996, allocations: 23.98 kB / 0.8847 GB, free: 6.121 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0009964/0.4006, allocations: 0.7876 MB / 0.8855 GB, free: 5.328 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4006, allocations: 3.938 kB / 0.8855 GB, free: 5.324 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.00171/0.4023, allocations: 0.5976 MB / 0.8861 GB, free: 4.727 MB / 0.7012 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 4} * Non-linear torn systems: 1 {1 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007435/0.4031, allocations: 393 kB / 0.8865 GB, free: 4.336 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002064/0.4052, allocations: 1.356 MB / 0.8878 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 4.318e-06/0.4052, allocations: 0 / 0.8878 GB, free: 2.938 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0006528/0.4058, allocations: 486.6 kB / 0.8883 GB, free: 2.434 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002806/0.4087, allocations: 0.5754 MB / 0.8888 GB, free: 1.867 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003543/0.4122, allocations: 2.384 MB / 0.8912 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007561/0.413, allocations: 1.148 MB / 0.8923 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009086/0.4139, allocations: 229.5 kB / 0.8925 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001704/0.4141, allocations: 91.41 kB / 0.8926 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of SimCode: time 5.51e-07/0.4141, allocations: 0 / 0.8926 GB, free: 13.95 MB / 0.7169 GB Notification: Performance of Templates: time 0.03688/0.451, allocations: 23.83 MB / 0.9159 GB, free: 6.426 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: