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.001082/0.001082, allocations: 91.3 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.001333/0.001333, 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.444/1.444, allocations: 205.4 MB / 222.1 MB, free: 5.664 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.665/1.665, allocations: 292.7 MB / 0.5499 GB, free: 14.57 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.0006017/0.0006019, allocations: 15.28 kB / 0.6737 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2554/0.2561, allocations: 116.3 MB / 0.7873 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05115/0.3072, allocations: 52.73 MB / 0.8388 GB, free: 7.039 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.3217, allocations: 9.721 MB / 0.8483 GB, free: 13.3 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.3241, allocations: 47.69 kB / 0.8483 GB, free: 13.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001849/0.326, allocations: 0.4892 MB / 0.8488 GB, free: 12.76 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004903/0.3309, allocations: 1.531 MB / 0.8503 GB, free: 11.22 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003352/0.3342, allocations: 0.99 MB / 0.8512 GB, free: 10.25 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005463/0.3397, allocations: 4.019 MB / 0.8552 GB, free: 6.215 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001612/0.3414, allocations: 0.891 MB / 0.856 GB, free: 5.301 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002221/0.3436, allocations: 1.058 MB / 0.8571 GB, free: 4.238 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001333/0.3449, allocations: 0.91 MB / 0.858 GB, free: 3.324 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001215/0.3451, allocations: 52 kB / 0.858 GB, free: 3.273 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002073/0.3471, allocations: 0.8614 MB / 0.8589 GB, free: 2.41 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002862/0.3474, allocations: 254.9 kB / 0.8591 GB, free: 2.16 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004276/0.3479, allocations: 309 kB / 0.8594 GB, free: 1.852 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001955/0.3498, allocations: 1.711 MB / 0.8611 GB, free: 140 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3499, allocations: 0 / 0.8611 GB, free: 140 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3499, allocations: 0 / 0.8611 GB, free: 140 kB / 0.67 GB Notification: Performance of Transformations before backend: time 2.013e-05/0.3499, allocations: 0 / 0.8611 GB, free: 140 kB / 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.002583/0.3525, allocations: 1.625 MB / 0.8627 GB, free: 14.44 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.011e-05/0.3525, allocations: 8.031 kB / 0.8627 GB, free: 14.43 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003498/0.3529, allocations: 162.2 kB / 0.8628 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001696/0.3546, allocations: 1.12 MB / 0.8639 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.66e-05/0.3547, allocations: 70 kB / 0.864 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000122/0.3548, allocations: 95.94 kB / 0.8641 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001525/0.3563, allocations: 0.9527 MB / 0.865 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.77e-05/0.3564, allocations: 4 kB / 0.865 GB, free: 11.94 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.122e-05/0.3565, allocations: 39.98 kB / 0.865 GB, free: 11.9 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.846e-05/0.3565, allocations: 24 kB / 0.8651 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001154/0.3577, allocations: 0.6636 MB / 0.8657 GB, free: 11.21 MB / 0.6856 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.005016/0.3627, allocations: 4.069 MB / 0.8697 GB, free: 6.934 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000637/0.3634, allocations: 384.5 kB / 0.87 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.3637, allocations: 258.5 kB / 0.8703 GB, free: 6.293 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004458/0.3642, allocations: 0.4913 MB / 0.8708 GB, free: 5.691 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005681/0.3648, allocations: 370.2 kB / 0.8711 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=52): time 2.305e-06/0.3648, allocations: 0 / 0.8711 GB, free: 5.301 MB / 0.6856 GB Notification: Performance of matching and sorting (n=54): time 0.003595/0.3684, allocations: 1.93 MB / 0.873 GB, free: 3.277 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.251e-05/0.3685, allocations: 137 kB / 0.8731 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.3698, allocations: 1.086 MB / 0.8742 GB, free: 2.016 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.885e-05/0.3699, allocations: 41.64 kB / 0.8742 GB, free: 1.969 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004577/0.3703, allocations: 0.5741 MB / 0.8748 GB, free: 1.387 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001484/0.3705, allocations: 181.4 kB / 0.875 GB, free: 1.207 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.041e-05/0.3705, allocations: 16 kB / 0.875 GB, free: 1.191 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.3706, allocations: 326 kB / 0.8753 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.371, allocations: 221.8 kB / 0.8755 GB, free: 0.6484 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005064/0.3715, allocations: 441.8 kB / 0.8759 GB, free: 136 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000452/0.3719, allocations: 299.8 kB / 0.8762 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.372, allocations: 0 / 0.8762 GB, free: 15.84 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001295/0.3733, allocations: 0.8794 MB / 0.8771 GB, free: 14.94 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001783/0.3735, allocations: 257.4 kB / 0.8773 GB, free: 14.62 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.098e-06/0.3735, allocations: 4 kB / 0.8773 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000366/0.3738, allocations: 105.7 kB / 0.8774 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.3743, allocations: 123.8 kB / 0.8775 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.3761, allocations: 2.168 MB / 0.8797 GB, free: 12.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008336/0.3769, allocations: 95.81 kB / 0.8798 GB, free: 11.96 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.374e-05/0.377, allocations: 32.11 kB / 0.8798 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 7.194e-06/0.377, allocations: 4 kB / 0.8798 GB, free: 11.93 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001201/0.3782, allocations: 0.7697 MB / 0.8805 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.075e-06/0.3782, allocations: 4.078 kB / 0.8805 GB, free: 11.14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002737/0.3785, allocations: 122.1 kB / 0.8807 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003787/0.3789, allocations: 119.8 kB / 0.8808 GB, free: 10.9 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001616/0.3805, allocations: 2.156 MB / 0.8829 GB, free: 8.582 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007554/0.3813, allocations: 79.89 kB / 0.883 GB, free: 8.504 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.3814, allocations: 39.92 kB / 0.883 GB, free: 8.465 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.0005893/0.382, allocations: 434.5 kB / 0.8834 GB, free: 8.023 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001517/0.3821, allocations: 118.6 kB / 0.8835 GB, free: 7.906 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001281/0.3834, allocations: 0.804 MB / 0.8843 GB, free: 7.07 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.654e-05/0.3834, allocations: 4 kB / 0.8843 GB, free: 7.066 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.3834, allocations: 4 kB / 0.8843 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009263/0.3844, allocations: 0.6917 MB / 0.885 GB, free: 6.324 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002596/0.387, allocations: 1.794 MB / 0.8867 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.387, allocations: 0 / 0.8867 GB, free: 4.453 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003458/0.3873, allocations: 84.02 kB / 0.8868 GB, free: 4.371 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002913/0.3877, allocations: 105.8 kB / 0.8869 GB, free: 4.262 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.023e-05/0.3877, allocations: 19.98 kB / 0.8869 GB, free: 4.242 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001676/0.3894, allocations: 2.157 MB / 0.8891 GB, free: 1.93 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.108e-06/0.3894, allocations: 4.031 kB / 0.8891 GB, free: 1.926 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001523/0.3909, allocations: 1.111 MB / 0.8901 GB, free: 0.7695 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004537/0.3914, allocations: 279.5 kB / 0.8904 GB, free: 488 kB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001852/0.3916, allocations: 16 kB / 0.8904 GB, free: 472 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006387/0.3922, allocations: 56.11 kB / 0.8905 GB, free: 416 kB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.577e-05/0.3923, allocations: 39.91 kB / 0.8905 GB, free: 376 kB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.09e-05/0.3924, allocations: 23.98 kB / 0.8905 GB, free: 352 kB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001027/0.3934, allocations: 0.7447 MB / 0.8913 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3934, allocations: 0 / 0.8913 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001797/0.3952, allocations: 0.5935 MB / 0.8918 GB, free: 15 MB / 0.7169 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.0008591/0.3961, allocations: 391.5 kB / 0.8922 GB, free: 14.62 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002216/0.3983, allocations: 1.356 MB / 0.8935 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.3984, allocations: 0 / 0.8935 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0006071/0.399, allocations: 475.2 kB / 0.894 GB, free: 12.73 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002468/0.4015, allocations: 0.5747 MB / 0.8946 GB, free: 12.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00392/0.4054, allocations: 2.4 MB / 0.8969 GB, free: 9.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.4064, allocations: 1.128 MB / 0.898 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001043/0.4075, allocations: 229.5 kB / 0.8982 GB, free: 8.332 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002304/0.4077, allocations: 83.42 kB / 0.8983 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/0.4077, allocations: 0 / 0.8983 GB, free: 8.25 MB / 0.7169 GB Notification: Performance of Templates: time 0.04235/0.4501, allocations: 23.21 MB / 0.921 GB, free: 1.355 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: