Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.297/1.297, allocations: 252 MB / 267.9 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009915/0.0009916, allocations: 182.9 kB / 327.6 MB, free: 2.168 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.478/1.478, allocations: 205.4 MB / 0.5785 GB, free: 20.46 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007743/0.0007744, allocations: 88.11 kB / 0.6831 GB, free: 13.3 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003354/0.0003354, allocations: 11.97 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.19/0.1903, allocations: 106.3 MB / 0.9012 GB, free: 64.08 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1548/0.3452, allocations: 131.4 MB / 1.03 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002227/0.3454, allocations: 67.97 kB / 1.03 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002694/0.3482, allocations: 1.17 MB / 1.031 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.003e-06/0.3482, allocations: 0 / 1.031 GB, free: 11.22 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.3482, allocations: 4 kB / 1.031 GB, free: 11.22 MB / 0.6823 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.0003403/0.3485, allocations: 371.1 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.3486, allocations: 8.031 kB / 1.031 GB, free: 10.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.023e-05/0.3486, allocations: 12.84 kB / 1.031 GB, free: 10.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3488, allocations: 185.6 kB / 1.031 GB, free: 10.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.3488, allocations: 4.375 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.501e-05/0.3488, allocations: 12.38 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001743/0.349, allocations: 103.9 kB / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.349, allocations: 192 / 1.031 GB, free: 10.44 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.3491, allocations: 3.938 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/0.3491, allocations: 4 kB / 1.031 GB, free: 10.43 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.993e-05/0.3492, allocations: 39.92 kB / 1.032 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005672/0.3497, allocations: 456.5 kB / 1.032 GB, free: 9.891 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 5.55e-05/0.3498, allocations: 41.28 kB / 1.032 GB, free: 9.832 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.3498, allocations: 17.84 kB / 1.032 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.078e-05/0.3499, allocations: 0 / 1.032 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.3499, allocations: 34.55 kB / 1.032 GB, free: 9.766 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 5.62e-06/0.3499, allocations: 4 kB / 1.032 GB, free: 9.762 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0001773/0.3501, allocations: 57.48 kB / 1.032 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.216e-05/0.3501, allocations: 85.05 kB / 1.032 GB, free: 9.598 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.3503, allocations: 174.4 kB / 1.032 GB, free: 9.41 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.3503, allocations: 25.7 kB / 1.032 GB, free: 9.379 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.351e-05/0.3504, allocations: 104 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.04e-05/0.3504, allocations: 11.83 kB / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-06/0.3504, allocations: 0 / 1.032 GB, free: 9.262 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.3505, allocations: 320.4 kB / 1.033 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.163e-05/0.3506, allocations: 11.98 kB / 1.033 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.654e-05/0.3506, allocations: 21.72 kB / 1.033 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.346e-05/0.3506, allocations: 25.72 kB / 1.033 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.433e-06/0.3506, allocations: 0 / 1.033 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.432e-05/0.3507, allocations: 69.53 kB / 1.033 GB, free: 8.797 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3508, allocations: 4 kB / 1.033 GB, free: 8.793 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.3508, allocations: 4.156 kB / 1.033 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.3508, allocations: 4 kB / 1.033 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.663e-05/0.3509, allocations: 11.88 kB / 1.033 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.3509, allocations: 4.062 kB / 1.033 GB, free: 8.77 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.286e-05/0.3509, allocations: 7.906 kB / 1.033 GB, free: 8.762 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.388e-06/0.3509, allocations: 0 / 1.033 GB, free: 8.762 MB / 0.6823 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.192e-05/0.351, allocations: 117.8 kB / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/0.3511, allocations: 11.89 kB / 1.033 GB, free: 8.625 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.977e-05/0.3511, allocations: 16.5 kB / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.3511, allocations: 0 / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.058e-06/0.3511, allocations: 0 / 1.033 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.3511, allocations: 4 kB / 1.033 GB, free: 8.609 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003812/0.3515, allocations: 482.7 kB / 1.034 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.085e-06/0.3515, allocations: 4 kB / 1.034 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.304e-05/0.3516, allocations: 0 / 1.034 GB, free: 8.07 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.5e-06/0.3516, allocations: 4 kB / 1.034 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.3516, allocations: 0 / 1.034 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.783e-06/0.3516, allocations: 0 / 1.034 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3516, allocations: 0 / 1.034 GB, free: 8.066 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.737e-05/0.3517, allocations: 89.89 kB / 1.034 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.607e-05/0.3517, allocations: 89 kB / 1.034 GB, free: 7.852 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.3518, allocations: 7.938 kB / 1.034 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.21e-05/0.3518, allocations: 0 / 1.034 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.56e-05/0.3518, allocations: 0 / 1.034 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.023e-06/0.3518, allocations: 0 / 1.034 GB, free: 7.844 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 8.582e-05/0.3519, allocations: 132.9 kB / 1.034 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3519, allocations: 0 / 1.034 GB, free: 7.715 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001726/0.3521, allocations: 11.94 kB / 1.034 GB, free: 7.703 MB / 0.6823 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.0001195/0.3522, allocations: 95.25 kB / 1.034 GB, free: 7.598 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 7.922e-05/0.3523, allocations: 19.98 kB / 1.034 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3523, allocations: 0 / 1.034 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/0.3523, allocations: 15.94 kB / 1.034 GB, free: 7.562 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.3525, allocations: 13.39 kB / 1.034 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000349/0.3529, allocations: 193.8 kB / 1.034 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002585/0.3531, allocations: 0.7004 MB / 1.035 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.48e-05/0.3532, allocations: 8.422 kB / 1.035 GB, free: 6.598 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.48e-05/0.3532, allocations: 11.44 kB / 1.035 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of SimCode: time 2.2e-07/0.3532, allocations: 0 / 1.035 GB, free: 6.59 MB / 0.6823 GB Notification: Performance of Templates: time 0.002255/0.3555, allocations: 451.9 kB / 1.035 GB, free: 6.148 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)