Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Utilities.Math.Examples.Biquadratic.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.Biquadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Utilities.Math.Examples.Biquadratic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.691/2.691, 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.00143/0.001429, allocations: 183.3 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.277/2.277, allocations: 205.4 MB / 0.6301 GB, free: 10.3 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.001029/0.001028, allocations: 84.41 kB / 0.7434 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004688/0.0004691, allocations: 11.69 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1595/0.16, allocations: 115.3 MB / 0.9787 GB, free: 28.19 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001389/0.1614, allocations: 1.191 MB / 0.9799 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000226/0.1617, allocations: 108.6 kB / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.012e-05/0.1617, allocations: 0 / 0.98 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.142e-05/0.1618, allocations: 11.86 kB / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 4.63e-05/0.1618, allocations: 0 / 0.98 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001372/0.162, allocations: 19.97 kB / 0.98 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.124e-05/0.162, allocations: 31.91 kB / 0.9801 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.545e-05/0.1621, allocations: 11.98 kB / 0.9801 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 3.797e-05/0.1622, allocations: 8 kB / 0.9801 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.388e-05/0.1622, allocations: 23.91 kB / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.476e-05/0.1623, allocations: 0 / 0.9801 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.32e-05/0.1623, allocations: 11.98 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 2.843e-05/0.1624, allocations: 19.86 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.144e-05/0.1624, allocations: 33.7 kB / 0.9802 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.464e-05/0.1625, allocations: 35.92 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.498e-06/0.1625, allocations: 0 / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.648e-06/0.1625, allocations: 0 / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.924e-06/0.1625, allocations: 0 / 0.9802 GB, free: 26.66 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004178/0.1629, allocations: 387.4 kB / 0.9806 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.163, allocations: 16.02 kB / 0.9806 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.163, allocations: 15.83 kB / 0.9806 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.031e-05/0.1631, allocations: 171 kB / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.048e-06/0.1632, allocations: 0 / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.408e-05/0.1632, allocations: 0 / 0.9808 GB, free: 26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002666/0.1635, allocations: 85.66 kB / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.869e-06/0.1635, allocations: 0 / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-06/0.1635, allocations: 0 / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.27e-06/0.1635, allocations: 0 / 0.9808 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003484/0.1639, allocations: 103.9 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003383/0.1642, allocations: 288.7 kB / 0.9812 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002316/0.1645, allocations: 78.53 kB / 0.9813 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002035/0.1647, allocations: 109.2 kB / 0.9814 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.1647, allocations: 38.5 kB / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.989e-06/0.1647, allocations: 0 / 0.9814 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0006398/0.1654, allocations: 181.5 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.1654, allocations: 51.41 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.371e-05/0.1655, allocations: 131.8 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.018e-05/0.1656, allocations: 25.7 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.986e-05/0.1656, allocations: 92.05 kB / 0.9819 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.1656, allocations: 15.89 kB / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.946e-06/0.1656, allocations: 0 / 0.9819 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.271e-05/0.1657, allocations: 322.8 kB / 0.9822 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001809/0.1659, allocations: 43.95 kB / 0.9823 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001684/0.1661, allocations: 47.97 kB / 0.9823 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001727/0.1663, allocations: 51.95 kB / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.056e-06/0.1663, allocations: 0 / 0.9824 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0004022/0.1667, allocations: 141.5 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.1667, allocations: 4 kB / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.172e-06/0.1667, allocations: 0 / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.1668, allocations: 0 / 0.9825 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001488/0.1669, allocations: 19.98 kB / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.077e-06/0.1669, allocations: 0 / 0.9825 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.68e-05/0.167, allocations: 19.98 kB / 0.9825 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.845e-05/0.1671, allocations: 4 kB / 0.9825 GB, free: 24.04 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 (3): * Single equations (assignments): 3 * 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 7.025e-05/0.1672, allocations: 125.7 kB / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.726e-05/0.1672, allocations: 0 / 0.9827 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004318/0.1676, allocations: 137.5 kB / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.583e-06/0.1677, allocations: 384 / 0.9828 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.311e-06/0.1677, allocations: 7.938 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.478e-06/0.1677, allocations: 4 kB / 0.9828 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001762/0.1679, allocations: 189.5 kB / 0.983 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.076e-06/0.1679, allocations: 0 / 0.983 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001166/0.168, allocations: 23.97 kB / 0.983 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.631e-06/0.168, allocations: 3.984 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.1681, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.189e-06/0.1681, allocations: 0 / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.86e-06/0.1681, allocations: 4 kB / 0.983 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004187/0.1685, allocations: 231.4 kB / 0.9832 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.447e-05/0.1685, allocations: 84.95 kB / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.725e-05/0.1686, allocations: 0 / 0.9833 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001942/0.1688, allocations: 15.98 kB / 0.9833 GB, free: 23.12 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.831e-05/0.1688, allocations: 7.984 kB / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.078e-06/0.1689, allocations: 0 / 0.9833 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 7.165e-05/0.169, allocations: 103.3 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8.73e-07/0.169, allocations: 3.938 kB / 0.9834 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003532/0.1693, allocations: 8 kB / 0.9834 GB, free: 23 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 (3): * Single equations (assignments): 3 * 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.0001545/0.1695, allocations: 103.2 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004956/0.17, allocations: 103.9 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.902e-06/0.17, allocations: 0 / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002777/0.1703, allocations: 51.97 kB / 0.9837 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.1706, allocations: 15.94 kB / 0.9837 GB, free: 22.72 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003379/0.171, allocations: 156.6 kB / 0.9839 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001359/0.1712, allocations: 0.6926 MB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.831e-05/0.1712, allocations: 4 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.613e-05/0.1713, allocations: 7.438 kB / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of SimCode: time 1.472e-06/0.1713, allocations: 0 / 0.9845 GB, free: 21.81 MB / 0.6198 GB Notification: Performance of Templates: time 0.003044/0.1743, allocations: 0.6352 MB / 0.9852 GB, free: 21.18 MB / 0.6198 GB