Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.594/1.594, allocations: 289.9 MB / 297.4 MB, free: 6.387 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001017/0.001017, allocations: 176.8 kB / 366.7 MB, free: 1.652 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.812/1.812, allocations: 205.2 MB / 0.626 GB, free: 7.168 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008836/0.0008836, allocations: 83.09 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.21e-05/2.211e-05, allocations: 8 kB / 0.8597 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6664, allocations: 116.3 MB / 0.9733 GB, free: 76.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2034/0.8699, allocations: 137.8 MB / 1.108 GB, free: 12.4 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002538/0.8702, allocations: 59.97 kB / 1.108 GB, free: 12.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003005/0.8732, allocations: 1.149 MB / 1.109 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8733, allocations: 0 / 1.109 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.102e-05/0.8733, allocations: 4.938 kB / 1.109 GB, free: 11.21 MB / 0.7136 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.000399/0.8737, allocations: 366.8 kB / 1.109 GB, free: 10.8 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.146e-05/0.8738, allocations: 12.72 kB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.028e-05/0.8738, allocations: 11.81 kB / 1.109 GB, free: 10.78 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001905/0.874, allocations: 179.7 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.874, allocations: 3.5 kB / 1.11 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.874, allocations: 4.719 kB / 1.11 GB, free: 10.56 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001067/0.8742, allocations: 35.98 kB / 1.11 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001433/0.8743, allocations: 81.78 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.8743, allocations: 0.5625 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.8744, allocations: 0.9062 kB / 1.11 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.221e-06/0.8744, allocations: 7.938 kB / 1.11 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006105/0.875, allocations: 425.5 kB / 1.11 GB, free: 9.98 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 7.789e-05/0.8751, allocations: 42.14 kB / 1.11 GB, free: 9.922 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.374e-05/0.8751, allocations: 11.09 kB / 1.11 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.478e-05/0.8751, allocations: 8 kB / 1.11 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.552e-05/0.8752, allocations: 38.19 kB / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.8752, allocations: 0 / 1.11 GB, free: 9.855 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001614/0.8753, allocations: 37.7 kB / 1.11 GB, free: 9.812 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.748e-05/0.8754, allocations: 81.09 kB / 1.11 GB, free: 9.715 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.8755, allocations: 131.4 kB / 1.11 GB, free: 9.578 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.8756, allocations: 25.7 kB / 1.11 GB, free: 9.547 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001022/0.8757, allocations: 109.7 kB / 1.111 GB, free: 9.438 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.05e-05/0.8757, allocations: 7.906 kB / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-06/0.8757, allocations: 0 / 1.111 GB, free: 9.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001211/0.8758, allocations: 314.8 kB / 1.111 GB, free: 9.113 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.888e-05/0.8758, allocations: 9.375 kB / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.901e-05/0.8759, allocations: 24.27 kB / 1.111 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.398e-05/0.8759, allocations: 12.91 kB / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.8759, allocations: 0.5 kB / 1.111 GB, free: 9.066 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.917e-05/0.876, allocations: 55.8 kB / 1.111 GB, free: 9.008 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.661e-05/0.876, allocations: 11.94 kB / 1.111 GB, free: 8.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.8761, allocations: 5.188 kB / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.352e-05/0.8761, allocations: 0 / 1.111 GB, free: 8.992 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.853e-05/0.8762, allocations: 4 kB / 1.111 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.058e-06/0.8762, allocations: 1.25 kB / 1.111 GB, free: 8.988 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.278e-05/0.8762, allocations: 7.938 kB / 1.111 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.688e-06/0.8762, allocations: 3.281 kB / 1.111 GB, free: 8.98 MB / 0.7136 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 6.502e-05/0.8763, allocations: 105.1 kB / 1.111 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.8763, allocations: 7.906 kB / 1.111 GB, free: 8.863 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.363e-05/0.8764, allocations: 19.91 kB / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.8764, allocations: 0 / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.8764, allocations: 0 / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.8764, allocations: 0 / 1.111 GB, free: 8.84 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000386/0.8768, allocations: 453.4 kB / 1.112 GB, free: 8.348 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.8768, allocations: 4 kB / 1.112 GB, free: 8.344 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.357e-05/0.8768, allocations: 4.047 kB / 1.112 GB, free: 8.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.87e-06/0.8768, allocations: 7.984 kB / 1.112 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.412e-06/0.8768, allocations: 0 / 1.112 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.8769, allocations: 0 / 1.112 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.8769, allocations: 0 / 1.112 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.877, allocations: 95.53 kB / 1.112 GB, free: 8.211 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.346e-05/0.877, allocations: 89.02 kB / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.8771, allocations: 0 / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.061e-05/0.8771, allocations: 0 / 1.112 GB, free: 8.105 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.899e-05/0.8771, allocations: 4 kB / 1.112 GB, free: 8.102 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.068e-06/0.8771, allocations: 3.984 kB / 1.112 GB, free: 8.098 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.914e-05/0.8772, allocations: 100.7 kB / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8772, allocations: 0 / 1.112 GB, free: 8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000184/0.8774, allocations: 8 kB / 1.112 GB, free: 7.992 MB / 0.7136 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.0001143/0.8775, allocations: 101.7 kB / 1.112 GB, free: 7.887 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.536e-05/0.8776, allocations: 23.92 kB / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.8776, allocations: 0 / 1.112 GB, free: 7.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.202e-05/0.8776, allocations: 8 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001072/0.8777, allocations: 7.891 kB / 1.112 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002566/0.878, allocations: 121.2 kB / 1.112 GB, free: 7.707 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000271/0.8783, allocations: 0.7009 MB / 1.113 GB, free: 6.98 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.8783, allocations: 4.188 kB / 1.113 GB, free: 6.977 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.174e-05/0.8783, allocations: 11.44 kB / 1.113 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8783, allocations: 0 / 1.113 GB, free: 6.965 MB / 0.7136 GB Notification: Performance of Templates: time 0.001975/0.8803, allocations: 317.7 kB / 1.113 GB, free: 6.688 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_ton.pipe 2>&1)