Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Functions.Examples.Polynomial.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.641/2.641, allocations: 287.9 MB / 302.9 MB, free: 8.301 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001425/0.001425, allocations: 186 kB / 371.4 MB, free: 10.67 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.092/2.092, allocations: 205.4 MB / 0.6301 GB, free: 10.41 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001022/0.001021, allocations: 96.34 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009783/0.0009783, allocations: 17.53 kB / 0.8662 GB, free: 141.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1617/0.1628, allocations: 115.3 MB / 0.9788 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Polynomial): time 0.0005751/0.1634, allocations: 317.8 kB / 0.9791 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001533/0.1636, allocations: 37.56 kB / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.436e-06/0.1636, allocations: 0 / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.191e-05/0.1636, allocations: 0 / 0.9791 GB, free: 27.84 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.758e-06/0.1636, allocations: 4 kB / 0.9791 GB, free: 27.83 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001884/0.1638, allocations: 7.938 kB / 0.9791 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.056e-05/0.1639, allocations: 3.984 kB / 0.9791 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.634e-05/0.1639, allocations: 0 / 0.9791 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.31e-05/0.1639, allocations: 0 / 0.9791 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.746e-05/0.164, allocations: 4 kB / 0.9791 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.407e-06/0.164, allocations: 0 / 0.9791 GB, free: 27.82 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.242e-05/0.1641, allocations: 19.98 kB / 0.9791 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.658e-06/0.1641, allocations: 3.984 kB / 0.9791 GB, free: 27.79 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.491e-05/0.1641, allocations: 25.7 kB / 0.9792 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.386e-05/0.1642, allocations: 7.984 kB / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.588e-06/0.1642, allocations: 4 kB / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.987e-06/0.1642, allocations: 0 / 0.9792 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.597e-06/0.1642, allocations: 3.938 kB / 0.9792 GB, free: 27.75 MB / 0.6198 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.0001957/0.1644, allocations: 316.8 kB / 0.9795 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.455e-05/0.1645, allocations: 12.02 kB / 0.9795 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.788e-05/0.1645, allocations: 4 kB / 0.9795 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.222e-05/0.1646, allocations: 163 kB / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-06/0.1646, allocations: 0 / 0.9797 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.1646, allocations: 4 kB / 0.9797 GB, free: 27.17 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.444e-05/0.1647, allocations: 29.64 kB / 0.9797 GB, free: 27.14 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.7e-06/0.1647, allocations: 3.984 kB / 0.9797 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.131e-06/0.1647, allocations: 0 / 0.9797 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.1648, allocations: 0 / 0.9797 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.168e-05/0.1648, allocations: 7.984 kB / 0.9797 GB, free: 27.12 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.792e-05/0.1649, allocations: 153.6 kB / 0.9798 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.236e-05/0.1649, allocations: 22.55 kB / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.015e-05/0.165, allocations: 0 / 0.9799 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.624e-05/0.165, allocations: 34.5 kB / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.736e-06/0.165, allocations: 0 / 0.9799 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001158/0.1651, allocations: 41.75 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.833e-05/0.1652, allocations: 51.41 kB / 0.98 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.011e-05/0.1652, allocations: 93.98 kB / 0.9801 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.473e-06/0.1652, allocations: 25.7 kB / 0.9801 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.479e-05/0.1652, allocations: 80.14 kB / 0.9802 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.602e-05/0.1653, allocations: 3.906 kB / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.41e-06/0.1653, allocations: 0 / 0.9802 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.781e-05/0.1654, allocations: 310.8 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.1654, allocations: 4 kB / 0.9805 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.328e-05/0.1654, allocations: 3.938 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.77e-05/0.1655, allocations: 4.062 kB / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.104e-06/0.1655, allocations: 0 / 0.9805 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001053/0.1656, allocations: 45.64 kB / 0.9805 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.1656, allocations: 4 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.088e-06/0.1657, allocations: 0 / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1657, allocations: 0 / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.377e-05/0.1658, allocations: 4 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.977e-06/0.1658, allocations: 0 / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.668e-05/0.1658, allocations: 3.938 kB / 0.9805 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.537e-05/0.1659, allocations: 0 / 0.9805 GB, free: 26.14 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.952e-05/0.1659, allocations: 113.9 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.748e-05/0.166, allocations: 3.953 kB / 0.9807 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001447/0.1661, allocations: 48.75 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-06/0.1662, allocations: 4 kB / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.112e-06/0.1662, allocations: 0 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.153e-06/0.1662, allocations: 0 / 0.9807 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.686e-05/0.1663, allocations: 149.7 kB / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1663, allocations: 0 / 0.9808 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.074e-05/0.1664, allocations: 4 kB / 0.9809 GB, free: 25.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.202e-06/0.1664, allocations: 3.953 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.321e-06/0.1664, allocations: 0 / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.1664, allocations: 0 / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.081e-06/0.1664, allocations: 0 / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.681e-05/0.1665, allocations: 65.06 kB / 0.9809 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.011e-05/0.1666, allocations: 81.42 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.956e-05/0.1666, allocations: 3.953 kB / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.752e-05/0.1667, allocations: 0 / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.448e-05/0.1667, allocations: 0 / 0.981 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.272e-06/0.1667, allocations: 7.938 kB / 0.981 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.656e-05/0.1667, allocations: 75.28 kB / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.32e-07/0.1668, allocations: 0 / 0.9811 GB, free: 25.49 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002985/0.1671, allocations: 4 kB / 0.9811 GB, free: 25.48 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001222/0.1672, allocations: 107.2 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.348e-05/0.1673, allocations: 4 kB / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.491e-06/0.1673, allocations: 0 / 0.9812 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.206e-05/0.1673, allocations: 4 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.742e-05/0.1674, allocations: 3.938 kB / 0.9812 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001499/0.1676, allocations: 86.62 kB / 0.9813 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.996e-05/0.1677, allocations: 0.6731 MB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.276e-05/0.1677, allocations: 4.125 kB / 0.9819 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.1678, allocations: 11.44 kB / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of SimCode: time 1.273e-06/0.1678, allocations: 0 / 0.9819 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of Templates: time 0.00219/0.17, allocations: 272.1 kB / 0.9822 GB, free: 24.27 MB / 0.6198 GB