Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.597/1.597, allocations: 297.8 MB / 313.7 MB, free: 124 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009167/0.0009167, allocations: 188.4 kB / 384.6 MB, free: 10.85 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.259/1.259, allocations: 223.2 MB / 0.6626 GB, free: 4.238 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008534/0.0008534, allocations: 97.31 kB / 0.7808 GB, free: 50.08 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004028/0.0004031, allocations: 23.98 kB / 0.9088 GB, free: 2.855 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5917/0.5921, allocations: 120.3 MB / 1.026 GB, free: 55.93 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.7578, allocations: 140.8 MB / 1.164 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002201/0.7581, allocations: 61.23 kB / 1.164 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002682/0.7608, allocations: 1.17 MB / 1.165 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.334e-06/0.7608, allocations: 1.344 kB / 1.165 GB, free: 1.641 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.512e-06/0.7608, allocations: 0.6562 kB / 1.165 GB, free: 1.641 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.0002799/0.7611, allocations: 371.2 kB / 1.165 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.794e-05/0.7611, allocations: 8.031 kB / 1.165 GB, free: 1.23 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.306e-05/0.7612, allocations: 16.75 kB / 1.165 GB, free: 1.215 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.7613, allocations: 187.7 kB / 1.166 GB, free: 0.9961 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.7613, allocations: 5.531 kB / 1.166 GB, free: 0.9922 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.452e-05/0.7614, allocations: 9.25 kB / 1.166 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001471/0.7615, allocations: 99.41 kB / 1.166 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.018e-05/0.7615, allocations: 2.672 kB / 1.166 GB, free: 0.8867 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.7615, allocations: 3.938 kB / 1.166 GB, free: 0.8828 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.121e-06/0.7616, allocations: 4 kB / 1.166 GB, free: 0.8789 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.578e-05/0.7616, allocations: 40.58 kB / 1.166 GB, free: 0.8438 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004939/0.7621, allocations: 452.9 kB / 1.166 GB, free: 396 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.472e-05/0.7622, allocations: 43.56 kB / 1.166 GB, free: 336 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.7622, allocations: 13.84 kB / 1.166 GB, free: 316 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 8.446e-06/0.7622, allocations: 2.719 kB / 1.166 GB, free: 316 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.441e-05/0.7623, allocations: 31.17 kB / 1.166 GB, free: 276 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.382e-06/0.7623, allocations: 4 kB / 1.166 GB, free: 272 kB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001565/0.7624, allocations: 61.81 kB / 1.166 GB, free: 208 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.405e-05/0.7625, allocations: 82.69 kB / 1.166 GB, free: 108 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.7626, allocations: 168.7 kB / 1.167 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.394e-05/0.7626, allocations: 26.23 kB / 1.167 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.065e-05/0.7627, allocations: 112.2 kB / 1.167 GB, free: 15.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.7627, allocations: 8.922 kB / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.786e-06/0.7627, allocations: 0 / 1.167 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.569e-05/0.7628, allocations: 321.7 kB / 1.167 GB, free: 15.47 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.183e-05/0.7629, allocations: 9.375 kB / 1.167 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.045e-05/0.7629, allocations: 25.34 kB / 1.167 GB, free: 15.44 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.402e-05/0.7629, allocations: 27.61 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.763, allocations: 0.9062 kB / 1.167 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.091e-05/0.7631, allocations: 65.42 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.7631, allocations: 4 kB / 1.167 GB, free: 15.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.7631, allocations: 6.094 kB / 1.167 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.175e-05/0.7631, allocations: 5.031 kB / 1.167 GB, free: 15.33 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.251e-05/0.7632, allocations: 5.219 kB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.7632, allocations: 0.9375 kB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.267e-05/0.7632, allocations: 8 kB / 1.167 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.168e-06/0.7632, allocations: 0.7188 kB / 1.167 GB, free: 15.32 MB / 0.7448 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 7.798e-05/0.7633, allocations: 117 kB / 1.167 GB, free: 15.2 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.462e-05/0.7634, allocations: 11.81 kB / 1.167 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.7634, allocations: 18.75 kB / 1.167 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.854e-06/0.7634, allocations: 0 / 1.167 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.7634, allocations: 0.6562 kB / 1.167 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.758e-06/0.7634, allocations: 6.578 kB / 1.167 GB, free: 15.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000376/0.7638, allocations: 479.1 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.7638, allocations: 2.312 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.289e-05/0.7638, allocations: 5.078 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.268e-06/0.7639, allocations: 1.406 kB / 1.168 GB, free: 14.65 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.023e-06/0.7639, allocations: 6.406 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.7639, allocations: 4.75 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.7639, allocations: 0.6562 kB / 1.168 GB, free: 14.64 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.429e-05/0.764, allocations: 86.83 kB / 1.168 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.804e-05/0.764, allocations: 84.2 kB / 1.168 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.518e-05/0.764, allocations: 4.797 kB / 1.168 GB, free: 14.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.543e-05/0.7641, allocations: 5.406 kB / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.7641, allocations: 0.75 kB / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.7641, allocations: 0.8125 kB / 1.168 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.878e-05/0.7642, allocations: 128.5 kB / 1.168 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/0.7642, allocations: 0 / 1.168 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001756/0.7644, allocations: 17.19 kB / 1.168 GB, free: 14.3 MB / 0.7448 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.0001179/0.7645, allocations: 101.7 kB / 1.168 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.188e-05/0.7646, allocations: 18.53 kB / 1.168 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.7646, allocations: 0 / 1.168 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.471e-05/0.7646, allocations: 9.469 kB / 1.168 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001496/0.7648, allocations: 17.94 kB / 1.168 GB, free: 14.16 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003397/0.7651, allocations: 196.4 kB / 1.168 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.7654, allocations: 0.6978 MB / 1.169 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.397e-05/0.7654, allocations: 6.875 kB / 1.169 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.294e-05/0.7654, allocations: 13.59 kB / 1.169 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of SimCode: time 2.1e-07/0.7654, allocations: 0 / 1.169 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of Templates: time 0.002226/0.7677, allocations: 450 kB / 1.17 GB, free: 12.98 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.From_Btu.pipe 2>&1)