Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.111/5.111, allocations: 0.5623 GB / 0.5775 GB, free: 3.371 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002444/0.002444, allocations: 358.8 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.042/4.042, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00178/0.001779, allocations: 176.1 kB / 1.226 GB, free: 36.02 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005/0.0005001, allocations: 16 kB / 1.349 GB, free: 121.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2125/0.213, allocations: 115.3 MB / 1.461 GB, free: 6.656 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8987/1.112, allocations: 137.4 MB / 1.596 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/1.112, allocations: 67.22 kB / 1.596 GB, free: 4.473 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.003713/1.116, allocations: 1.155 MB / 1.597 GB, free: 3.461 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.114e-06/1.116, allocations: 0 / 1.597 GB, free: 3.461 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 9.638e-06/1.116, allocations: 4 kB / 1.597 GB, free: 3.457 MB / 0.6667 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.0004297/1.116, allocations: 382.6 kB / 1.597 GB, free: 3.043 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/1.116, allocations: 8.031 kB / 1.597 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.195e-05/1.116, allocations: 11.81 kB / 1.597 GB, free: 3.023 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001533/1.117, allocations: 186.8 kB / 1.597 GB, free: 2.801 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.97e-05/1.117, allocations: 10.47 kB / 1.597 GB, free: 2.793 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.762e-05/1.117, allocations: 7.062 kB / 1.597 GB, free: 2.789 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/1.117, allocations: 94.5 kB / 1.597 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.117, allocations: 0 / 1.597 GB, free: 2.703 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/1.117, allocations: 7 kB / 1.597 GB, free: 2.699 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.962e-06/1.117, allocations: 4 kB / 1.597 GB, free: 2.695 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001163/1.117, allocations: 36.42 kB / 1.597 GB, free: 2.672 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006982/1.118, allocations: 464.6 kB / 1.598 GB, free: 2.199 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 5.764e-05/1.118, allocations: 36.72 kB / 1.598 GB, free: 2.148 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.843e-05/1.118, allocations: 20.05 kB / 1.598 GB, free: 2.129 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.02e-05/1.118, allocations: 7.922 kB / 1.598 GB, free: 2.121 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/1.118, allocations: 30.56 kB / 1.598 GB, free: 2.082 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=2): time 1.754e-06/1.118, allocations: 4 kB / 1.598 GB, free: 2.078 MB / 0.6667 GB Notification: Performance of matching and sorting (n=2): time 0.0002141/1.118, allocations: 56.17 kB / 1.598 GB, free: 2.023 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/1.118, allocations: 77.11 kB / 1.598 GB, free: 1.93 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001979/1.118, allocations: 172.6 kB / 1.598 GB, free: 1.77 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/1.118, allocations: 25.7 kB / 1.598 GB, free: 1.738 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 7.891e-05/1.119, allocations: 107.1 kB / 1.598 GB, free: 1.641 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 1.118e-05/1.119, allocations: 7.844 kB / 1.598 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.178e-06/1.119, allocations: 256 / 1.598 GB, free: 1.633 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002055/1.119, allocations: 329 kB / 1.599 GB, free: 17.31 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.019e-05/1.119, allocations: 4 kB / 1.599 GB, free: 17.3 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.573e-05/1.119, allocations: 22.58 kB / 1.599 GB, free: 17.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.881e-05/1.119, allocations: 11.33 kB / 1.599 GB, free: 17.28 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/1.119, allocations: 0 / 1.599 GB, free: 17.28 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001298/1.119, allocations: 64.22 kB / 1.599 GB, free: 17.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/1.119, allocations: 15.03 kB / 1.599 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/1.119, allocations: 0 / 1.599 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/1.119, allocations: 0 / 1.599 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.625e-05/1.119, allocations: 4 kB / 1.599 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/1.119, allocations: 4 kB / 1.599 GB, free: 17.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.476e-05/1.119, allocations: 7.906 kB / 1.599 GB, free: 17.19 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/1.119, allocations: 6.938 kB / 1.599 GB, free: 17.18 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 9.906e-05/1.119, allocations: 122 kB / 1.599 GB, free: 17.06 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.291e-05/1.12, allocations: 11.89 kB / 1.599 GB, free: 17.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.182e-05/1.12, allocations: 12.06 kB / 1.599 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/1.12, allocations: 4 kB / 1.599 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.668e-06/1.12, allocations: 0 / 1.599 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/1.12, allocations: 0 / 1.599 GB, free: 17.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005017/1.12, allocations: 483.9 kB / 1.599 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/1.12, allocations: 96 / 1.599 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.993e-05/1.12, allocations: 4 kB / 1.599 GB, free: 16.52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.861e-06/1.12, allocations: 8.047 kB / 1.599 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/1.12, allocations: 2.188 kB / 1.599 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/1.12, allocations: 0 / 1.599 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.156e-06/1.12, allocations: 4 kB / 1.599 GB, free: 16.5 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001038/1.12, allocations: 84.62 kB / 1.6 GB, free: 16.41 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.068e-05/1.12, allocations: 91.25 kB / 1.6 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.969e-05/1.12, allocations: 3.938 kB / 1.6 GB, free: 16.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.945e-05/1.121, allocations: 7.969 kB / 1.6 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.053e-05/1.121, allocations: 4 kB / 1.6 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/1.121, allocations: 0 / 1.6 GB, free: 16.29 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001262/1.121, allocations: 130.6 kB / 1.6 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/1.121, allocations: 0 / 1.6 GB, free: 16.18 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002397/1.121, allocations: 11.94 kB / 1.6 GB, free: 16.16 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.0001345/1.121, allocations: 95.25 kB / 1.6 GB, free: 16.06 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001037/1.121, allocations: 27.3 kB / 1.6 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.121, allocations: 0 / 1.6 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 2.261e-05/1.121, allocations: 7.938 kB / 1.6 GB, free: 16.04 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000206/1.121, allocations: 11.94 kB / 1.6 GB, free: 16.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000423/1.122, allocations: 201.3 kB / 1.6 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/1.122, allocations: 0.6965 MB / 1.601 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.993e-05/1.122, allocations: 8.422 kB / 1.601 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.017e-05/1.122, allocations: 11.44 kB / 1.601 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of SimCode: time 8.72e-07/1.122, allocations: 4 kB / 1.601 GB, free: 15.07 MB / 0.6823 GB Notification: Performance of Templates: time 0.003211/1.126, allocations: 445.9 kB / 1.601 GB, free: 14.64 MB / 0.6823 GB