Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.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.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.765/2.765, allocations: 287.9 MB / 302.9 MB, free: 8.367 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.001427/0.001427, allocations: 181.1 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.145/2.145, allocations: 205.4 MB / 0.6301 GB, free: 10.39 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.001045/0.001044, allocations: 98.22 kB / 0.7434 GB, free: 6.398 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004693, allocations: 12.38 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1569/0.1574, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_ton): time 0.0009019/0.1584, allocations: 0.5404 MB / 0.9793 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001071/0.1585, allocations: 47.8 kB / 0.9793 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.1586, allocations: 0 / 0.9793 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.021e-05/0.1586, allocations: 3.938 kB / 0.9793 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.095e-05/0.1587, allocations: 15.97 kB / 0.9793 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.319e-05/0.1588, allocations: 8 kB / 0.9794 GB, free: 27.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.615e-05/0.1589, allocations: 43.89 kB / 0.9794 GB, free: 27.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001191/0.159, allocations: 33.56 kB / 0.9794 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.433e-05/0.159, allocations: 19.86 kB / 0.9794 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.851e-05/0.1591, allocations: 23.8 kB / 0.9795 GB, free: 27.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1591, allocations: 7.938 kB / 0.9795 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-06/0.1592, allocations: 0 / 0.9795 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.239e-05/0.1592, allocations: 8 kB / 0.9795 GB, free: 27.43 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.13e-05/0.1592, allocations: 37.64 kB / 0.9795 GB, free: 27.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.441e-05/0.1593, allocations: 56.08 kB / 0.9796 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.211e-06/0.1593, allocations: 0 / 0.9796 GB, free: 27.33 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.938e-06/0.1593, allocations: 8 kB / 0.9796 GB, free: 27.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.648e-06/0.1593, allocations: 0 / 0.9796 GB, free: 27.32 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0003214/0.1597, allocations: 375 kB / 0.9799 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.1597, allocations: 8.031 kB / 0.9799 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.479e-05/0.1597, allocations: 11.91 kB / 0.98 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.1599, allocations: 194.8 kB / 0.9801 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.312e-05/0.16, allocations: 4 kB / 0.9801 GB, free: 26.65 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.534e-05/0.16, allocations: 11.98 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001627/0.1602, allocations: 96.58 kB / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.527e-06/0.1602, allocations: 0 / 0.9802 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.1602, allocations: 4 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.18e-06/0.1602, allocations: 4 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.817e-05/0.1603, allocations: 35.98 kB / 0.9803 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005477/0.1609, allocations: 456.5 kB / 0.9807 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.131e-05/0.161, allocations: 33.16 kB / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.892e-06/0.161, allocations: 0 / 0.9808 GB, free: 25.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.098e-05/0.161, allocations: 42.72 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.891e-06/0.161, allocations: 4 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001948/0.1612, allocations: 49.59 kB / 0.9809 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.1613, allocations: 85.05 kB / 0.9809 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1614, allocations: 167.3 kB / 0.9811 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.365e-06/0.1614, allocations: 29.7 kB / 0.9811 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.111e-05/0.1615, allocations: 107.9 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.959e-06/0.1615, allocations: 7.938 kB / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.555e-06/0.1615, allocations: 256 / 0.9812 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.458e-05/0.1616, allocations: 326.8 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.407e-05/0.1616, allocations: 4 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.007e-05/0.1617, allocations: 21.7 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.393e-05/0.1617, allocations: 8 kB / 0.9816 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.378e-06/0.1617, allocations: 3.938 kB / 0.9816 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001135/0.1618, allocations: 69.41 kB / 0.9816 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.1619, allocations: 8.062 kB / 0.9817 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1619, allocations: 7.984 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.1619, allocations: 0 / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.372e-05/0.162, allocations: 4 kB / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.083e-06/0.162, allocations: 0 / 0.9817 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.139e-05/0.1621, allocations: 4.094 kB / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.838e-06/0.1621, allocations: 0 / 0.9817 GB, free: 24.93 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (4): * Single equations (assignments): 4 * 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.523e-05/0.1621, allocations: 113.8 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.304e-05/0.1622, allocations: 15.84 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.657e-05/0.1623, allocations: 20.55 kB / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.178e-06/0.1623, allocations: 0 / 0.9818 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.058e-06/0.1623, allocations: 8 kB / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.545e-06/0.1623, allocations: 0 / 0.9818 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003855/0.1627, allocations: 482.7 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.032e-06/0.1627, allocations: 0 / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.318e-05/0.1627, allocations: 7.922 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.92e-06/0.1628, allocations: 4.062 kB / 0.9823 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-06/0.1628, allocations: 8 kB / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.638e-06/0.1628, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.889e-06/0.1628, allocations: 0 / 0.9823 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.354e-05/0.1629, allocations: 87.58 kB / 0.9824 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.466e-05/0.163, allocations: 96.94 kB / 0.9825 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.772e-05/0.163, allocations: 4.031 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.366e-05/0.163, allocations: 0 / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.742e-05/0.1631, allocations: 0 / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.893e-06/0.1631, allocations: 4 kB / 0.9825 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.226e-05/0.1632, allocations: 127.9 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.68e-06/0.1632, allocations: 0 / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002544/0.1634, allocations: 11.94 kB / 0.9826 GB, free: 23.84 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 9.701e-05/0.1636, allocations: 95.25 kB / 0.9827 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.102e-05/0.1637, allocations: 20 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.105e-06/0.1637, allocations: 0 / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.128e-05/0.1637, allocations: 11.94 kB / 0.9827 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1638, allocations: 15.89 kB / 0.9828 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003474/0.1642, allocations: 198.8 kB / 0.9829 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.1643, allocations: 0.6965 MB / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.905e-05/0.1644, allocations: 8.422 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.546e-05/0.1644, allocations: 15.44 kB / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of SimCode: time 1.326e-06/0.1644, allocations: 0 / 0.9836 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of Templates: time 0.002828/0.1673, allocations: 447.8 kB / 0.9841 GB, free: 22.3 MB / 0.6198 GB