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/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 7.0.3-maint.7.0.x/package.mo", uses=false) 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) 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001035/0.001035, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009602/0.0009604, allocations: 168.7 kB / 15.95 MB, free: 204 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.549/1.549, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.553/1.553, allocations: 252 MB / 0.5102 GB, free: 4.816 MB / 414.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.0005164/0.0005164, allocations: 19.98 kB / 0.6243 GB, free: 1.129 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.529/0.5295, allocations: 106.3 MB / 0.7281 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.05219/0.5818, allocations: 52.73 MB / 0.7796 GB, free: 6.523 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01758/0.5994, allocations: 9.691 MB / 0.7891 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003004/0.6025, allocations: 47.69 kB / 0.7891 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002252/0.6048, allocations: 0.4892 MB / 0.7896 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.005419/0.6102, allocations: 1.538 MB / 0.7911 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003477/0.6137, allocations: 0.953 MB / 0.792 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.006363/0.6201, allocations: 4.015 MB / 0.796 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002064/0.6222, allocations: 0.8871 MB / 0.7968 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003161/0.6254, allocations: 1.05 MB / 0.7978 GB, free: 3.809 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.6274, allocations: 0.9138 MB / 0.7987 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000175/0.6276, allocations: 48 kB / 0.7988 GB, free: 2.844 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002728/0.6303, allocations: 0.8498 MB / 0.7996 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003229/0.6307, allocations: 250.9 kB / 0.7999 GB, free: 1.746 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006078/0.6313, allocations: 313 kB / 0.8001 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002512/0.6338, allocations: 1.707 MB / 0.8018 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.6338, allocations: 4 kB / 0.8018 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.124e-06/0.6338, allocations: 0 / 0.8018 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.896e-05/0.6339, allocations: 0 / 0.8018 GB, free: 15.72 MB / 0.6231 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.002971/0.6368, allocations: 1.609 MB / 0.8034 GB, free: 14.04 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.826e-05/0.6369, allocations: 12.03 kB / 0.8034 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003895/0.6373, allocations: 166.1 kB / 0.8036 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00204/0.6394, allocations: 1.119 MB / 0.8047 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.176e-05/0.6395, allocations: 70 kB / 0.8047 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000147/0.6396, allocations: 92 kB / 0.8048 GB, free: 12.53 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001664/0.6413, allocations: 0.9449 MB / 0.8057 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.556e-05/0.6413, allocations: 0 / 0.8057 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.693e-05/0.6414, allocations: 39.98 kB / 0.8058 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.895e-05/0.6415, allocations: 31.88 kB / 0.8058 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001123/0.6426, allocations: 0.6636 MB / 0.8064 GB, free: 10.81 MB / 0.6231 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.005472/0.6481, allocations: 4.05 MB / 0.8104 GB, free: 6.547 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007574/0.6489, allocations: 384.6 kB / 0.8108 GB, free: 6.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.6493, allocations: 266.5 kB / 0.811 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005765/0.6499, allocations: 0.4953 MB / 0.8115 GB, free: 5.293 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006512/0.6505, allocations: 350 kB / 0.8118 GB, free: 4.922 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=52): time 2.996e-06/0.6505, allocations: 3.938 kB / 0.8118 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54): time 0.004067/0.6546, allocations: 1.93 MB / 0.8137 GB, free: 2.891 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.994e-05/0.6547, allocations: 140.9 kB / 0.8139 GB, free: 2.723 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001362/0.6561, allocations: 1.086 MB / 0.8149 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.143e-05/0.6562, allocations: 41.7 kB / 0.815 GB, free: 1.578 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005169/0.6567, allocations: 0.5818 MB / 0.8155 GB, free: 0.9883 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000189/0.6569, allocations: 177.5 kB / 0.8157 GB, free: 0.8125 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.302e-05/0.6569, allocations: 16 kB / 0.8157 GB, free: 0.7969 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.6571, allocations: 334 kB / 0.816 GB, free: 476 kB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003432/0.6574, allocations: 209.9 kB / 0.8162 GB, free: 268 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.658, allocations: 437.8 kB / 0.8167 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004568/0.6584, allocations: 303.7 kB / 0.8169 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.6584, allocations: 3.938 kB / 0.8169 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001402/0.6599, allocations: 0.8832 MB / 0.8178 GB, free: 14.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001866/0.6601, allocations: 249.5 kB / 0.818 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.6601, allocations: 4 kB / 0.8181 GB, free: 14.23 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003896/0.6605, allocations: 109.7 kB / 0.8182 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.6609, allocations: 123.8 kB / 0.8183 GB, free: 14 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001953/0.6629, allocations: 2.172 MB / 0.8204 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009499/0.6638, allocations: 83.97 kB / 0.8205 GB, free: 11.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/0.6639, allocations: 28 kB / 0.8205 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.6639, allocations: 4 kB / 0.8205 GB, free: 11.55 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001236/0.6652, allocations: 0.7774 MB / 0.8213 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.6652, allocations: 4 kB / 0.8213 GB, free: 10.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002952/0.6655, allocations: 110.3 kB / 0.8214 GB, free: 10.64 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003859/0.6659, allocations: 123.8 kB / 0.8215 GB, free: 10.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/0.6677, allocations: 2.161 MB / 0.8236 GB, free: 8.199 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009182/0.6687, allocations: 95.81 kB / 0.8237 GB, free: 8.105 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.705e-05/0.6687, allocations: 35.98 kB / 0.8237 GB, free: 8.07 MB / 0.6387 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.0008242/0.6696, allocations: 426.6 kB / 0.8241 GB, free: 7.637 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.6697, allocations: 126.5 kB / 0.8243 GB, free: 7.512 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001286/0.671, allocations: 0.8039 MB / 0.825 GB, free: 6.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.598e-06/0.6711, allocations: 8 kB / 0.825 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.785e-06/0.6711, allocations: 0 / 0.825 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009442/0.672, allocations: 0.6956 MB / 0.8257 GB, free: 5.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002663/0.6747, allocations: 1.779 MB / 0.8275 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.6747, allocations: 0 / 0.8275 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000412/0.6751, allocations: 79.89 kB / 0.8275 GB, free: 3.996 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003324/0.6755, allocations: 105.8 kB / 0.8276 GB, free: 3.887 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.6755, allocations: 16.11 kB / 0.8277 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001784/0.6773, allocations: 2.168 MB / 0.8298 GB, free: 1.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.537e-06/0.6773, allocations: 4.031 kB / 0.8298 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.679, allocations: 1.099 MB / 0.8309 GB, free: 408 kB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005594/0.6796, allocations: 271.6 kB / 0.8311 GB, free: 116 kB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000138/0.6797, allocations: 16.06 kB / 0.8311 GB, free: 100 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006141/0.6803, allocations: 63.78 kB / 0.8312 GB, free: 36 kB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001112/0.6804, allocations: 43.83 kB / 0.8312 GB, free: 15.99 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.193e-05/0.6805, allocations: 23.94 kB / 0.8313 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001125/0.6817, allocations: 0.7486 MB / 0.832 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6817, allocations: 0 / 0.832 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001829/0.6835, allocations: 0.5897 MB / 0.8326 GB, free: 14.62 MB / 0.6544 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.0008093/0.6843, allocations: 379.3 kB / 0.8329 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002363/0.6867, allocations: 1.34 MB / 0.8342 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.6867, allocations: 0 / 0.8342 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006698/0.6874, allocations: 487.4 kB / 0.8347 GB, free: 12.36 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002714/0.6901, allocations: 0.5866 MB / 0.8353 GB, free: 11.78 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003846/0.694, allocations: 2.389 MB / 0.8376 GB, free: 9.352 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009379/0.6949, allocations: 1.124 MB / 0.8387 GB, free: 8.199 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001119/0.6961, allocations: 233.5 kB / 0.8389 GB, free: 7.969 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001849/0.6963, allocations: 91.34 kB / 0.839 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of SimCode: time 1.252e-06/0.6963, allocations: 0 / 0.839 GB, free: 7.879 MB / 0.6544 GB Notification: Performance of Templates: time 0.04134/0.7376, allocations: 23.09 MB / 0.8616 GB, free: 1.117 MB / 0.67 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: