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.495/2.495, allocations: 252.6 MB / 265.2 MB, free: 5.77 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002253/0.002253, allocations: 175.9 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.23/2.23, allocations: 205.4 MB / 0.5754 GB, free: 10.46 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.001053/0.001053, allocations: 98.62 kB / 0.6797 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.535e-05/4.555e-05, allocations: 8 kB / 0.7911 GB, free: 96.59 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2171/0.2171, allocations: 106.2 MB / 0.8949 GB, free: 6.246 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8587/1.076, allocations: 131.2 MB / 1.023 GB, free: 3.383 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002572/1.076, allocations: 68.58 kB / 1.023 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004195/1.08, allocations: 1.155 MB / 1.024 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.633e-06/1.081, allocations: 0 / 1.024 GB, free: 2.324 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.146e-05/1.081, allocations: 4 kB / 1.024 GB, free: 2.32 MB / 0.6355 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.0004375/1.081, allocations: 369 kB / 1.025 GB, free: 1.922 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.963e-05/1.081, allocations: 8.031 kB / 1.025 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.406e-05/1.081, allocations: 19.86 kB / 1.025 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001942/1.081, allocations: 178.5 kB / 1.025 GB, free: 1.684 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.935e-05/1.081, allocations: 4 kB / 1.025 GB, free: 1.68 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.908e-05/1.081, allocations: 11.5 kB / 1.025 GB, free: 1.672 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000211/1.082, allocations: 90.8 kB / 1.025 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.848e-06/1.082, allocations: 0 / 1.025 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/1.082, allocations: 7.688 kB / 1.025 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/1.082, allocations: 3.938 kB / 1.025 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001239/1.082, allocations: 35.81 kB / 1.025 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009022/1.083, allocations: 461.7 kB / 1.025 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/1.083, allocations: 39.52 kB / 1.025 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.235e-05/1.083, allocations: 23.28 kB / 1.025 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.58e-05/1.083, allocations: 3.984 kB / 1.025 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.472e-05/1.083, allocations: 38.59 kB / 1.025 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.836e-06/1.083, allocations: 0 / 1.025 GB, free: 0.9648 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002905/1.083, allocations: 44.92 kB / 1.025 GB, free: 0.918 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.483e-05/1.083, allocations: 84.3 kB / 1.026 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003146/1.084, allocations: 158.4 kB / 1.026 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.28e-05/1.084, allocations: 25.7 kB / 1.026 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001275/1.084, allocations: 113.8 kB / 1.026 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.018e-05/1.084, allocations: 7.906 kB / 1.026 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.871e-06/1.084, allocations: 0 / 1.026 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.084, allocations: 321.7 kB / 1.026 GB, free: 212 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.381e-05/1.084, allocations: 11.88 kB / 1.026 GB, free: 204 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.878e-05/1.084, allocations: 21.09 kB / 1.026 GB, free: 180 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.951e-05/1.085, allocations: 11.31 kB / 1.026 GB, free: 172 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.527e-06/1.085, allocations: 0 / 1.026 GB, free: 172 kB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002271/1.085, allocations: 63.91 kB / 1.026 GB, free: 108 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.767e-05/1.085, allocations: 8 kB / 1.026 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/1.085, allocations: 96 / 1.026 GB, free: 100 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.95e-05/1.085, allocations: 3.984 kB / 1.026 GB, free: 96 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/1.085, allocations: 8 kB / 1.026 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/1.085, allocations: 64 / 1.026 GB, free: 88 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9e-05/1.085, allocations: 11.31 kB / 1.026 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.589e-05/1.085, allocations: 4.219 kB / 1.026 GB, free: 76 kB / 0.6355 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 () * 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.0001443/1.085, allocations: 104.9 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/1.086, allocations: 11.84 kB / 1.026 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.449e-05/1.086, allocations: 20 kB / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/1.086, allocations: 0 / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/1.086, allocations: 0 / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.086, allocations: 4 kB / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006389/1.086, allocations: 483.7 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/1.086, allocations: 4 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.522e-05/1.086, allocations: 0 / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.015e-06/1.086, allocations: 4 kB / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.086, allocations: 0 / 1.027 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/1.086, allocations: 3.938 kB / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/1.086, allocations: 0 / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001469/1.087, allocations: 98.56 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.181e-05/1.087, allocations: 84.45 kB / 1.027 GB, free: 15.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.191e-05/1.087, allocations: 7.984 kB / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.034e-05/1.087, allocations: 0 / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.772e-05/1.087, allocations: 4 kB / 1.027 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.448e-06/1.087, allocations: 4 kB / 1.027 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001451/1.087, allocations: 138.8 kB / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/1.087, allocations: 0 / 1.027 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002499/1.087, allocations: 8 kB / 1.027 GB, free: 15.05 MB / 0.6511 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 () * 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.0001651/1.087, allocations: 99.19 kB / 1.027 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001161/1.088, allocations: 19 kB / 1.027 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/1.088, allocations: 0 / 1.027 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 2.603e-05/1.088, allocations: 4.188 kB / 1.027 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001457/1.088, allocations: 18.56 kB / 1.027 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003505/1.088, allocations: 113.5 kB / 1.027 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003447/1.089, allocations: 0.7043 MB / 1.028 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.524e-05/1.089, allocations: 8.422 kB / 1.028 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.614e-05/1.089, allocations: 15.44 kB / 1.028 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of SimCode: time 1.122e-06/1.089, allocations: 0 / 1.028 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of Templates: time 0.00344/1.092, allocations: 448.8 kB / 1.029 GB, free: 13.61 MB / 0.6511 GB