Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009079/0.000908, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007593/0.007593, allocations: 168.9 kB / 16.26 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.454/1.454, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 473.4 MB / 0.7469 GB, free: 6.051 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 11.22 kB / 0.9158 GB, free: 33.09 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3384/0.3388, allocations: 162.2 MB / 1.074 GB, free: 7.527 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.001034/0.3399, allocations: 0.5474 MB / 1.075 GB, free: 6.984 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001142/0.34, allocations: 39.78 kB / 1.075 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.547e-05/0.3401, allocations: 0 / 1.075 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.033e-05/0.3401, allocations: 3.938 kB / 1.075 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.794e-05/0.3402, allocations: 11.92 kB / 1.075 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 4.105e-05/0.3402, allocations: 8 kB / 1.075 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 9.821e-05/0.3403, allocations: 59.84 kB / 1.075 GB, free: 6.863 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001488/0.3405, allocations: 39.97 kB / 1.075 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.206e-05/0.3406, allocations: 19.8 kB / 1.075 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.561e-05/0.3406, allocations: 19.86 kB / 1.075 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.013e-05/0.3406, allocations: 4 kB / 1.075 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 7.824e-06/0.3407, allocations: 4 kB / 1.075 GB, free: 6.777 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.934e-05/0.3407, allocations: 15.92 kB / 1.075 GB, free: 6.762 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.644e-05/0.3407, allocations: 49.45 kB / 1.075 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.363e-05/0.3408, allocations: 64.03 kB / 1.075 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.3408, allocations: 0 / 1.075 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3409, allocations: 4 kB / 1.075 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.138e-06/0.3409, allocations: 0 / 1.075 GB, free: 6.641 MB / 0.8262 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.0003854/0.3413, allocations: 359.3 kB / 1.075 GB, free: 6.238 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.3413, allocations: 8.031 kB / 1.075 GB, free: 6.23 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.3413, allocations: 16.84 kB / 1.075 GB, free: 6.215 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3415, allocations: 200.1 kB / 1.076 GB, free: 5.98 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.577e-05/0.3416, allocations: 4.375 kB / 1.076 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.429e-05/0.3416, allocations: 8.375 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000156/0.3418, allocations: 93.42 kB / 1.076 GB, free: 5.867 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.3418, allocations: 8.062 kB / 1.076 GB, free: 5.859 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.3418, allocations: 7.938 kB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3418, allocations: 0 / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.575e-05/0.3419, allocations: 39.98 kB / 1.076 GB, free: 5.812 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005189/0.3424, allocations: 432.7 kB / 1.076 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.469e-05/0.3425, allocations: 41.2 kB / 1.076 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.986e-05/0.3425, allocations: 21.78 kB / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 6.512e-06/0.3425, allocations: 0 / 1.076 GB, free: 5.25 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.05e-05/0.3426, allocations: 42.5 kB / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.3426, allocations: 0 / 1.076 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001788/0.3428, allocations: 53.55 kB / 1.076 GB, free: 5.141 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.26e-05/0.3428, allocations: 89.28 kB / 1.076 GB, free: 5.035 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000143/0.343, allocations: 161 kB / 1.077 GB, free: 4.871 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.343, allocations: 25.7 kB / 1.077 GB, free: 4.84 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.3431, allocations: 111.9 kB / 1.077 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.839e-06/0.3431, allocations: 7.906 kB / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.435e-05/0.3431, allocations: 13.7 kB / 1.077 GB, free: 4.699 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001288/0.3433, allocations: 318.8 kB / 1.077 GB, free: 4.379 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.744e-05/0.3433, allocations: 4 kB / 1.077 GB, free: 4.375 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.792e-05/0.3433, allocations: 25.7 kB / 1.077 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.277e-05/0.3434, allocations: 25.72 kB / 1.077 GB, free: 4.312 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3434, allocations: 3.938 kB / 1.077 GB, free: 4.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.067e-05/0.3435, allocations: 53.59 kB / 1.077 GB, free: 4.25 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3435, allocations: 8 kB / 1.077 GB, free: 4.242 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.782e-06/0.3435, allocations: 3.938 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.3435, allocations: 4.062 kB / 1.077 GB, free: 4.234 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.382e-05/0.3436, allocations: 4 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.246e-06/0.3436, allocations: 7.938 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.926e-05/0.3437, allocations: 3.938 kB / 1.077 GB, free: 4.219 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.369e-06/0.3437, allocations: 0 / 1.077 GB, free: 4.219 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.513e-05/0.3438, allocations: 113.8 kB / 1.077 GB, free: 4.098 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.3438, allocations: 7.906 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.422e-05/0.3439, allocations: 19.8 kB / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.3439, allocations: 0 / 1.077 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.3439, allocations: 4 kB / 1.077 GB, free: 4.062 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3439, allocations: 7.938 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004065/0.3443, allocations: 474.7 kB / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.3443, allocations: 0 / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.3443, allocations: 0 / 1.078 GB, free: 3.527 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.285e-06/0.3443, allocations: 4 kB / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.3443, allocations: 0 / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.3443, allocations: 64 / 1.078 GB, free: 3.523 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3444, allocations: 4 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.906e-05/0.3445, allocations: 81.77 kB / 1.078 GB, free: 3.418 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.265e-05/0.3445, allocations: 93.09 kB / 1.078 GB, free: 3.309 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.3445, allocations: 3.984 kB / 1.078 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.943e-05/0.3446, allocations: 4 kB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.467e-05/0.3446, allocations: 4.031 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-06/0.3446, allocations: 0 / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.836e-05/0.3447, allocations: 121.3 kB / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3447, allocations: 0 / 1.078 GB, free: 3.18 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001835/0.3449, allocations: 8 kB / 1.078 GB, free: 3.172 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001294/0.345, allocations: 95.25 kB / 1.078 GB, free: 3.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.573e-05/0.3451, allocations: 23.92 kB / 1.078 GB, free: 3.047 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.3451, allocations: 4.062 kB / 1.078 GB, free: 3.043 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.235e-05/0.3452, allocations: 12 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001711/0.3453, allocations: 11.94 kB / 1.078 GB, free: 3.02 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003374/0.3457, allocations: 172.7 kB / 1.078 GB, free: 2.812 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.346, allocations: 0.6926 MB / 1.079 GB, free: 2.094 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.253e-05/0.346, allocations: 4.438 kB / 1.079 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.598e-05/0.3461, allocations: 11.44 kB / 1.079 GB, free: 2.078 MB / 0.8262 GB Notification: Performance of SimCode: time 2.6e-07/0.3461, allocations: 3.938 kB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of Templates: time 0.002729/0.3488, allocations: 428.6 kB / 1.079 GB, free: 1.656 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)