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.34/2.34, 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.001492/0.001492, allocations: 182.4 kB / 325.6 MB, free: 2.836 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.377/2.377, allocations: 205.4 MB / 0.5766 GB, free: 20.72 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.001164/0.001164, allocations: 102.9 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006439/0.0006441, allocations: 11.19 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2537/0.2544, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2264/0.4809, allocations: 131.2 MB / 1.027 GB, free: 14.05 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002803/0.4812, allocations: 67.97 kB / 1.027 GB, free: 13.99 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004266/0.4855, allocations: 1.154 MB / 1.028 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.144e-06/0.4856, allocations: 0 / 1.028 GB, free: 12.83 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.4856, allocations: 0 / 1.028 GB, free: 12.83 MB / 0.6823 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.0005039/0.4861, allocations: 386.9 kB / 1.029 GB, free: 12.41 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.918e-05/0.4862, allocations: 8.031 kB / 1.029 GB, free: 12.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.138e-05/0.4862, allocations: 11.86 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001988/0.4864, allocations: 191 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.19e-05/0.4865, allocations: 12 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.594e-05/0.4865, allocations: 11.92 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002392/0.4867, allocations: 89.58 kB / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.29e-05/0.4868, allocations: 0 / 1.029 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.556e-05/0.4868, allocations: 11.94 kB / 1.029 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.4868, allocations: 4 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000129/0.4869, allocations: 39.92 kB / 1.029 GB, free: 11.98 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007917/0.4878, allocations: 460.5 kB / 1.029 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 7.578e-05/0.4879, allocations: 41.2 kB / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 9.678e-06/0.4879, allocations: 0 / 1.029 GB, free: 11.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.4879, allocations: 34.59 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.703e-06/0.4879, allocations: 0 / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0002281/0.4882, allocations: 57.67 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.301e-05/0.4882, allocations: 81.05 kB / 1.03 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002113/0.4885, allocations: 151.2 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.4885, allocations: 33.7 kB / 1.03 GB, free: 11.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001019/0.4886, allocations: 107.9 kB / 1.03 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.332e-05/0.4886, allocations: 7.844 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.4886, allocations: 0 / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4888, allocations: 327.1 kB / 1.03 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.4888, allocations: 8 kB / 1.03 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.002e-05/0.4889, allocations: 17.72 kB / 1.03 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.017e-05/0.4889, allocations: 19.94 kB / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.489, allocations: 0 / 1.03 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001532/0.4891, allocations: 61.55 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/0.4892, allocations: 4 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.4892, allocations: 4.062 kB / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.713e-05/0.4892, allocations: 0 / 1.03 GB, free: 10.45 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.4893, allocations: 11.98 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.154e-06/0.4893, allocations: 0 / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.731e-05/0.4894, allocations: 0.8594 kB / 1.03 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.4894, allocations: 4 kB / 1.03 GB, free: 10.43 MB / 0.6823 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.0001134/0.4896, allocations: 117.8 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.878e-05/0.4896, allocations: 11.81 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.4897, allocations: 12.56 kB / 1.03 GB, free: 10.28 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.087e-06/0.4897, allocations: 7.984 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.4897, allocations: 3.938 kB / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.4897, allocations: 0 / 1.03 GB, free: 10.27 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005708/0.4903, allocations: 478.8 kB / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.4903, allocations: 0 / 1.031 GB, free: 9.738 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.209e-05/0.4904, allocations: 11.92 kB / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.4904, allocations: 0 / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.647e-06/0.4904, allocations: 0 / 1.031 GB, free: 9.727 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.4904, allocations: 8.062 kB / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.053e-06/0.4904, allocations: 0 / 1.031 GB, free: 9.719 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.4906, allocations: 87.58 kB / 1.031 GB, free: 9.605 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.893e-05/0.4907, allocations: 93 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.086e-05/0.4907, allocations: 0 / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.259e-05/0.4908, allocations: 11.97 kB / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.92e-05/0.4908, allocations: 0 / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.009e-06/0.4908, allocations: 0 / 1.031 GB, free: 9.484 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.000153/0.491, allocations: 134.8 kB / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.084e-06/0.491, allocations: 0 / 1.031 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002509/0.4913, allocations: 15.89 kB / 1.031 GB, free: 9.34 MB / 0.6823 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.0001526/0.4914, allocations: 99.19 kB / 1.031 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.4916, allocations: 24 kB / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.4916, allocations: 0 / 1.031 GB, free: 9.211 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/0.4916, allocations: 7.938 kB / 1.031 GB, free: 9.203 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001671/0.4918, allocations: 13.28 kB / 1.031 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004912/0.4923, allocations: 190.2 kB / 1.032 GB, free: 8.98 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002898/0.4926, allocations: 0.7004 MB / 1.032 GB, free: 8.254 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.989e-05/0.4927, allocations: 8.422 kB / 1.032 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.362e-05/0.4927, allocations: 15.38 kB / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of SimCode: time 1.103e-06/0.4927, allocations: 0 / 1.032 GB, free: 8.23 MB / 0.6823 GB Notification: Performance of Templates: time 0.003486/0.4962, allocations: 451.9 kB / 1.033 GB, free: 7.789 MB / 0.6823 GB