Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.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.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00364/0.00364, allocations: 97.33 kB / 15.73 MB, free: 6.035 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.0009294/0.0009294, allocations: 201.7 kB / 16.68 MB, free: 5.961 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.24/1.24, allocations: 205.1 MB / 222.6 MB, free: 4.516 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.374/1.374, allocations: 251.7 MB / 0.5094 GB, free: 2.969 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.001377/0.001377, allocations: 82.08 kB / 0.7258 GB, free: 8.918 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.172/0.1734, allocations: 104.7 MB / 0.8281 GB, free: 120 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.001525/0.175, allocations: 0.5748 MB / 0.8286 GB, free: 15.55 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001957/0.1752, allocations: 39.81 kB / 0.8287 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.175e-05/0.1752, allocations: 0 / 0.8287 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 1.11e-05/0.1752, allocations: 3.938 kB / 0.8287 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.8e-06/0.1752, allocations: 4 kB / 0.8287 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002373/0.1755, allocations: 19.92 kB / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 3.511e-05/0.1755, allocations: 0 / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.1756, allocations: 4 kB / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 1.156e-05/0.1756, allocations: 0 / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.2e-05/0.1756, allocations: 0 / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 8.577e-06/0.1756, allocations: 0 / 0.8287 GB, free: 15.48 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.211e-05/0.1757, allocations: 19.97 kB / 0.8287 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 7.554e-06/0.1757, allocations: 0 / 0.8287 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 1.537e-05/0.1758, allocations: 0 / 0.8287 GB, free: 15.46 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.398e-05/0.1759, allocations: 19.97 kB / 0.8288 GB, free: 15.44 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.1759, allocations: 4 kB / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1759, allocations: 0 / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1759, allocations: 0 / 0.8288 GB, free: 15.43 MB / 0.6544 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002605/0.1761, allocations: 315.5 kB / 0.8291 GB, free: 15.07 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.1762, allocations: 12.03 kB / 0.8291 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.881e-05/0.1762, allocations: 4.875 kB / 0.8291 GB, free: 15.06 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.38e-05/0.1763, allocations: 164.3 kB / 0.8292 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-06/0.1763, allocations: 384 / 0.8292 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.053e-05/0.1763, allocations: 4.359 kB / 0.8292 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.124e-05/0.1764, allocations: 38.27 kB / 0.8293 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.25e-06/0.1764, allocations: 192 / 0.8293 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.1764, allocations: 3.938 kB / 0.8293 GB, free: 14.81 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.1764, allocations: 3.984 kB / 0.8293 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.72e-05/0.1765, allocations: 0 / 0.8293 GB, free: 14.8 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001268/0.1766, allocations: 149.6 kB / 0.8294 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 3.214e-05/0.1766, allocations: 18.52 kB / 0.8294 GB, free: 14.58 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.488e-05/0.1767, allocations: 8.953 kB / 0.8295 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.514e-05/0.1767, allocations: 4 kB / 0.8295 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.863e-05/0.1767, allocations: 34.56 kB / 0.8295 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.1767, allocations: 0 / 0.8295 GB, free: 14.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.1769, allocations: 41.62 kB / 0.8295 GB, free: 14.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.984e-05/0.1769, allocations: 55.34 kB / 0.8296 GB, free: 14.41 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.835e-05/0.1769, allocations: 89.86 kB / 0.8297 GB, free: 14.31 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.006e-05/0.1769, allocations: 25.7 kB / 0.8297 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.004e-05/0.177, allocations: 84.27 kB / 0.8298 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.177, allocations: 0 / 0.8298 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.177, allocations: 18.06 kB / 0.8298 GB, free: 14.17 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.1771, allocations: 310.8 kB / 0.8301 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/0.1771, allocations: 0 / 0.8301 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-06/0.1771, allocations: 3.984 kB / 0.8301 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.307e-05/0.1772, allocations: 12.8 kB / 0.8301 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-06/0.1772, allocations: 0 / 0.8301 GB, free: 13.84 MB / 0.6544 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.68e-05/0.1772, allocations: 37.77 kB / 0.8301 GB, free: 13.8 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.124e-05/0.1773, allocations: 4 kB / 0.8301 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.61e-06/0.1773, allocations: 0 / 0.8301 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.1773, allocations: 7.875 kB / 0.8301 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.932e-05/0.1773, allocations: 8 kB / 0.8302 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1774, allocations: 0 / 0.8302 GB, free: 13.78 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.362e-05/0.1774, allocations: 3.984 kB / 0.8302 GB, free: 13.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.1774, allocations: 0 / 0.8302 GB, free: 13.77 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.732e-05/0.1774, allocations: 113.9 kB / 0.8303 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.935e-06/0.1775, allocations: 4 kB / 0.8303 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.705e-05/0.1776, allocations: 44.69 kB / 0.8303 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-06/0.1776, allocations: 0 / 0.8303 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1776, allocations: 4 kB / 0.8303 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.764e-06/0.1776, allocations: 0 / 0.8303 GB, free: 13.59 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.173e-05/0.1777, allocations: 145.7 kB / 0.8305 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1777, allocations: 0 / 0.8305 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.715e-05/0.1777, allocations: 8.031 kB / 0.8305 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.1777, allocations: 0 / 0.8305 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.1777, allocations: 3.938 kB / 0.8305 GB, free: 13.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.615e-06/0.1777, allocations: 7.922 kB / 0.8305 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.1777, allocations: 0 / 0.8305 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.529e-05/0.1778, allocations: 53.14 kB / 0.8305 GB, free: 13.31 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.867e-05/0.1778, allocations: 85.05 kB / 0.8306 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.101e-05/0.1778, allocations: 3.938 kB / 0.8306 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.1779, allocations: 4.031 kB / 0.8306 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.326e-05/0.1779, allocations: 3.984 kB / 0.8306 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.34e-06/0.1779, allocations: 4 kB / 0.8306 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.424e-05/0.1779, allocations: 79.28 kB / 0.8307 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1779, allocations: 0 / 0.8307 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001721/0.1781, allocations: 4 kB / 0.8307 GB, free: 13.11 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001372/0.1782, allocations: 99.25 kB / 0.8308 GB, free: 13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 6.226e-05/0.1783, allocations: 11.94 kB / 0.8308 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1783, allocations: 0 / 0.8308 GB, free: 12.99 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.075e-06/0.1783, allocations: 4 kB / 0.8308 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.1784, allocations: 3.984 kB / 0.8308 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001508/0.1786, allocations: 88.61 kB / 0.8309 GB, free: 12.87 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002032/0.1788, allocations: 0.6727 MB / 0.8316 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.154e-05/0.1788, allocations: 4.125 kB / 0.8316 GB, free: 12.17 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.1789, allocations: 11.44 kB / 0.8316 GB, free: 12.16 MB / 0.6544 GB Notification: Performance of SimCode: time 2.51e-07/0.1789, allocations: 3.938 kB / 0.8316 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of Templates: time 0.001921/0.1808, allocations: 288.6 kB / 0.8319 GB, free: 11.87 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)