Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_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.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_ton,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 293 MB / 309 MB, free: 4.832 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.001107/0.001108, allocations: 176.5 kB / 378.7 MB, free: 1.02 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.65/1.65, allocations: 205.4 MB / 0.6383 GB, free: 8.141 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.0007858/0.0007855, allocations: 83.64 kB / 0.7527 GB, free: 62.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004481/0.0004482, allocations: 16 kB / 0.8768 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2885, allocations: 116.4 MB / 0.9904 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.718/1.007, allocations: 138.6 MB / 1.126 GB, free: 35.02 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002341/1.007, allocations: 69.64 kB / 1.126 GB, free: 34.96 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002503/1.009, allocations: 1.159 MB / 1.127 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.805e-06/1.009, allocations: 0.8438 kB / 1.127 GB, free: 34.11 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.05e-05/1.009, allocations: 4 kB / 1.127 GB, free: 34.1 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.000328/1.01, allocations: 377.3 kB / 1.127 GB, free: 33.7 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/1.01, allocations: 9.312 kB / 1.127 GB, free: 33.69 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.188e-05/1.01, allocations: 16.75 kB / 1.127 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/1.01, allocations: 180.5 kB / 1.128 GB, free: 33.46 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/1.01, allocations: 12.98 kB / 1.128 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.615e-05/1.01, allocations: 4.375 kB / 1.128 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001534/1.01, allocations: 99.84 kB / 1.128 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.468e-06/1.01, allocations: 192 / 1.128 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/1.01, allocations: 7.938 kB / 1.128 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.414e-06/1.01, allocations: 5.031 kB / 1.128 GB, free: 33.34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.86e-05/1.01, allocations: 39.88 kB / 1.128 GB, free: 33.3 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000532/1.011, allocations: 454.3 kB / 1.128 GB, free: 32.85 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.917e-05/1.011, allocations: 41.19 kB / 1.128 GB, free: 32.79 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.848e-05/1.011, allocations: 17.84 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.205e-06/1.011, allocations: 0.7656 kB / 1.128 GB, free: 32.77 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.345e-05/1.011, allocations: 35.23 kB / 1.128 GB, free: 32.73 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/1.011, allocations: 4 kB / 1.128 GB, free: 32.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001823/1.011, allocations: 62.52 kB / 1.128 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.658e-05/1.011, allocations: 81.11 kB / 1.128 GB, free: 32.56 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.011, allocations: 168.9 kB / 1.129 GB, free: 32.39 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.969e-06/1.011, allocations: 25.7 kB / 1.129 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.32e-05/1.011, allocations: 105.4 kB / 1.129 GB, free: 32.26 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.795e-06/1.011, allocations: 11.83 kB / 1.129 GB, free: 32.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.747e-06/1.011, allocations: 4.562 kB / 1.129 GB, free: 32.24 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 5.435e-05/1.012, allocations: 326.8 kB / 1.129 GB, free: 31.92 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.783e-05/1.012, allocations: 7.656 kB / 1.129 GB, free: 31.91 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.164e-05/1.012, allocations: 21.72 kB / 1.129 GB, free: 31.89 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.199e-05/1.012, allocations: 29.66 kB / 1.129 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.012, allocations: 0 / 1.129 GB, free: 31.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.901e-05/1.012, allocations: 65.58 kB / 1.129 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/1.012, allocations: 8.062 kB / 1.129 GB, free: 31.78 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/1.012, allocations: 4.484 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/1.012, allocations: 4 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.666e-05/1.012, allocations: 4.562 kB / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/1.012, allocations: 0 / 1.129 GB, free: 31.77 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.249e-05/1.012, allocations: 8.75 kB / 1.129 GB, free: 31.76 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/1.012, allocations: 0 / 1.129 GB, free: 31.76 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 5.803e-05/1.012, allocations: 119.8 kB / 1.129 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.224e-05/1.012, allocations: 7.906 kB / 1.129 GB, free: 31.63 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/1.012, allocations: 21.06 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.257e-06/1.012, allocations: 1.359 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.012, allocations: 0 / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.917e-06/1.012, allocations: 4 kB / 1.129 GB, free: 31.61 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000316/1.012, allocations: 479.5 kB / 1.13 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/1.012, allocations: 5.531 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.167e-05/1.012, allocations: 0 / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/1.012, allocations: 8.062 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.941e-06/1.012, allocations: 0 / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.838e-06/1.012, allocations: 0.5 kB / 1.13 GB, free: 31.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/1.012, allocations: 3.938 kB / 1.13 GB, free: 31.08 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.46e-05/1.013, allocations: 85.41 kB / 1.13 GB, free: 30.98 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.36e-05/1.013, allocations: 84.39 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.448e-05/1.013, allocations: 4.781 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.253e-05/1.013, allocations: 4.844 kB / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/1.013, allocations: 0 / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.844e-06/1.013, allocations: 0 / 1.13 GB, free: 30.88 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.581e-05/1.013, allocations: 132.5 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.013, allocations: 0 / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001832/1.013, allocations: 15.84 kB / 1.13 GB, free: 30.74 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 9.867e-05/1.013, allocations: 102.6 kB / 1.13 GB, free: 30.63 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.801e-05/1.013, allocations: 23.94 kB / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.013, allocations: 0 / 1.13 GB, free: 30.61 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.216e-05/1.013, allocations: 11.94 kB / 1.13 GB, free: 30.6 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/1.013, allocations: 7.938 kB / 1.13 GB, free: 30.59 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/1.014, allocations: 197.8 kB / 1.13 GB, free: 30.39 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001265/1.014, allocations: 0.6951 MB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.807e-05/1.014, allocations: 4.438 kB / 1.131 GB, free: 29.68 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/1.014, allocations: 12 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.014, allocations: 4 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of Templates: time 0.00223/1.016, allocations: 450.9 kB / 1.132 GB, free: 29.4 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.From_ton.pipe 2>&1)