Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_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: 132 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.0009698/0.0009703, allocations: 179 kB / 384.6 MB, free: 10.87 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.265/1.265, allocations: 223.2 MB / 0.6626 GB, free: 4.348 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.0007972/0.0007975, allocations: 97.05 kB / 0.7808 GB, free: 43.77 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004162/0.0004163, allocations: 16 kB / 0.9088 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5868/0.5872, allocations: 120.3 MB / 1.026 GB, free: 56.8 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1695/0.7568, allocations: 140.8 MB / 1.164 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002833/0.7571, allocations: 69.22 kB / 1.164 GB, free: 1.379 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.002855/0.76, allocations: 1.174 MB / 1.165 GB, free: 232 kB / 0.7292 GB Notification: Performance of FrontEnd: time 2.585e-06/0.76, allocations: 0 / 1.165 GB, free: 232 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.7601, allocations: 0 / 1.165 GB, free: 232 kB / 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.0004489/0.7605, allocations: 369.3 kB / 1.165 GB, free: 15.82 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.783e-05/0.7606, allocations: 8.031 kB / 1.165 GB, free: 15.81 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.411e-05/0.7606, allocations: 16.75 kB / 1.165 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.7608, allocations: 184.2 kB / 1.166 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.7608, allocations: 5.875 kB / 1.166 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.04e-05/0.7609, allocations: 8.375 kB / 1.166 GB, free: 15.56 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001738/0.761, allocations: 93.52 kB / 1.166 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.7611, allocations: 0.875 kB / 1.166 GB, free: 15.46 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.559e-05/0.7611, allocations: 7.938 kB / 1.166 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.7611, allocations: 1.031 kB / 1.166 GB, free: 15.45 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.836e-05/0.7612, allocations: 39.98 kB / 1.166 GB, free: 15.41 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.7618, allocations: 464.4 kB / 1.166 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.968e-05/0.7618, allocations: 43.28 kB / 1.166 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.122e-05/0.7619, allocations: 13.78 kB / 1.166 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 9.969e-06/0.7619, allocations: 0.5938 kB / 1.166 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.73e-05/0.7619, allocations: 39.89 kB / 1.166 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 2.134e-06/0.7619, allocations: 0.7969 kB / 1.166 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002052/0.7621, allocations: 65.47 kB / 1.166 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.7622, allocations: 77.11 kB / 1.166 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001565/0.7623, allocations: 167.4 kB / 1.167 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.7624, allocations: 25.7 kB / 1.167 GB, free: 14.41 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.569e-05/0.7624, allocations: 115.9 kB / 1.167 GB, free: 14.3 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.036e-05/0.7625, allocations: 11.78 kB / 1.167 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.555e-06/0.7625, allocations: 0 / 1.167 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.000114/0.7626, allocations: 323.1 kB / 1.167 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.135e-05/0.7626, allocations: 12 kB / 1.167 GB, free: 13.95 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.6e-05/0.7627, allocations: 17.72 kB / 1.167 GB, free: 13.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.355e-05/0.7627, allocations: 37.64 kB / 1.167 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.7627, allocations: 0 / 1.167 GB, free: 13.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001031/0.7628, allocations: 61.55 kB / 1.167 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.7629, allocations: 4 kB / 1.167 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.7629, allocations: 8 kB / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.7629, allocations: 0 / 1.167 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.319e-05/0.763, allocations: 11.98 kB / 1.167 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.55e-06/0.763, allocations: 0 / 1.167 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.901e-05/0.763, allocations: 0 / 1.167 GB, free: 13.79 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.763, allocations: 4 kB / 1.167 GB, free: 13.79 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 8.046e-05/0.7631, allocations: 114.4 kB / 1.167 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.448e-05/0.7632, allocations: 12.8 kB / 1.167 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.128e-05/0.7632, allocations: 20.48 kB / 1.167 GB, free: 13.64 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.7632, allocations: 4 kB / 1.167 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.7632, allocations: 0 / 1.167 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.7632, allocations: 0 / 1.167 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003924/0.7636, allocations: 474.8 kB / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.7636, allocations: 0 / 1.168 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.675e-05/0.7637, allocations: 7.984 kB / 1.168 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.7637, allocations: 0 / 1.168 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.7637, allocations: 4.062 kB / 1.168 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.7637, allocations: 4 kB / 1.168 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.825e-06/0.7637, allocations: 4.156 kB / 1.168 GB, free: 13.09 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.807e-05/0.7638, allocations: 80.28 kB / 1.168 GB, free: 12.99 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 5.324e-05/0.7639, allocations: 96.94 kB / 1.168 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.7639, allocations: 0 / 1.168 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.196e-05/0.7639, allocations: 0 / 1.168 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.7639, allocations: 8.031 kB / 1.168 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.7639, allocations: 0 / 1.168 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 9.483e-05/0.764, allocations: 134.8 kB / 1.168 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/0.764, allocations: 0 / 1.168 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001721/0.7642, allocations: 11.94 kB / 1.168 GB, free: 12.73 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.0001139/0.7643, allocations: 96.66 kB / 1.168 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 7.87e-05/0.7644, allocations: 19.94 kB / 1.168 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7644, allocations: 4.125 kB / 1.168 GB, free: 12.6 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.476e-05/0.7645, allocations: 8 kB / 1.168 GB, free: 12.59 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001546/0.7646, allocations: 15.88 kB / 1.168 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003652/0.765, allocations: 202.5 kB / 1.168 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002595/0.7653, allocations: 0.6965 MB / 1.169 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.343e-05/0.7653, allocations: 4.438 kB / 1.169 GB, free: 11.63 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.626e-05/0.7653, allocations: 11.44 kB / 1.169 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of SimCode: time 2.11e-07/0.7653, allocations: 0 / 1.169 GB, free: 11.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.00216/0.7675, allocations: 453.8 kB / 1.17 GB, free: 11.18 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)