Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") translateModel(Buildings.Fluid.Boilers.Examples.BoilerPolynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.696/2.696, allocations: 287.5 MB / 302.4 MB, free: 8.359 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00136/0.00136, allocations: 178.8 kB / 371 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.227/2.227, allocations: 205.4 MB / 0.6297 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001568/0.001567, allocations: 98.69 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007498/0.00075, allocations: 11.67 kB / 0.8658 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.278/0.2788, allocations: 115.3 MB / 0.9783 GB, free: 28.4 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.1076/0.3865, allocations: 52.72 MB / 1.03 GB, free: 7.535 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02169/0.4082, allocations: 9.729 MB / 1.039 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002337/0.4106, allocations: 47.69 kB / 1.039 GB, free: 13.75 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002712/0.4134, allocations: 0.4892 MB / 1.04 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007001/0.4205, allocations: 1.537 MB / 1.041 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.005024/0.4255, allocations: 0.9818 MB / 1.042 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.007904/0.4334, allocations: 4.014 MB / 1.046 GB, free: 6.715 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002356/0.4358, allocations: 0.891 MB / 1.047 GB, free: 5.797 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003422/0.4393, allocations: 1.058 MB / 1.048 GB, free: 4.734 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002442/0.4418, allocations: 0.9138 MB / 1.049 GB, free: 3.816 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0004305/0.4423, allocations: 48 kB / 1.049 GB, free: 3.77 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003825/0.4461, allocations: 0.8576 MB / 1.05 GB, free: 2.91 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.0007335/0.4469, allocations: 250.9 kB / 1.05 GB, free: 2.664 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.0008198/0.4477, allocations: 317 kB / 1.05 GB, free: 2.348 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.004177/0.4519, allocations: 1.711 MB / 1.052 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.059e-05/0.452, allocations: 4 kB / 1.052 GB, free: 0.6289 MB / 0.6667 GB Notification: Performance of FrontEnd: time 5.531e-06/0.452, allocations: 0 / 1.052 GB, free: 0.6289 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.639e-05/0.4521, allocations: 3.938 kB / 1.052 GB, free: 0.625 MB / 0.6667 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.004703/0.4568, allocations: 1.613 MB / 1.054 GB, free: 14.94 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.419e-05/0.4569, allocations: 16.02 kB / 1.054 GB, free: 14.92 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008174/0.4577, allocations: 162.2 kB / 1.054 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003321/0.4611, allocations: 1.123 MB / 1.055 GB, free: 13.58 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.911e-05/0.4612, allocations: 66 kB / 1.055 GB, free: 13.52 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003442/0.4616, allocations: 92 kB / 1.055 GB, free: 13.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004861/0.4665, allocations: 0.9528 MB / 1.056 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.6e-05/0.4666, allocations: 3.984 kB / 1.056 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002772/0.4669, allocations: 47.92 kB / 1.056 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.806e-05/0.467, allocations: 23.98 kB / 1.056 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003983/0.471, allocations: 0.6597 MB / 1.057 GB, free: 11.71 MB / 0.6823 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.01434/0.4854, allocations: 4.081 MB / 1.061 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001687/0.4872, allocations: 385.5 kB / 1.061 GB, free: 7.031 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007179/0.4879, allocations: 259.5 kB / 1.061 GB, free: 6.773 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006317/0.4886, allocations: 0.4913 MB / 1.062 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000962/0.4896, allocations: 361.9 kB / 1.062 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.457e-06/0.4896, allocations: 0 / 1.062 GB, free: 5.789 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.006712/0.4963, allocations: 1.934 MB / 1.064 GB, free: 3.762 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.4965, allocations: 144.9 kB / 1.064 GB, free: 3.59 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002447/0.499, allocations: 1.078 MB / 1.065 GB, free: 2.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001856/0.4992, allocations: 45.69 kB / 1.065 GB, free: 2.449 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007978/0.5, allocations: 0.5702 MB / 1.066 GB, free: 1.871 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003312/0.5004, allocations: 181.4 kB / 1.066 GB, free: 1.691 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.392e-05/0.5004, allocations: 12 kB / 1.066 GB, free: 1.68 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.5006, allocations: 334 kB / 1.066 GB, free: 1.348 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006707/0.5013, allocations: 213.9 kB / 1.067 GB, free: 1.141 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000882/0.5022, allocations: 441.7 kB / 1.067 GB, free: 0.625 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008387/0.5031, allocations: 303.8 kB / 1.067 GB, free: 332 kB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/0.5031, allocations: 0 / 1.067 GB, free: 332 kB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.6796/1.183, allocations: 0.8681 MB / 1.068 GB, free: 89.73 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002467/1.183, allocations: 249.9 kB / 1.068 GB, free: 89.47 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/1.183, allocations: 8.828 kB / 1.068 GB, free: 89.47 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006901/1.184, allocations: 109.9 kB / 1.068 GB, free: 89.46 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/1.185, allocations: 125.6 kB / 1.069 GB, free: 89.45 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002566/1.187, allocations: 2.171 MB / 1.071 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001871/1.189, allocations: 93.89 kB / 1.071 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001788/1.189, allocations: 32.12 kB / 1.071 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.189, allocations: 4.031 kB / 1.071 GB, free: 87.61 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002317/1.192, allocations: 0.774 MB / 1.072 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.822e-05/1.192, allocations: 5.875 kB / 1.072 GB, free: 87.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005213/1.192, allocations: 104.2 kB / 1.072 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009133/1.193, allocations: 122.8 kB / 1.072 GB, free: 87.33 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002251/1.196, allocations: 2.174 MB / 1.074 GB, free: 85.29 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001771/1.197, allocations: 88.44 kB / 1.074 GB, free: 85.28 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001496/1.198, allocations: 29.27 kB / 1.074 GB, free: 85.27 MB / 0.6823 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.0009655/1.199, allocations: 421.3 kB / 1.074 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003834/1.199, allocations: 129.2 kB / 1.075 GB, free: 84.95 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002338/1.201, allocations: 0.8015 MB / 1.075 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.865e-05/1.201, allocations: 5.109 kB / 1.075 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.573e-06/1.201, allocations: 0.6875 kB / 1.075 GB, free: 84.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00174/1.203, allocations: 0.6947 MB / 1.076 GB, free: 84.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005074/1.208, allocations: 1.798 MB / 1.078 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/1.208, allocations: 5.078 kB / 1.078 GB, free: 83.28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000748/1.209, allocations: 80.58 kB / 1.078 GB, free: 83.27 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005545/1.21, allocations: 99.48 kB / 1.078 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001027/1.21, allocations: 16.86 kB / 1.078 GB, free: 83.23 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002259/1.212, allocations: 2.168 MB / 1.08 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/1.212, allocations: 1 kB / 1.08 GB, free: 81.19 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003128/1.215, allocations: 1.113 MB / 1.081 GB, free: 80.63 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009697/1.216, allocations: 275 kB / 1.081 GB, free: 80.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003792/1.217, allocations: 10.5 kB / 1.081 GB, free: 80.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00148/1.218, allocations: 64.23 kB / 1.082 GB, free: 80.41 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/1.218, allocations: 36.59 kB / 1.082 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001133/1.219, allocations: 26.19 kB / 1.082 GB, free: 80.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.00212/1.221, allocations: 0.7518 MB / 1.082 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.61e-07/1.221, allocations: 0 / 1.082 GB, free: 80.08 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003582/1.224, allocations: 0.5843 MB / 1.083 GB, free: 80.04 MB / 0.6823 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.001307/1.226, allocations: 375.3 kB / 1.083 GB, free: 79.94 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003911/1.23, allocations: 1.347 MB / 1.085 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.07e-05/1.23, allocations: 1.312 kB / 1.085 GB, free: 79.22 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001222/1.231, allocations: 483.5 kB / 1.085 GB, free: 78.93 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005534/1.237, allocations: 0.5932 MB / 1.086 GB, free: 78.8 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006474/1.243, allocations: 2.395 MB / 1.088 GB, free: 77.45 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001069/1.244, allocations: 1.125 MB / 1.089 GB, free: 76.71 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001878/1.246, allocations: 231.3 kB / 1.089 GB, free: 76.65 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000406/1.247, allocations: 87.44 kB / 1.089 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of SimCode: time 1.022e-06/1.247, allocations: 0 / 1.089 GB, free: 76.64 MB / 0.6823 GB Notification: Performance of Templates: time 0.07764/1.324, allocations: 23.2 MB / 1.112 GB, free: 68.7 MB / 0.6823 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.sim & ./Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Boilers.Examples.BoilerPolynomial.pipe 2>&1)