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.001005/0.001004, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.008049/0.008049, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.672/1.672, allocations: 205.4 MB / 222.4 MB, free: 5.555 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.741/1.741, allocations: 292.7 MB / 0.5502 GB, free: 14.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.0005499/0.0005498, allocations: 16.5 kB / 0.6743 GB, free: 25.79 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2903/0.2908, allocations: 116.3 MB / 0.7879 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.06237/0.3533, allocations: 55.8 MB / 0.8424 GB, free: 3.602 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02053/0.3739, allocations: 10.34 MB / 0.8525 GB, free: 9.242 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/0.3768, allocations: 47.69 kB / 0.8525 GB, free: 9.195 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002966/0.3798, allocations: 0.5595 MB / 0.853 GB, free: 8.633 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00748/0.3873, allocations: 1.789 MB / 0.8548 GB, free: 6.836 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.3915, allocations: 1.206 MB / 0.856 GB, free: 5.645 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.009153/0.4007, allocations: 4.663 MB / 0.8605 GB, free: 0.9688 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003744/0.4045, allocations: 1.005 MB / 0.8615 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00415/0.4087, allocations: 1.085 MB / 0.8626 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002486/0.4112, allocations: 0.9799 MB / 0.8635 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000514/0.4118, allocations: 48 kB / 0.8636 GB, free: 13.8 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003736/0.4155, allocations: 1.134 MB / 0.8647 GB, free: 12.66 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0007294/0.4163, allocations: 262.8 kB / 0.8649 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001863/0.4182, allocations: 0.705 MB / 0.8656 GB, free: 11.69 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005305/0.4235, allocations: 2.29 MB / 0.8678 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.543e-06/0.4235, allocations: 0 / 0.8678 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.557e-06/0.4235, allocations: 0 / 0.8678 GB, free: 9.395 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001235/0.4237, allocations: 0 / 0.8678 GB, free: 9.395 MB / 0.6856 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.004544/0.4282, allocations: 1.605 MB / 0.8694 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/0.4283, allocations: 12.03 kB / 0.8694 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006351/0.4289, allocations: 159.2 kB / 0.8696 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00227/0.4312, allocations: 1.17 MB / 0.8707 GB, free: 6.32 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.042e-05/0.4313, allocations: 70 kB / 0.8708 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001638/0.4315, allocations: 96 kB / 0.8709 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001808/0.4333, allocations: 0.9566 MB / 0.8718 GB, free: 5.164 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.137e-05/0.4333, allocations: 7.938 kB / 0.8718 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.573e-05/0.4334, allocations: 36 kB / 0.8719 GB, free: 5.121 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.047e-05/0.4335, allocations: 24 kB / 0.8719 GB, free: 5.098 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.4346, allocations: 0.6714 MB / 0.8725 GB, free: 4.426 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.005881/0.4405, allocations: 4.073 MB / 0.8765 GB, free: 152 kB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007493/0.4413, allocations: 388.5 kB / 0.8769 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004199/0.4417, allocations: 258.5 kB / 0.8771 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005233/0.4423, allocations: 0.4992 MB / 0.8776 GB, free: 14.89 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006381/0.4429, allocations: 354.4 kB / 0.878 GB, free: 14.52 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=52): time 2.264e-06/0.4429, allocations: 7.938 kB / 0.878 GB, free: 14.51 MB / 0.7012 GB Notification: Performance of matching and sorting (n=54): time 0.004395/0.4473, allocations: 1.937 MB / 0.8799 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.763e-05/0.4474, allocations: 137 kB / 0.88 GB, free: 12.32 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001531/0.449, allocations: 1.101 MB / 0.8811 GB, free: 11.2 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.4491, allocations: 41.7 kB / 0.8811 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005457/0.4496, allocations: 0.5702 MB / 0.8817 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001779/0.4498, allocations: 177.5 kB / 0.8818 GB, free: 10.4 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9e-05/0.4499, allocations: 65.69 kB / 0.8819 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.4501, allocations: 333.9 kB / 0.8822 GB, free: 10 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.4504, allocations: 217.9 kB / 0.8824 GB, free: 9.789 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005632/0.451, allocations: 449.8 kB / 0.8828 GB, free: 9.27 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009085/0.4519, allocations: 0.6546 MB / 0.8835 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.4519, allocations: 0 / 0.8835 GB, free: 8.543 MB / 0.7012 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001601/0.4536, allocations: 0.8911 MB / 0.8844 GB, free: 7.629 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002833/0.4538, allocations: 249.5 kB / 0.8846 GB, free: 7.32 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.719e-05/0.4539, allocations: 4 kB / 0.8846 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004711/0.4544, allocations: 113.6 kB / 0.8847 GB, free: 7.199 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004512/0.4548, allocations: 123.8 kB / 0.8848 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002342/0.4572, allocations: 2.168 MB / 0.8869 GB, free: 4.75 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.4583, allocations: 95.94 kB / 0.887 GB, free: 4.656 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.906e-05/0.4584, allocations: 39.98 kB / 0.8871 GB, free: 4.617 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.317e-05/0.4584, allocations: 6.969 kB / 0.8871 GB, free: 4.613 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001361/0.4598, allocations: 0.7776 MB / 0.8878 GB, free: 3.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.4598, allocations: 4 kB / 0.8878 GB, free: 3.816 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002955/0.4601, allocations: 102.1 kB / 0.8879 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004039/0.4605, allocations: 127.8 kB / 0.8881 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002091/0.4626, allocations: 2.176 MB / 0.8902 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009616/0.4636, allocations: 75.98 kB / 0.8903 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.425e-05/0.4637, allocations: 31.98 kB / 0.8903 GB, free: 1.145 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 (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.0008456/0.4645, allocations: 444.8 kB / 0.8907 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.4647, allocations: 122.5 kB / 0.8908 GB, free: 0.5742 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00147/0.4662, allocations: 0.7961 MB / 0.8916 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/0.4662, allocations: 4 kB / 0.8916 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.4662, allocations: 4 kB / 0.8916 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001053/0.4673, allocations: 0.7033 MB / 0.8923 GB, free: 15 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002916/0.4702, allocations: 1.813 MB / 0.8941 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.139e-06/0.4702, allocations: 128 / 0.8941 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003775/0.4706, allocations: 79.88 kB / 0.8941 GB, free: 13.03 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003172/0.4709, allocations: 109.8 kB / 0.8942 GB, free: 12.92 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.471, allocations: 19.92 kB / 0.8943 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001849/0.4729, allocations: 2.176 MB / 0.8964 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.4729, allocations: 0 / 0.8964 GB, free: 10.56 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001746/0.4746, allocations: 1.116 MB / 0.8975 GB, free: 9.402 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005974/0.4752, allocations: 283.4 kB / 0.8978 GB, free: 9.105 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002683/0.4755, allocations: 8 kB / 0.8978 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009111/0.4764, allocations: 63.98 kB / 0.8978 GB, free: 9.035 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.4765, allocations: 39.89 kB / 0.8979 GB, free: 8.996 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.589e-05/0.4766, allocations: 27.98 kB / 0.8979 GB, free: 8.969 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001485/0.4781, allocations: 0.8167 MB / 0.8987 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.4e-07/0.4781, allocations: 0 / 0.8987 GB, free: 8.148 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002458/0.4806, allocations: 0.5975 MB / 0.8993 GB, free: 7.551 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 (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.001241/0.4818, allocations: 397.7 kB / 0.8996 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002611/0.4845, allocations: 1.371 MB / 0.901 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.305e-06/0.4845, allocations: 1.312 kB / 0.901 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007359/0.4852, allocations: 474.6 kB / 0.9014 GB, free: 5.246 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004217/0.4895, allocations: 0.7119 MB / 0.9021 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00456/0.494, allocations: 2.471 MB / 0.9045 GB, free: 2.027 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001/0.4951, allocations: 1.121 MB / 0.9056 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001284/0.4964, allocations: 242.3 kB / 0.9059 GB, free: 0.6367 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000314/0.4967, allocations: 95.42 kB / 0.906 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of SimCode: time 9.81e-07/0.4967, allocations: 0 / 0.906 GB, free: 0.543 MB / 0.7169 GB Notification: Performance of Templates: time 0.5669/1.064, allocations: 26.75 MB / 0.9321 GB, free: 124.9 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: