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.504/2.504, allocations: 253.2 MB / 260.6 MB, free: 7.473 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.001445/0.001445, allocations: 180.1 kB / 319.9 MB, free: 3.09 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.252/2.252, allocations: 205.6 MB / 0.5708 GB, free: 15.26 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.001614/0.001613, allocations: 93.2 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.417e-05/2.427e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2364/0.2364, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9343/1.171, allocations: 131.4 MB / 1.017 GB, free: 5.875 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002386/1.171, allocations: 71.89 kB / 1.017 GB, free: 5.832 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00399/1.175, allocations: 1.147 MB / 1.018 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.462e-06/1.175, allocations: 0 / 1.018 GB, free: 4.832 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.947e-06/1.175, allocations: 0 / 1.018 GB, free: 4.832 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.0004013/1.176, allocations: 369.2 kB / 1.019 GB, free: 4.434 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/1.176, allocations: 12.02 kB / 1.019 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.215e-05/1.176, allocations: 11.86 kB / 1.019 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/1.176, allocations: 182.8 kB / 1.019 GB, free: 4.191 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.854e-05/1.176, allocations: 6.438 kB / 1.019 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/1.176, allocations: 8 kB / 1.019 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001303/1.176, allocations: 34.12 kB / 1.019 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001753/1.176, allocations: 81.98 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/1.176, allocations: 0 / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/1.176, allocations: 0 / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.325e-06/1.176, allocations: 0 / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007424/1.177, allocations: 419.2 kB / 1.019 GB, free: 3.66 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.356e-05/1.177, allocations: 36.91 kB / 1.019 GB, free: 3.609 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.115e-05/1.177, allocations: 20.41 kB / 1.019 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.706e-05/1.177, allocations: 8.016 kB / 1.019 GB, free: 3.578 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.53e-05/1.177, allocations: 33.75 kB / 1.019 GB, free: 3.539 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.637e-06/1.177, allocations: 3.984 kB / 1.019 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001875/1.177, allocations: 41.61 kB / 1.019 GB, free: 3.488 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.904e-05/1.178, allocations: 80.61 kB / 1.019 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/1.178, allocations: 129.3 kB / 1.02 GB, free: 3.27 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.843e-05/1.178, allocations: 25.7 kB / 1.02 GB, free: 3.238 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.47e-05/1.178, allocations: 114.8 kB / 1.02 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.096e-05/1.178, allocations: 7.656 kB / 1.02 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.108e-06/1.178, allocations: 0 / 1.02 GB, free: 3.125 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001372/1.178, allocations: 318.8 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.851e-05/1.178, allocations: 7.188 kB / 1.02 GB, free: 2.801 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.219e-05/1.178, allocations: 23.81 kB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.955e-05/1.178, allocations: 7.625 kB / 1.02 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/1.178, allocations: 3.984 kB / 1.02 GB, free: 2.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001259/1.178, allocations: 56.66 kB / 1.02 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/1.178, allocations: 8 kB / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.601e-06/1.178, allocations: 0 / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/1.178, allocations: 0 / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/1.178, allocations: 8 kB / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.003e-06/1.179, allocations: 3.984 kB / 1.02 GB, free: 2.695 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.751e-05/1.179, allocations: 11.91 kB / 1.02 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/1.179, allocations: 0 / 1.02 GB, free: 2.684 MB / 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 7.764e-05/1.179, allocations: 105.2 kB / 1.02 GB, free: 2.574 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.588e-05/1.179, allocations: 11.89 kB / 1.02 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.214e-05/1.179, allocations: 15.73 kB / 1.02 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/1.179, allocations: 0 / 1.02 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.179, allocations: 4 kB / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.487e-06/1.179, allocations: 0 / 1.02 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/1.179, allocations: 463.8 kB / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.179, allocations: 0 / 1.021 GB, free: 2.062 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.998e-05/1.179, allocations: 4 kB / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/1.179, allocations: 0 / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/1.179, allocations: 0 / 1.021 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/1.179, allocations: 3.984 kB / 1.021 GB, free: 2.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/1.179, allocations: 4 kB / 1.021 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001262/1.18, allocations: 94.83 kB / 1.021 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.078e-05/1.18, allocations: 84.47 kB / 1.021 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.924e-05/1.18, allocations: 4 kB / 1.021 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.349e-05/1.18, allocations: 0 / 1.021 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.787e-05/1.18, allocations: 0 / 1.021 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/1.18, allocations: 0 / 1.021 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.056e-05/1.18, allocations: 108.6 kB / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.21e-07/1.18, allocations: 0 / 1.021 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002636/1.18, allocations: 11.91 kB / 1.021 GB, free: 1.727 MB / 0.6355 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.0001427/1.18, allocations: 95.25 kB / 1.021 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001547/1.18, allocations: 23.31 kB / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/1.181, allocations: 0 / 1.021 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 2.176e-05/1.181, allocations: 4 kB / 1.021 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001503/1.181, allocations: 15.39 kB / 1.021 GB, free: 1.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/1.181, allocations: 104.4 kB / 1.021 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003141/1.181, allocations: 0.6963 MB / 1.022 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.143e-05/1.181, allocations: 12.11 kB / 1.022 GB, free: 0.7266 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.958e-05/1.181, allocations: 11.44 kB / 1.022 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of SimCode: time 9.21e-07/1.181, allocations: 4 kB / 1.022 GB, free: 0.7148 MB / 0.6355 GB Notification: Performance of Templates: time 0.002843/1.184, allocations: 306.6 kB / 1.022 GB, free: 436 kB / 0.6355 GB