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.71/1.71, allocations: 292.6 MB / 307.5 MB, free: 5.223 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.001366/0.001366, allocations: 177.1 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.024/2.024, allocations: 205.4 MB / 0.6367 GB, free: 9.582 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.001039/0.001039, allocations: 89.34 kB / 0.751 GB, free: 62.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004199/0.00042, allocations: 12 kB / 0.8748 GB, free: 11.36 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3052/0.3056, allocations: 116.3 MB / 0.9884 GB, free: 6.902 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7093/1.015, allocations: 138.5 MB / 1.124 GB, free: 36.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002112/1.015, allocations: 60.67 kB / 1.124 GB, free: 36.07 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002597/1.018, allocations: 1.157 MB / 1.125 GB, free: 35.21 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.635e-06/1.018, allocations: 0 / 1.125 GB, free: 35.21 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.255e-06/1.018, allocations: 4 kB / 1.125 GB, free: 35.21 MB / 0.7292 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.0003034/1.018, allocations: 377.3 kB / 1.125 GB, free: 34.81 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/1.018, allocations: 12.02 kB / 1.125 GB, free: 34.8 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.379e-05/1.018, allocations: 13.88 kB / 1.125 GB, free: 34.79 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001243/1.018, allocations: 180.3 kB / 1.125 GB, free: 34.57 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.768e-05/1.018, allocations: 15.84 kB / 1.125 GB, free: 34.55 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.836e-05/1.018, allocations: 14.84 kB / 1.125 GB, free: 34.54 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001431/1.019, allocations: 85.59 kB / 1.126 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.386e-06/1.019, allocations: 0 / 1.126 GB, free: 34.46 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/1.019, allocations: 9.719 kB / 1.126 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/1.019, allocations: 0 / 1.126 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.429e-05/1.019, allocations: 40.2 kB / 1.126 GB, free: 34.41 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/1.019, allocations: 463.8 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.815e-05/1.019, allocations: 37.25 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.005e-05/1.019, allocations: 4 kB / 1.126 GB, free: 33.89 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.012e-05/1.019, allocations: 35.77 kB / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.152e-06/1.019, allocations: 0 / 1.126 GB, free: 33.84 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0002048/1.02, allocations: 57.08 kB / 1.126 GB, free: 33.79 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/1.02, allocations: 77.11 kB / 1.126 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/1.02, allocations: 155.7 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-06/1.02, allocations: 30.27 kB / 1.126 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/1.02, allocations: 107.8 kB / 1.127 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.304e-06/1.02, allocations: 7.844 kB / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.926e-06/1.02, allocations: 0 / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.971e-05/1.02, allocations: 322.5 kB / 1.127 GB, free: 33.07 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.842e-05/1.02, allocations: 8.547 kB / 1.127 GB, free: 33.06 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.324e-05/1.02, allocations: 27.05 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.533e-05/1.02, allocations: 12 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/1.02, allocations: 0 / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.509e-05/1.02, allocations: 61.56 kB / 1.127 GB, free: 32.96 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/1.02, allocations: 11.5 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.02, allocations: 0.5 kB / 1.127 GB, free: 32.95 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/1.02, allocations: 8.531 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.137e-05/1.02, allocations: 4 kB / 1.127 GB, free: 32.94 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/1.02, allocations: 4.547 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/1.02, allocations: 4.406 kB / 1.127 GB, free: 32.93 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/1.02, allocations: 8.062 kB / 1.127 GB, free: 32.92 MB / 0.7292 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 6.201e-05/1.02, allocations: 112.4 kB / 1.127 GB, free: 32.8 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.288e-05/1.02, allocations: 15.86 kB / 1.127 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/1.02, allocations: 12.92 kB / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/1.02, allocations: 4 kB / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.02, allocations: 0.5625 kB / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.976e-06/1.02, allocations: 0 / 1.127 GB, free: 32.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/1.021, allocations: 491.4 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/1.021, allocations: 0 / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.791e-05/1.021, allocations: 4.625 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/1.021, allocations: 0.9844 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/1.021, allocations: 0.75 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/1.021, allocations: 0 / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/1.021, allocations: 4.625 kB / 1.128 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.898e-05/1.021, allocations: 102.9 kB / 1.128 GB, free: 32.12 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.61e-05/1.021, allocations: 88.44 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/1.021, allocations: 0 / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.379e-05/1.021, allocations: 0 / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.479e-05/1.021, allocations: 5 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/1.021, allocations: 4.562 kB / 1.128 GB, free: 32.01 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.184e-05/1.021, allocations: 126.8 kB / 1.128 GB, free: 31.9 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.021, allocations: 4.031 kB / 1.128 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001762/1.021, allocations: 15.94 kB / 1.128 GB, free: 31.88 MB / 0.7292 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.000105/1.021, allocations: 95.25 kB / 1.128 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 8.586e-05/1.022, allocations: 19.94 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/1.022, allocations: 0.5625 kB / 1.128 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.208e-05/1.022, allocations: 7.562 kB / 1.128 GB, free: 31.75 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001151/1.022, allocations: 12.86 kB / 1.128 GB, free: 31.74 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003232/1.022, allocations: 197.8 kB / 1.128 GB, free: 31.54 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001136/1.022, allocations: 0.7029 MB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.034e-05/1.022, allocations: 8.844 kB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.563e-05/1.022, allocations: 11.44 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of SimCode: time 2.01e-07/1.022, allocations: 0 / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of Templates: time 0.00238/1.025, allocations: 446.7 kB / 1.129 GB, free: 30.55 MB / 0.7292 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)