Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.688/2.688, allocations: 287.9 MB / 302.9 MB, free: 8.324 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.001417/0.001417, allocations: 182.7 kB / 371.4 MB, free: 10.7 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.293/2.293, 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.001001/0.001001, allocations: 93.08 kB / 0.7434 GB, free: 6.43 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004758/0.000476, allocations: 17.06 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1547/0.1552, allocations: 115.3 MB / 0.9788 GB, free: 28.2 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.0008443/0.1561, allocations: 0.5365 MB / 0.9793 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001025/0.1563, allocations: 39.8 kB / 0.9793 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.909e-05/0.1563, allocations: 0 / 0.9793 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.227e-05/0.1564, allocations: 7.922 kB / 0.9793 GB, free: 27.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.767e-05/0.1564, allocations: 7.984 kB / 0.9793 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 4.149e-05/0.1565, allocations: 15.98 kB / 0.9794 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.409e-05/0.1566, allocations: 35.91 kB / 0.9794 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001131/0.1567, allocations: 41.55 kB / 0.9794 GB, free: 27.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.906e-05/0.1568, allocations: 15.88 kB / 0.9794 GB, free: 27.49 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.713e-05/0.1568, allocations: 23.8 kB / 0.9795 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.256e-05/0.1568, allocations: 4 kB / 0.9795 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.208e-06/0.1569, allocations: 0 / 0.9795 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.256e-05/0.1569, allocations: 15.92 kB / 0.9795 GB, free: 27.45 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.977e-05/0.1569, allocations: 37.64 kB / 0.9795 GB, free: 27.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 7.956e-05/0.157, allocations: 64.08 kB / 0.9796 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.097e-06/0.157, allocations: 0 / 0.9796 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.921e-06/0.157, allocations: 0 / 0.9796 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.971e-06/0.157, allocations: 3.938 kB / 0.9796 GB, free: 27.34 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.0003143/0.1574, allocations: 371 kB / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.1574, allocations: 8.031 kB / 0.98 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.691e-05/0.1575, allocations: 7.906 kB / 0.98 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.1576, allocations: 206.8 kB / 0.9802 GB, free: 26.67 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.45e-06/0.1577, allocations: 4 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.885e-05/0.1577, allocations: 8 kB / 0.9802 GB, free: 26.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.1579, allocations: 91.33 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.735e-05/0.1579, allocations: 0 / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.388e-05/0.1579, allocations: 4 kB / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.98e-06/0.1579, allocations: 0 / 0.9803 GB, free: 26.55 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.415e-05/0.158, allocations: 35.98 kB / 0.9803 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005172/0.1586, allocations: 456.5 kB / 0.9807 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 5.033e-05/0.1586, allocations: 37.16 kB / 0.9808 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 7.7e-06/0.1586, allocations: 8.125 kB / 0.9808 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.958e-05/0.1587, allocations: 42.58 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 2.049e-06/0.1587, allocations: 0 / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0001942/0.1589, allocations: 49.61 kB / 0.9809 GB, free: 25.85 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.363e-05/0.1589, allocations: 85.05 kB / 0.9809 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001452/0.1591, allocations: 171.3 kB / 0.9811 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.616e-06/0.1591, allocations: 29.95 kB / 0.9811 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.899e-05/0.1592, allocations: 107.9 kB / 0.9812 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.054e-05/0.1592, allocations: 7.984 kB / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.49e-06/0.1592, allocations: 0 / 0.9812 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.328e-05/0.1593, allocations: 314.8 kB / 0.9815 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.506e-05/0.1593, allocations: 11.98 kB / 0.9816 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.919e-05/0.1593, allocations: 17.72 kB / 0.9816 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.176e-05/0.1594, allocations: 12 kB / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.1594, allocations: 0 / 0.9816 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001122/0.1595, allocations: 73.39 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.498e-05/0.1595, allocations: 7.938 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.341e-06/0.1596, allocations: 0 / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.1596, allocations: 0 / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.427e-05/0.1597, allocations: 8 kB / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.1597, allocations: 0 / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.074e-05/0.1597, allocations: 0 / 0.9817 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.162e-06/0.1597, allocations: 7.984 kB / 0.9817 GB, free: 24.95 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.206e-05/0.1598, allocations: 117.9 kB / 0.9818 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.486e-05/0.1599, allocations: 11.86 kB / 0.9818 GB, free: 24.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.955e-05/0.1599, allocations: 16.55 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.832e-06/0.1599, allocations: 4.031 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.974e-06/0.16, allocations: 0 / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.16, allocations: 7.922 kB / 0.9818 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003899/0.1604, allocations: 490.7 kB / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.409e-06/0.1604, allocations: 0 / 0.9823 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.261e-05/0.1604, allocations: 7.938 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.218e-06/0.1604, allocations: 0 / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.549e-06/0.1604, allocations: 0 / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.165e-06/0.1605, allocations: 0 / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.791e-06/0.1605, allocations: 4 kB / 0.9823 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.393e-05/0.1606, allocations: 95.62 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.1606, allocations: 88.95 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.1607, allocations: 0 / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.597e-05/0.1607, allocations: 3.984 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.215e-05/0.1607, allocations: 4 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.754e-06/0.1607, allocations: 0 / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 9.318e-05/0.1608, allocations: 131.9 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.79e-07/0.1608, allocations: 0 / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002552/0.1611, allocations: 12.03 kB / 0.9826 GB, free: 23.86 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 8.613e-05/0.1612, allocations: 95.25 kB / 0.9827 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 9.201e-05/0.1613, allocations: 20 kB / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.81e-06/0.1613, allocations: 0 / 0.9827 GB, free: 23.73 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 2.098e-05/0.1614, allocations: 11.92 kB / 0.9827 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1615, allocations: 9.203 kB / 0.9828 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003396/0.1618, allocations: 195.2 kB / 0.9829 GB, free: 23.5 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000138/0.162, allocations: 0.7082 MB / 0.9836 GB, free: 22.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.808e-05/0.1621, allocations: 4.438 kB / 0.9836 GB, free: 22.76 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.1621, allocations: 11.44 kB / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of SimCode: time 1.233e-06/0.1621, allocations: 0 / 0.9836 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of Templates: time 0.002807/0.1649, allocations: 439.8 kB / 0.9841 GB, free: 22.32 MB / 0.6198 GB