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.1-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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-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.1-maint.8.1.x/package.mo): time 1.787/1.787, allocations: 293 MB / 309 MB, free: 4.824 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.001029/0.001029, allocations: 168.6 kB / 378.7 MB, free: 1.043 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.712/1.712, allocations: 205.4 MB / 0.6383 GB, free: 8.164 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.0007162/0.0007161, allocations: 88.59 kB / 0.7527 GB, free: 62.78 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005929/0.000593, allocations: 12 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2655/0.2661, allocations: 116.4 MB / 0.9904 GB, free: 5.887 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7724/1.039, allocations: 138.6 MB / 1.126 GB, free: 35.06 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002246/1.039, allocations: 61.39 kB / 1.126 GB, free: 35.01 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00246/1.041, allocations: 1.17 MB / 1.127 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.465e-06/1.041, allocations: 0 / 1.127 GB, free: 34.14 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.165e-06/1.041, allocations: 0.5312 kB / 1.127 GB, free: 34.14 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.0002997/1.042, allocations: 377.9 kB / 1.127 GB, free: 33.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/1.042, allocations: 8.594 kB / 1.127 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/1.042, allocations: 15.39 kB / 1.127 GB, free: 33.71 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001281/1.042, allocations: 183.7 kB / 1.128 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/1.042, allocations: 7.75 kB / 1.128 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/1.042, allocations: 8.375 kB / 1.128 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001505/1.042, allocations: 95.05 kB / 1.128 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.194e-05/1.042, allocations: 4.812 kB / 1.128 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.254e-05/1.042, allocations: 3.938 kB / 1.128 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.917e-06/1.042, allocations: 0.5625 kB / 1.128 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.568e-05/1.042, allocations: 39.41 kB / 1.128 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005099/1.043, allocations: 462.2 kB / 1.128 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.747e-05/1.043, allocations: 41.25 kB / 1.128 GB, free: 32.83 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.681e-05/1.043, allocations: 13.78 kB / 1.128 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/1.043, allocations: 0.5156 kB / 1.128 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.485e-05/1.043, allocations: 36.08 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.773e-06/1.043, allocations: 0 / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.000173/1.043, allocations: 65.09 kB / 1.128 GB, free: 32.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.176e-05/1.043, allocations: 77.11 kB / 1.128 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001421/1.043, allocations: 175.8 kB / 1.129 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.678e-06/1.043, allocations: 26.45 kB / 1.129 GB, free: 32.4 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.562e-05/1.043, allocations: 113.3 kB / 1.129 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.466e-06/1.043, allocations: 8.094 kB / 1.129 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.645e-06/1.043, allocations: 4 kB / 1.129 GB, free: 32.28 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.411e-05/1.043, allocations: 322.3 kB / 1.129 GB, free: 31.96 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.707e-05/1.043, allocations: 8 kB / 1.129 GB, free: 31.95 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.168e-05/1.043, allocations: 18.56 kB / 1.129 GB, free: 31.93 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/1.043, allocations: 37.12 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.043, allocations: 0.6562 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.155e-05/1.044, allocations: 65.55 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/1.044, allocations: 4.781 kB / 1.129 GB, free: 31.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.044, allocations: 7.406 kB / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/1.044, allocations: 0 / 1.129 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.943e-05/1.044, allocations: 8 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/1.044, allocations: 0 / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.007e-05/1.044, allocations: 4.469 kB / 1.129 GB, free: 31.8 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.51e-06/1.044, allocations: 4.5 kB / 1.129 GB, free: 31.8 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.48e-05/1.044, allocations: 121.9 kB / 1.129 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.883e-05/1.044, allocations: 10.09 kB / 1.129 GB, free: 31.66 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.181e-05/1.044, allocations: 19.97 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/1.044, allocations: 0 / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/1.044, allocations: 0.9375 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/1.044, allocations: 1.75 kB / 1.129 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003206/1.044, allocations: 476.4 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.044, allocations: 4.062 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.307e-05/1.044, allocations: 7.656 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/1.044, allocations: 0.6875 kB / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/1.044, allocations: 0 / 1.13 GB, free: 31.13 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/1.044, allocations: 4 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/1.044, allocations: 3.938 kB / 1.13 GB, free: 31.12 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.806e-05/1.044, allocations: 85.5 kB / 1.13 GB, free: 31.02 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.873e-05/1.044, allocations: 89.58 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/1.044, allocations: 0.5 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.487e-05/1.045, allocations: 4 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.801e-05/1.045, allocations: 3.562 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/1.045, allocations: 0.625 kB / 1.13 GB, free: 30.91 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 7.791e-05/1.045, allocations: 128.2 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.052e-06/1.045, allocations: 0.9375 kB / 1.13 GB, free: 30.79 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002159/1.045, allocations: 19.56 kB / 1.13 GB, free: 30.78 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.0001083/1.045, allocations: 100.1 kB / 1.13 GB, free: 30.67 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.533e-05/1.045, allocations: 23.55 kB / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/1.045, allocations: 0 / 1.13 GB, free: 30.65 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.204e-05/1.045, allocations: 8 kB / 1.13 GB, free: 30.64 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001594/1.045, allocations: 11.94 kB / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003507/1.046, allocations: 198.2 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/1.046, allocations: 0.6962 MB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.775e-05/1.046, allocations: 9.469 kB / 1.131 GB, free: 29.71 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.298e-05/1.046, allocations: 11.44 kB / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of SimCode: time 2.1e-07/1.046, allocations: 0 / 1.131 GB, free: 29.7 MB / 0.7292 GB Notification: Performance of Templates: time 0.002261/1.048, allocations: 448.2 kB / 1.132 GB, free: 29.44 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)