Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.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_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.731/1.731, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001395/0.001395, allocations: 180.6 kB / 371.6 MB, free: 3.355 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.764/1.764, allocations: 205.1 MB / 0.6309 GB, free: 11.76 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.001041/0.001041, allocations: 91.73 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.666e-05/4.668e-05, allocations: 4 kB / 0.8662 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.317/0.3171, allocations: 116.3 MB / 0.9798 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9679/1.285, allocations: 138.5 MB / 1.115 GB, free: 45 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001842/1.285, allocations: 60.73 kB / 1.115 GB, free: 44.97 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002387/1.288, allocations: 1.15 MB / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.553e-06/1.288, allocations: 0 / 1.116 GB, free: 44.25 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.474e-06/1.288, allocations: 0.8438 kB / 1.116 GB, free: 44.25 MB / 0.7448 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.0002679/1.288, allocations: 365 kB / 1.117 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 7.453e-05/1.288, allocations: 8.594 kB / 1.117 GB, free: 43.86 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.448e-05/1.288, allocations: 14.88 kB / 1.117 GB, free: 43.85 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001265/1.288, allocations: 187.4 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/1.288, allocations: 7.828 kB / 1.117 GB, free: 43.63 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.749e-05/1.288, allocations: 11.03 kB / 1.117 GB, free: 43.62 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/1.288, allocations: 93.81 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/1.289, allocations: 0 / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.525e-05/1.289, allocations: 4.5 kB / 1.117 GB, free: 43.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/1.289, allocations: 4 kB / 1.117 GB, free: 43.54 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.556e-05/1.289, allocations: 38.25 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005044/1.289, allocations: 453.1 kB / 1.117 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 4.996e-05/1.289, allocations: 46.31 kB / 1.117 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.927e-05/1.289, allocations: 17.59 kB / 1.117 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.228e-05/1.289, allocations: 3.891 kB / 1.117 GB, free: 43.02 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/1.289, allocations: 38.5 kB / 1.117 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 9.62e-07/1.289, allocations: 4 kB / 1.117 GB, free: 42.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001529/1.289, allocations: 52.02 kB / 1.117 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.912e-05/1.289, allocations: 77.11 kB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/1.29, allocations: 160.8 kB / 1.118 GB, free: 42.69 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.131e-05/1.29, allocations: 29.64 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.746e-05/1.29, allocations: 106.5 kB / 1.118 GB, free: 42.56 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.963e-06/1.29, allocations: 7.969 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.546e-06/1.29, allocations: 0 / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.749e-05/1.29, allocations: 325.1 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/1.29, allocations: 4 kB / 1.118 GB, free: 42.23 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.302e-05/1.29, allocations: 24.59 kB / 1.118 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.404e-05/1.29, allocations: 4.656 kB / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.29, allocations: 0 / 1.118 GB, free: 42.2 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.78e-05/1.29, allocations: 72.11 kB / 1.118 GB, free: 42.14 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/1.29, allocations: 8 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/1.29, allocations: 0.8438 kB / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/1.29, allocations: 0 / 1.118 GB, free: 42.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.955e-05/1.29, allocations: 8.375 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.726e-06/1.29, allocations: 8.125 kB / 1.118 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.282e-05/1.29, allocations: 7.844 kB / 1.118 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.599e-06/1.29, allocations: 0 / 1.118 GB, free: 42.11 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 () * 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 4.694e-05/1.29, allocations: 109 kB / 1.118 GB, free: 42 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.06e-05/1.29, allocations: 11.86 kB / 1.118 GB, free: 41.99 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.885e-05/1.29, allocations: 12.06 kB / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-06/1.29, allocations: 0 / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/1.29, allocations: 4.031 kB / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.29, allocations: 1.312 kB / 1.118 GB, free: 41.98 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/1.291, allocations: 484 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/1.291, allocations: 5.062 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.38e-05/1.291, allocations: 4 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/1.291, allocations: 0 / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.797e-06/1.291, allocations: 3.469 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/1.291, allocations: 4 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/1.291, allocations: 5.062 kB / 1.119 GB, free: 41.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.368e-05/1.291, allocations: 92.95 kB / 1.119 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.136e-05/1.291, allocations: 92.25 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.78e-05/1.291, allocations: 6.078 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.343e-05/1.291, allocations: 0 / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.156e-05/1.291, allocations: 6.594 kB / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.084e-06/1.291, allocations: 0 / 1.119 GB, free: 41.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.153e-05/1.291, allocations: 127 kB / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.3e-07/1.291, allocations: 0 / 1.119 GB, free: 41.14 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001911/1.291, allocations: 8 kB / 1.119 GB, free: 41.14 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 () * 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.0001143/1.291, allocations: 99.28 kB / 1.119 GB, free: 41.03 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.712e-05/1.291, allocations: 21.94 kB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/1.291, allocations: 0.6562 kB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-05/1.292, allocations: 4 kB / 1.119 GB, free: 41.01 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001194/1.292, allocations: 14.64 kB / 1.119 GB, free: 41 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/1.292, allocations: 117.1 kB / 1.119 GB, free: 40.89 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000148/1.292, allocations: 0.7022 MB / 1.12 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.35e-05/1.292, allocations: 7.906 kB / 1.12 GB, free: 40.17 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.584e-05/1.292, allocations: 12.09 kB / 1.12 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of SimCode: time 3.5e-07/1.292, allocations: 0 / 1.12 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of Templates: time 0.002381/1.295, allocations: 450.1 kB / 1.121 GB, free: 39.91 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)