Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.125/5.125, allocations: 0.5623 GB / 0.5775 GB, free: 3.367 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.003547/0.003547, allocations: 360.3 kB / 0.6446 GB, free: 185.6 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.132/4.132, allocations: 410.7 MB / 1.113 GB, free: 5.906 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001864/0.001863, allocations: 178.9 kB / 1.226 GB, free: 6.102 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005062/0.0005065, allocations: 16 kB / 1.349 GB, free: 8.227 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7293/0.7299, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.932, allocations: 137.4 MB / 1.596 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.9323, allocations: 70.83 kB / 1.596 GB, free: 146.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.003621/0.936, allocations: 1.15 MB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.495e-06/0.936, allocations: 0.75 kB / 1.597 GB, free: 145.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.936, allocations: 8 kB / 1.597 GB, free: 145.5 MB / 0.8542 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.0003701/0.9364, allocations: 378 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.9365, allocations: 11.62 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.331e-05/0.9365, allocations: 15.75 kB / 1.597 GB, free: 145.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001296/0.9367, allocations: 186.9 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.007e-05/0.9367, allocations: 11.91 kB / 1.597 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.9367, allocations: 9.156 kB / 1.597 GB, free: 144.8 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001912/0.9369, allocations: 95.98 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.9369, allocations: 0 / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.591e-05/0.937, allocations: 8 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.937, allocations: 3.547 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000113/0.9371, allocations: 35.98 kB / 1.597 GB, free: 144.7 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/0.9378, allocations: 463.8 kB / 1.598 GB, free: 144.2 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 6.891e-05/0.9379, allocations: 39.8 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.694e-05/0.9379, allocations: 20.61 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 9.898e-06/0.938, allocations: 7.938 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.228e-05/0.938, allocations: 31.5 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 1.854e-06/0.938, allocations: 0.875 kB / 1.598 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0002119/0.9382, allocations: 58.61 kB / 1.598 GB, free: 144 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.377e-05/0.9383, allocations: 82.28 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001762/0.9385, allocations: 163.4 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.9385, allocations: 25.7 kB / 1.598 GB, free: 143.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.084e-05/0.9386, allocations: 108.7 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.258e-05/0.9386, allocations: 12.44 kB / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.268e-06/0.9386, allocations: 0 / 1.598 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.52e-05/0.9387, allocations: 325 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.991e-05/0.9387, allocations: 8 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.452e-05/0.9388, allocations: 13.72 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.204e-05/0.9388, allocations: 12.52 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.9388, allocations: 0.875 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001201/0.9389, allocations: 66.16 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/0.939, allocations: 8 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.939, allocations: 1.406 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.939, allocations: 0 / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.9391, allocations: 11.94 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.9392, allocations: 4.781 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.9392, allocations: 7.891 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.9392, allocations: 5.625 kB / 1.599 GB, free: 143.1 MB / 0.8542 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 8.345e-05/0.9393, allocations: 121.7 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.242e-05/0.9394, allocations: 8.594 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.9394, allocations: 8.562 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.9395, allocations: 6.25 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.9395, allocations: 0 / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.9395, allocations: 0 / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004362/0.9399, allocations: 479.5 kB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.9399, allocations: 0 / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.341e-05/0.94, allocations: 5.656 kB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.94, allocations: 0 / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.335e-06/0.94, allocations: 0 / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.028e-06/0.94, allocations: 3.984 kB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.9401, allocations: 5.031 kB / 1.599 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001075/0.9402, allocations: 84.05 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.115e-05/0.9402, allocations: 94.19 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.102e-05/0.9403, allocations: 4 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.003e-05/0.9403, allocations: 0 / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.509e-05/0.9403, allocations: 4.656 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.299e-06/0.9404, allocations: 1.812 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001134/0.9405, allocations: 135.2 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.51e-07/0.9405, allocations: 0 / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002375/0.9407, allocations: 11.94 kB / 1.6 GB, free: 142.1 MB / 0.8542 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.0001114/0.9409, allocations: 100 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001206/0.941, allocations: 17.06 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.941, allocations: 1.344 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.242e-05/0.941, allocations: 11.94 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002079/0.9413, allocations: 11.95 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004363/0.9417, allocations: 194.7 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.9419, allocations: 0.698 MB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.086e-05/0.942, allocations: 8.422 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.496e-05/0.942, allocations: 11.44 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of SimCode: time 1.292e-06/0.942, allocations: 0.9688 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of Templates: time 0.003485/0.9455, allocations: 453.4 kB / 1.601 GB, free: 140.6 MB / 0.8542 GB