Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.227/2.227, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00225/0.00225, allocations: 187.8 kB / 325.6 MB, free: 2.824 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.478/2.478, allocations: 205.4 MB / 0.5766 GB, free: 20.68 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001727/0.001727, allocations: 102.3 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006558/0.0006561, allocations: 14.22 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2638/0.2644, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_ton): time 0.001551/0.2661, allocations: 0.5602 MB / 0.8994 GB, free: 64.91 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0001828/0.2663, allocations: 43.8 kB / 0.8995 GB, free: 64.87 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.728e-05/0.2664, allocations: 4 kB / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.798e-05/0.2665, allocations: 7.922 kB / 0.8995 GB, free: 64.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001235/0.2666, allocations: 3.984 kB / 0.8995 GB, free: 64.85 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 7.311e-05/0.2667, allocations: 15.98 kB / 0.8995 GB, free: 64.84 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001236/0.2668, allocations: 35.91 kB / 0.8995 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001816/0.267, allocations: 37.56 kB / 0.8996 GB, free: 64.75 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.37e-05/0.2671, allocations: 19.86 kB / 0.8996 GB, free: 64.73 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 7.25e-05/0.2672, allocations: 23.86 kB / 0.8996 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.095e-05/0.2673, allocations: 0 / 0.8996 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.627e-05/0.2673, allocations: 7.938 kB / 0.8996 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.2674, allocations: 3.984 kB / 0.8996 GB, free: 64.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.307e-05/0.2674, allocations: 37.64 kB / 0.8997 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001253/0.2676, allocations: 59.86 kB / 0.8997 GB, free: 64.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.2676, allocations: 4 kB / 0.8997 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.394e-06/0.2676, allocations: 0 / 0.8997 GB, free: 64.59 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.981e-06/0.2676, allocations: 0 / 0.8997 GB, free: 64.59 MB / 0.6042 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.0005095/0.2681, allocations: 371.3 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.2682, allocations: 8.031 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.655e-05/0.2683, allocations: 7.906 kB / 0.9001 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002794/0.2686, allocations: 205.2 kB / 0.9003 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.575e-05/0.2686, allocations: 4 kB / 0.9003 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.844e-05/0.2687, allocations: 12 kB / 0.9003 GB, free: 63.91 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002733/0.269, allocations: 88.64 kB / 0.9004 GB, free: 63.82 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.415e-05/0.269, allocations: 7.875 kB / 0.9004 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.936e-05/0.269, allocations: 4 kB / 0.9004 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.2691, allocations: 0 / 0.9004 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001712/0.2693, allocations: 39.92 kB / 0.9004 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009531/0.2702, allocations: 461.7 kB / 0.9009 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 9.776e-05/0.2704, allocations: 37.22 kB / 0.9009 GB, free: 63.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.04e-05/0.2704, allocations: 3.984 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.2705, allocations: 34.56 kB / 0.901 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 5.631e-06/0.2705, allocations: 0 / 0.901 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003025/0.2708, allocations: 53.61 kB / 0.901 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.2709, allocations: 85.05 kB / 0.9011 GB, free: 63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002468/0.2712, allocations: 175.9 kB / 0.9013 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.311e-05/0.2712, allocations: 25.7 kB / 0.9013 GB, free: 62.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 7.776e-05/0.2713, allocations: 104 kB / 0.9014 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.606e-05/0.2713, allocations: 8.156 kB / 0.9014 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.011e-06/0.2713, allocations: 4 kB / 0.9014 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.2714, allocations: 314.8 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.573e-05/0.2715, allocations: 11.98 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.767e-05/0.2716, allocations: 21.72 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.993e-05/0.2717, allocations: 4 kB / 0.9017 GB, free: 62.31 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.2717, allocations: 3.953 kB / 0.9017 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002031/0.2719, allocations: 69.56 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.272, allocations: 4 kB / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.956e-06/0.272, allocations: 0 / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.272, allocations: 0 / 0.9018 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001513/0.2722, allocations: 8 kB / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.2722, allocations: 0 / 0.9018 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.263e-05/0.2723, allocations: 11.84 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.2724, allocations: 0 / 0.9018 GB, free: 62.21 MB / 0.6042 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 0.0001182/0.2725, allocations: 113.8 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.838e-05/0.2726, allocations: 15.88 kB / 0.9019 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.549e-05/0.2727, allocations: 16.56 kB / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.811e-06/0.2727, allocations: 0 / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.2727, allocations: 0 / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-06/0.2727, allocations: 0 / 0.902 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006731/0.2734, allocations: 486.7 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.2735, allocations: 0 / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.097e-05/0.2735, allocations: 4 kB / 0.9024 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.2736, allocations: 4.062 kB / 0.9024 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2736, allocations: 7.938 kB / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.2736, allocations: 0 / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.2736, allocations: 0 / 0.9024 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000155/0.2738, allocations: 91.56 kB / 0.9025 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.106e-05/0.2739, allocations: 89.05 kB / 0.9026 GB, free: 61.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.286e-05/0.2739, allocations: 7.938 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.185e-05/0.2741, allocations: 7.984 kB / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.824e-05/0.2741, allocations: 96 / 0.9026 GB, free: 61.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.2741, allocations: 3.984 kB / 0.9026 GB, free: 61.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0001637/0.2743, allocations: 130.8 kB / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.31e-07/0.2743, allocations: 0 / 0.9028 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.000423/0.2748, allocations: 11.91 kB / 0.9028 GB, free: 61.12 MB / 0.6042 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 0.0001477/0.2749, allocations: 107.1 kB / 0.9029 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001464/0.2751, allocations: 20 kB / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2751, allocations: 0 / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.731e-05/0.2752, allocations: 11.92 kB / 0.9029 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002143/0.2754, allocations: 10.19 kB / 0.9029 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.276, allocations: 194.2 kB / 0.9031 GB, free: 60.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001767/0.2762, allocations: 0.7043 MB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 7.208e-05/0.2763, allocations: 4.438 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.32e-05/0.2764, allocations: 15.44 kB / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of SimCode: time 2.624e-06/0.2764, allocations: 0 / 0.9038 GB, free: 60 MB / 0.6042 GB Notification: Performance of Templates: time 0.004293/0.2807, allocations: 440.7 kB / 0.9042 GB, free: 59.57 MB / 0.6042 GB