Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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_1.6_Buildings.Utilities.Math.Examples.Polynominal") translateModel(Buildings.Utilities.Math.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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.01148/0.01148, allocations: 100.9 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.001405/0.001405, allocations: 199.1 kB / 16.68 MB, free: 5.953 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.586/1.586, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6529/0.6529, allocations: 95.49 MB / 365.4 MB, free: 9.773 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001485/0.001485, allocations: 74.08 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1635/0.165, allocations: 69.09 MB / 0.5711 GB, free: 8.305 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.002732/0.1678, allocations: 1.396 MB / 0.5724 GB, free: 6.891 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003995/0.1682, allocations: 128.5 kB / 0.5726 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.1683, allocations: 0 / 0.5726 GB, free: 6.766 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 8.206e-05/0.1684, allocations: 7.938 kB / 0.5726 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.222e-05/0.1684, allocations: 0 / 0.5726 GB, free: 6.758 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003663/0.1688, allocations: 31.91 kB / 0.5726 GB, free: 6.727 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.335e-05/0.1689, allocations: 23.92 kB / 0.5726 GB, free: 6.703 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001215/0.169, allocations: 11.92 kB / 0.5726 GB, free: 6.691 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.669e-05/0.1691, allocations: 11.98 kB / 0.5727 GB, free: 6.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.606e-05/0.1691, allocations: 7.938 kB / 0.5727 GB, free: 6.672 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.508e-05/0.1691, allocations: 8 kB / 0.5727 GB, free: 6.664 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001549/0.1693, allocations: 55.89 kB / 0.5727 GB, free: 6.609 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 5.328e-05/0.1694, allocations: 3.984 kB / 0.5727 GB, free: 6.605 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.083e-05/0.1694, allocations: 11.94 kB / 0.5727 GB, free: 6.594 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.1696, allocations: 51.8 kB / 0.5728 GB, free: 6.543 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-05/0.1696, allocations: 4 kB / 0.5728 GB, free: 6.539 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.242e-06/0.1696, allocations: 0 / 0.5728 GB, free: 6.539 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.125e-06/0.1696, allocations: 0 / 0.5728 GB, free: 6.539 MB / 446.1 MB 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.0006014/0.1702, allocations: 343.5 kB / 0.5731 GB, free: 6.156 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.12e-05/0.1703, allocations: 15.98 kB / 0.5731 GB, free: 6.141 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.12e-05/0.1703, allocations: 8.875 kB / 0.5731 GB, free: 6.133 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001633/0.1705, allocations: 176.2 kB / 0.5733 GB, free: 5.922 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.124e-05/0.1705, allocations: 8.125 kB / 0.5733 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1705, allocations: 0 / 0.5733 GB, free: 5.914 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.1707, allocations: 49.67 kB / 0.5734 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1708, allocations: 0 / 0.5734 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1708, allocations: 0 / 0.5734 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.608e-06/0.1708, allocations: 0 / 0.5734 GB, free: 5.859 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.1709, allocations: 39.97 kB / 0.5734 GB, free: 5.82 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003757/0.1713, allocations: 260.8 kB / 0.5736 GB, free: 5.516 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.1715, allocations: 38.55 kB / 0.5737 GB, free: 5.469 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.4e-05/0.1716, allocations: 20.91 kB / 0.5737 GB, free: 5.445 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.862e-05/0.1716, allocations: 11.94 kB / 0.5737 GB, free: 5.434 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.1716, allocations: 34.56 kB / 0.5738 GB, free: 5.391 MB / 446.1 MB Notification: Performance of pre-optimization done (n=2): time 3.076e-06/0.1716, allocations: 3.984 kB / 0.5738 GB, free: 5.387 MB / 446.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003415/0.172, allocations: 85.58 kB / 0.5738 GB, free: 5.297 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.172, allocations: 55.41 kB / 0.5739 GB, free: 5.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.857e-05/0.1721, allocations: 110 kB / 0.574 GB, free: 5.113 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1721, allocations: 25.7 kB / 0.574 GB, free: 5.082 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.332e-05/0.1722, allocations: 84.14 kB / 0.5741 GB, free: 4.996 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.822e-05/0.1722, allocations: 7.891 kB / 0.5741 GB, free: 4.988 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.119e-05/0.1723, allocations: 13.72 kB / 0.5741 GB, free: 4.969 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001115/0.1724, allocations: 318.8 kB / 0.5744 GB, free: 4.648 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.496e-05/0.1725, allocations: 15.98 kB / 0.5744 GB, free: 4.633 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.609e-05/0.1725, allocations: 23.97 kB / 0.5745 GB, free: 4.609 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1727, allocations: 44.83 kB / 0.5745 GB, free: 4.562 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1727, allocations: 0 / 0.5745 GB, free: 4.562 MB / 446.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000179/0.1729, allocations: 69.59 kB / 0.5746 GB, free: 4.488 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.177e-05/0.1729, allocations: 4 kB / 0.5746 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.1729, allocations: 4.094 kB / 0.5746 GB, free: 4.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.1729, allocations: 4 kB / 0.5746 GB, free: 4.477 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.798e-05/0.173, allocations: 7.984 kB / 0.5746 GB, free: 4.469 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.173, allocations: 3.984 kB / 0.5746 GB, free: 4.465 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.421e-05/0.1731, allocations: 11.89 kB / 0.5746 GB, free: 4.453 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.1731, allocations: 3.938 kB / 0.5746 GB, free: 4.449 MB / 446.1 MB 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.121e-05/0.1732, allocations: 113.8 kB / 0.5747 GB, free: 4.328 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.079e-05/0.1732, allocations: 3.938 kB / 0.5747 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002176/0.1734, allocations: 85.08 kB / 0.5748 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.1734, allocations: 0 / 0.5748 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.998e-06/0.1734, allocations: 0 / 0.5748 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.1735, allocations: 0 / 0.5748 GB, free: 4.23 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.1736, allocations: 169.8 kB / 0.575 GB, free: 4.016 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.285e-06/0.1736, allocations: 4 kB / 0.575 GB, free: 4.012 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.079e-05/0.1737, allocations: 7.984 kB / 0.575 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.1737, allocations: 0 / 0.575 GB, free: 4.004 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/0.1737, allocations: 8.031 kB / 0.575 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1737, allocations: 0 / 0.575 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.083e-06/0.1737, allocations: 0 / 0.575 GB, free: 3.996 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002189/0.1739, allocations: 167.4 kB / 0.5751 GB, free: 3.816 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.792e-05/0.174, allocations: 85.02 kB / 0.5752 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.206e-05/0.174, allocations: 0 / 0.5752 GB, free: 3.715 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.752e-05/0.1741, allocations: 12.02 kB / 0.5752 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.557e-05/0.1741, allocations: 0 / 0.5752 GB, free: 3.703 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.669e-06/0.1741, allocations: 0 / 0.5752 GB, free: 3.703 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.141e-05/0.1742, allocations: 99.14 kB / 0.5753 GB, free: 3.605 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1742, allocations: 0 / 0.5753 GB, free: 3.605 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000227/0.1744, allocations: 8 kB / 0.5753 GB, free: 3.598 MB / 446.1 MB 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.0001369/0.1746, allocations: 103.2 kB / 0.5754 GB, free: 3.488 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002109/0.1748, allocations: 43.95 kB / 0.5755 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1748, allocations: 0 / 0.5755 GB, free: 3.445 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.837e-05/0.1749, allocations: 19.98 kB / 0.5755 GB, free: 3.426 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.1751, allocations: 7.984 kB / 0.5755 GB, free: 3.418 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.1754, allocations: 109.6 kB / 0.5756 GB, free: 3.285 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002735/0.1757, allocations: 0.6847 MB / 0.5763 GB, free: 2.574 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.243e-05/0.1757, allocations: 0 / 0.5763 GB, free: 2.574 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.126e-05/0.1758, allocations: 7.438 kB / 0.5763 GB, free: 2.566 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.1758, allocations: 0 / 0.5763 GB, free: 2.566 MB / 446.1 MB Notification: Performance of Templates: time 0.002893/0.1787, allocations: 0.5352 MB / 0.5768 GB, free: 2.035 MB / 446.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.makefile (rm -f Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.sim & ./Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Examples.Polynominal.pipe 2>&1)