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.756/2.756, allocations: 287.3 MB / 302.3 MB, free: 8.199 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.001686/0.001686, allocations: 190.9 kB / 370.8 MB, free: 10.85 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.323/2.323, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.001165/0.001165, allocations: 96.17 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004761/0.0004763, allocations: 19.62 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2456, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Boilers.Examples.BoilerPolynomial): time 0.1146/0.3603, allocations: 47.82 MB / 1.025 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.03033/0.3907, allocations: 8.972 MB / 1.034 GB, free: 3.488 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00265/0.3934, allocations: 39.75 kB / 1.034 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.004535/0.398, allocations: 0.6257 MB / 1.034 GB, free: 2.82 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.01197/0.41, allocations: 1.837 MB / 1.036 GB, free: 0.9805 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.009875/0.4199, allocations: 1.401 MB / 1.037 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.008173/0.4281, allocations: 2.133 MB / 1.04 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003165/0.4313, allocations: 0.9029 MB / 1.04 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00443/0.4358, allocations: 0.9458 MB / 1.041 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002823/0.4387, allocations: 0.6611 MB / 1.042 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0005212/0.4393, allocations: 52 kB / 1.042 GB, free: 10.88 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004993/0.4443, allocations: 0.7528 MB / 1.043 GB, free: 10.12 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000879/0.4453, allocations: 243 kB / 1.043 GB, free: 9.883 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001/0.4463, allocations: 313 kB / 1.043 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.005572/0.4519, allocations: 1.664 MB / 1.045 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.452, allocations: 0 / 1.045 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of FrontEnd: time 3.156e-06/0.452, allocations: 0 / 1.045 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.144e-05/0.4521, allocations: 4 kB / 1.045 GB, free: 7.898 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.007826/0.4599, allocations: 1.601 MB / 1.046 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.789e-05/0.46, allocations: 11.97 kB / 1.047 GB, free: 6.211 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008181/0.4608, allocations: 166.2 kB / 1.047 GB, free: 6.047 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003588/0.4644, allocations: 1.061 MB / 1.048 GB, free: 4.93 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.298e-05/0.4645, allocations: 66 kB / 1.048 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002423/0.4648, allocations: 92 kB / 1.048 GB, free: 4.777 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002861/0.4677, allocations: 0.941 MB / 1.049 GB, free: 3.797 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.418e-05/0.4678, allocations: 4 kB / 1.049 GB, free: 3.793 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.4679, allocations: 40 kB / 1.049 GB, free: 3.754 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.468, allocations: 23.94 kB / 1.049 GB, free: 3.73 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002202/0.4702, allocations: 0.6714 MB / 1.049 GB, free: 3.062 MB / 0.6667 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.009085/0.4793, allocations: 4.1 MB / 1.053 GB, free: 14.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.4808, allocations: 416 kB / 1.054 GB, free: 14.34 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006507/0.4815, allocations: 0.5031 MB / 1.054 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001002/0.4826, allocations: 354 kB / 1.055 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=52): time 3.046e-06/0.4826, allocations: 0 / 1.055 GB, free: 13.35 MB / 0.6823 GB Notification: Performance of matching and sorting (n=54): time 0.006426/0.489, allocations: 2.01 MB / 1.057 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001079/0.4892, allocations: 141 kB / 1.057 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002363/0.4915, allocations: 1.121 MB / 1.058 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001408/0.4917, allocations: 41.7 kB / 1.058 GB, free: 9.875 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007514/0.4925, allocations: 0.5741 MB / 1.059 GB, free: 9.293 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002637/0.4927, allocations: 181.4 kB / 1.059 GB, free: 9.113 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.529e-05/0.4928, allocations: 16 kB / 1.059 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001684/0.493, allocations: 330 kB / 1.059 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006856/0.4937, allocations: 217.9 kB / 1.059 GB, free: 8.559 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008858/0.4946, allocations: 430.2 kB / 1.06 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000785/0.4954, allocations: 311.8 kB / 1.06 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.4954, allocations: 0 / 1.06 GB, free: 7.746 MB / 0.6823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.002482/0.4979, allocations: 0.8837 MB / 1.061 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008379/0.4988, allocations: 1.701 MB / 1.062 GB, free: 5.016 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.63e-05/0.4988, allocations: 4 kB / 1.062 GB, free: 5.012 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006263/0.4994, allocations: 105.7 kB / 1.063 GB, free: 4.902 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009022/0.5004, allocations: 127.8 kB / 1.063 GB, free: 4.777 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002823/0.5032, allocations: 2.18 MB / 1.065 GB, free: 2.438 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/0.5051, allocations: 95.81 kB / 1.065 GB, free: 2.344 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.5053, allocations: 35.98 kB / 1.065 GB, free: 2.309 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/0.5053, allocations: 4 kB / 1.065 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002268/0.5076, allocations: 0.7774 MB / 1.066 GB, free: 1.512 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.5076, allocations: 4 kB / 1.066 GB, free: 1.508 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004952/0.5081, allocations: 106.3 kB / 1.066 GB, free: 1.398 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008495/0.509, allocations: 127.8 kB / 1.066 GB, free: 1.273 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6845/1.194, allocations: 2.172 MB / 1.068 GB, free: 87.67 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/1.195, allocations: 88 kB / 1.068 GB, free: 87.67 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/1.196, allocations: 29.77 kB / 1.068 GB, free: 87.67 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.001086/1.197, allocations: 427.6 kB / 1.069 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/1.197, allocations: 127.1 kB / 1.069 GB, free: 87.45 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/1.2, allocations: 0.7964 MB / 1.069 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.162e-05/1.2, allocations: 6.109 kB / 1.069 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.352e-06/1.2, allocations: 1.156 kB / 1.069 GB, free: 87.34 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001655/1.201, allocations: 0.6982 MB / 1.07 GB, free: 87.1 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004733/1.206, allocations: 1.805 MB / 1.072 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/1.206, allocations: 2.469 kB / 1.072 GB, free: 86.21 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006851/1.207, allocations: 73.92 kB / 1.072 GB, free: 86.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005144/1.207, allocations: 107.5 kB / 1.072 GB, free: 86.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.595e-05/1.207, allocations: 23.47 kB / 1.072 GB, free: 86.15 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002252/1.21, allocations: 2.181 MB / 1.074 GB, free: 84.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.822e-06/1.21, allocations: 7.797 kB / 1.074 GB, free: 84.1 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003063/1.213, allocations: 1.172 MB / 1.075 GB, free: 83.49 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008983/1.214, allocations: 283.3 kB / 1.076 GB, free: 83.34 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002746/1.214, allocations: 18.09 kB / 1.076 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001313/1.215, allocations: 56.09 kB / 1.076 GB, free: 83.33 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001543/1.216, allocations: 40.25 kB / 1.076 GB, free: 83.32 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.615e-05/1.216, allocations: 28.36 kB / 1.076 GB, free: 83.31 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001905/1.218, allocations: 0.7789 MB / 1.077 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of sort global known variables: time 8.32e-07/1.218, allocations: 0.7188 kB / 1.077 GB, free: 82.98 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003152/1.221, allocations: 0.5985 MB / 1.077 GB, free: 82.94 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.001352/1.222, allocations: 397.1 kB / 1.078 GB, free: 82.84 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003703/1.226, allocations: 1.35 MB / 1.079 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.012e-05/1.226, allocations: 1.031 kB / 1.079 GB, free: 82.12 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/1.227, allocations: 477.8 kB / 1.079 GB, free: 81.84 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005139/1.232, allocations: 0.5804 MB / 1.08 GB, free: 81.73 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006186/1.239, allocations: 2.396 MB / 1.082 GB, free: 80.42 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001081/1.24, allocations: 1.152 MB / 1.083 GB, free: 79.69 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001831/1.242, allocations: 224.3 kB / 1.084 GB, free: 79.65 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003696/1.242, allocations: 83.52 kB / 1.084 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of SimCode: time 1.082e-06/1.242, allocations: 1.203 kB / 1.084 GB, free: 79.64 MB / 0.6823 GB Notification: Performance of Templates: time 0.07653/1.319, allocations: 23.85 MB / 1.107 GB, free: 71.68 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)