Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005271/0.005271, allocations: 100.5 kB / 15.73 MB, free: 6.477 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.001188/0.001188, allocations: 189 kB / 16.67 MB, free: 6.391 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.257/1.257, allocations: 205.1 MB / 222.5 MB, free: 4.582 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.402/1.402, allocations: 251.7 MB / 0.5094 GB, free: 3.109 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.001286/0.001286, allocations: 75.91 kB / 0.7258 GB, free: 9.008 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1715, allocations: 104.7 MB / 0.828 GB, free: 220 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.002198/0.1738, allocations: 1.439 MB / 0.8294 GB, free: 14.76 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0002857/0.1741, allocations: 92.92 kB / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.439e-05/0.1741, allocations: 0 / 0.8295 GB, free: 14.67 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.9e-05/0.1742, allocations: 4 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 3.209e-05/0.1742, allocations: 7.938 kB / 0.8295 GB, free: 14.66 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002304/0.1745, allocations: 15.98 kB / 0.8296 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 6.448e-05/0.1745, allocations: 27.91 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 8.584e-05/0.1746, allocations: 8 kB / 0.8296 GB, free: 14.61 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.928e-05/0.1747, allocations: 7.922 kB / 0.8296 GB, free: 14.6 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 3.577e-05/0.1747, allocations: 8 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1747, allocations: 4 kB / 0.8296 GB, free: 14.59 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 9.05e-05/0.1748, allocations: 27.91 kB / 0.8296 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.994e-05/0.1749, allocations: 11.94 kB / 0.8296 GB, free: 14.55 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.298e-05/0.1749, allocations: 11.94 kB / 0.8297 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001088/0.175, allocations: 39.88 kB / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.175, allocations: 0 / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.643e-06/0.175, allocations: 0 / 0.8297 GB, free: 14.5 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.906e-06/0.175, allocations: 0 / 0.8297 GB, free: 14.5 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004264/0.1755, allocations: 343.4 kB / 0.83 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1755, allocations: 8.031 kB / 0.83 GB, free: 14.1 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.89e-05/0.1756, allocations: 8.844 kB / 0.83 GB, free: 14.09 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.671e-05/0.1757, allocations: 164.4 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.003e-05/0.1757, allocations: 4.375 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.354e-05/0.1757, allocations: 4.375 kB / 0.8302 GB, free: 13.89 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001728/0.1759, allocations: 50.23 kB / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.1759, allocations: 192 / 0.8303 GB, free: 13.83 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.1759, allocations: 7.875 kB / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1759, allocations: 0 / 0.8303 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.1761, allocations: 39.95 kB / 0.8303 GB, free: 13.79 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002853/0.1764, allocations: 256.8 kB / 0.8305 GB, free: 13.48 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.1765, allocations: 46.48 kB / 0.8306 GB, free: 13.43 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.399e-05/0.1766, allocations: 20.91 kB / 0.8306 GB, free: 13.41 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 3.264e-05/0.1766, allocations: 4 kB / 0.8306 GB, free: 13.4 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.919e-05/0.1767, allocations: 42.5 kB / 0.8307 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.1767, allocations: 0 / 0.8307 GB, free: 13.35 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003356/0.177, allocations: 89.62 kB / 0.8307 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.992e-05/0.177, allocations: 55.34 kB / 0.8308 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.988e-05/0.1771, allocations: 101.9 kB / 0.8309 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.1771, allocations: 25.7 kB / 0.8309 GB, free: 13.05 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 3.964e-05/0.1772, allocations: 88.25 kB / 0.831 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.663e-05/0.1772, allocations: 11.91 kB / 0.831 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-05/0.1772, allocations: 9.719 kB / 0.831 GB, free: 12.93 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.1773, allocations: 314.8 kB / 0.8313 GB, free: 12.62 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.252e-05/0.1774, allocations: 19.97 kB / 0.8313 GB, free: 12.6 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.337e-05/0.1775, allocations: 16.23 kB / 0.8314 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.1777, allocations: 52.77 kB / 0.8314 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.1777, allocations: 4 kB / 0.8314 GB, free: 12.52 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001795/0.1779, allocations: 73.59 kB / 0.8315 GB, free: 12.45 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.1779, allocations: 4 kB / 0.8315 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.1779, allocations: 0 / 0.8315 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.1779, allocations: 0 / 0.8315 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.63e-05/0.178, allocations: 11.98 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.178, allocations: 4.031 kB / 0.8315 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.433e-05/0.178, allocations: 7.984 kB / 0.8315 GB, free: 12.42 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.098e-06/0.1781, allocations: 0 / 0.8315 GB, free: 12.42 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 (2): * Single equations (assignments): 2 * 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 7.022e-05/0.1781, allocations: 117.8 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.374e-05/0.1782, allocations: 3.906 kB / 0.8316 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002141/0.1784, allocations: 77.11 kB / 0.8317 GB, free: 12.21 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.072e-05/0.1784, allocations: 8.031 kB / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.1784, allocations: 0 / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.574e-06/0.1784, allocations: 0 / 0.8317 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001464/0.1786, allocations: 161.6 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1786, allocations: 4 kB / 0.8319 GB, free: 11.99 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.383e-05/0.1787, allocations: 7.984 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.406e-06/0.1787, allocations: 3.984 kB / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.881e-06/0.1787, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.1787, allocations: 0 / 0.8319 GB, free: 11.98 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1787, allocations: 4 kB / 0.8319 GB, free: 11.97 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000224/0.1789, allocations: 171.4 kB / 0.832 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 3.434e-05/0.179, allocations: 85.09 kB / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.049e-05/0.179, allocations: 0 / 0.8321 GB, free: 11.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.827e-05/0.179, allocations: 4 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.476e-05/0.1791, allocations: 3.984 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-06/0.1791, allocations: 4.031 kB / 0.8321 GB, free: 11.68 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.88e-05/0.1791, allocations: 91.28 kB / 0.8322 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1791, allocations: 0 / 0.8322 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002087/0.1794, allocations: 8 kB / 0.8322 GB, free: 11.58 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 (2): * Single equations (assignments): 2 * 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.0001455/0.1795, allocations: 103.2 kB / 0.8323 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.000205/0.1797, allocations: 39.91 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.1797, allocations: 4.062 kB / 0.8324 GB, free: 11.43 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.668e-05/0.1798, allocations: 35.84 kB / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000241/0.1801, allocations: 6.75 kB / 0.8324 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002569/0.1803, allocations: 117.5 kB / 0.8325 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002205/0.1806, allocations: 0.6805 MB / 0.8332 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 2.046e-05/0.1806, allocations: 0 / 0.8332 GB, free: 10.54 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.1806, allocations: 11.5 kB / 0.8332 GB, free: 10.53 MB / 0.6544 GB Notification: Performance of SimCode: time 2.41e-07/0.1806, allocations: 4 kB / 0.8332 GB, free: 10.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.002431/0.1831, allocations: 0.541 MB / 0.8337 GB, free: 9.988 MB / 0.6544 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)