Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.Polynominal.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.Examples.Polynominal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Polynominal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.635/2.635, allocations: 287.9 MB / 302.9 MB, free: 8.332 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.001464/0.001464, allocations: 183.6 kB / 371.4 MB, free: 10.69 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.048/2.048, 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.001014/0.001014, allocations: 89.56 kB / 0.7434 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004787/0.0004788, allocations: 16.66 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1571, allocations: 115.3 MB / 0.9787 GB, free: 28.22 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Polynominal): time 0.001344/0.1585, allocations: 1.148 MB / 0.9799 GB, free: 27.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002348/0.1587, allocations: 88.62 kB / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.54e-05/0.1588, allocations: 0 / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.801e-05/0.1588, allocations: 0 / 0.9799 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.36e-05/0.1589, allocations: 11.98 kB / 0.98 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001742/0.1591, allocations: 15.92 kB / 0.98 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.006e-05/0.1591, allocations: 15.97 kB / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.15e-05/0.1592, allocations: 4 kB / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.363e-05/0.1593, allocations: 3.984 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.187e-05/0.1593, allocations: 15.94 kB / 0.98 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.22e-05/0.1593, allocations: 4 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.192e-05/0.1594, allocations: 15.92 kB / 0.98 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.509e-05/0.1594, allocations: 7.984 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.802e-05/0.1595, allocations: 29.64 kB / 0.9801 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.642e-05/0.1596, allocations: 23.95 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.872e-06/0.1596, allocations: 0 / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.947e-06/0.1596, allocations: 0 / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.862e-06/0.1596, allocations: 0 / 0.9801 GB, free: 26.81 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003403/0.1599, allocations: 348.6 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.993e-05/0.16, allocations: 16 kB / 0.9804 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.418e-05/0.1601, allocations: 8 kB / 0.9804 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.838e-05/0.1601, allocations: 167 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.192e-05/0.1602, allocations: 0 / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.33e-05/0.1602, allocations: 4 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001813/0.1604, allocations: 57.67 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1604, allocations: 4 kB / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.79e-06/0.1604, allocations: 0 / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.297e-06/0.1604, allocations: 0 / 0.9807 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001981/0.1606, allocations: 51.89 kB / 0.9807 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002866/0.1609, allocations: 260.8 kB / 0.981 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000144/0.1611, allocations: 50.59 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.252e-05/0.1612, allocations: 4.062 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.569e-05/0.1612, allocations: 34.56 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.202e-06/0.1612, allocations: 0 / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004068/0.1616, allocations: 101.7 kB / 0.9811 GB, free: 25.56 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.224e-05/0.1616, allocations: 55.41 kB / 0.9812 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.444e-05/0.1617, allocations: 109.8 kB / 0.9813 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.642e-06/0.1617, allocations: 25.7 kB / 0.9813 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.389e-05/0.1618, allocations: 84.14 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.829e-05/0.1618, allocations: 11.83 kB / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.255e-06/0.1618, allocations: 0 / 0.9814 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.083e-05/0.1619, allocations: 318.8 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001025/0.162, allocations: 23.98 kB / 0.9817 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.147e-05/0.1621, allocations: 23.97 kB / 0.9818 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.902e-05/0.1622, allocations: 23.98 kB / 0.9818 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.1622, allocations: 8 kB / 0.9818 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002406/0.1625, allocations: 81.59 kB / 0.9819 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.1625, allocations: 5.719 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.732e-06/0.1625, allocations: 4 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1626, allocations: 0 / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001022/0.1627, allocations: 16.02 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.649e-06/0.1627, allocations: 0 / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.934e-05/0.1628, allocations: 4 kB / 0.9819 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.768e-06/0.1628, allocations: 4 kB / 0.9819 GB, free: 24.73 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 (2): * Single equations (assignments): 2 * 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 6.163e-05/0.1628, allocations: 113.8 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.029e-05/0.1629, allocations: 15.88 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002739/0.1632, allocations: 89.12 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.893e-06/0.1632, allocations: 0 / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.046e-06/0.1632, allocations: 4 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.149e-06/0.1632, allocations: 0 / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001562/0.1634, allocations: 161.6 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.255e-06/0.1634, allocations: 4.031 kB / 0.9823 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.626e-05/0.1635, allocations: 12 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.357e-06/0.1635, allocations: 7.922 kB / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.551e-06/0.1635, allocations: 0 / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.148e-06/0.1635, allocations: 0 / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.812e-06/0.1635, allocations: 0 / 0.9823 GB, free: 24.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002642/0.1638, allocations: 179.5 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.219e-05/0.1639, allocations: 77.36 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.574e-05/0.1639, allocations: 4 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001184/0.164, allocations: 11.98 kB / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.009e-05/0.1641, allocations: 0 / 0.9826 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.915e-06/0.1641, allocations: 8.031 kB / 0.9826 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.064e-05/0.1641, allocations: 91.2 kB / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.88e-07/0.1641, allocations: 0 / 0.9827 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003193/0.1645, allocations: 15.91 kB / 0.9827 GB, free: 23.86 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 (2): * Single equations (assignments): 2 * 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.0001313/0.1646, allocations: 99.25 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0002598/0.1649, allocations: 51.95 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.77e-06/0.1649, allocations: 0 / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.165, allocations: 23.98 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002177/0.1653, allocations: 11.89 kB / 0.9828 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002684/0.1655, allocations: 120.8 kB / 0.983 GB, free: 23.52 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001193/0.1657, allocations: 0.6809 MB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.332e-05/0.1657, allocations: 7.984 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.077e-05/0.1658, allocations: 7.438 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of SimCode: time 1.416e-06/0.1658, allocations: 0 / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of Templates: time 0.002721/0.1685, allocations: 463.7 kB / 0.9841 GB, free: 22.35 MB / 0.6198 GB