Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.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.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") translateModel(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001219/0.00122, allocations: 91.22 kB / 15.36 MB, free: 0.7383 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.01043/0.01043, allocations: 171.9 kB / 16.26 MB, free: 6.613 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.531/1.531, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.045/3.045, allocations: 473.4 MB / 0.7469 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004565/0.0004569, allocations: 8.875 kB / 0.9158 GB, free: 33.15 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4269/0.4274, allocations: 162.2 MB / 1.074 GB, free: 7.52 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.001233/0.4287, allocations: 0.5475 MB / 1.075 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001398/0.4288, allocations: 39.78 kB / 1.075 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.4289, allocations: 8 kB / 1.075 GB, free: 6.93 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.393e-05/0.429, allocations: 7.875 kB / 1.075 GB, free: 6.922 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 9.595e-05/0.4291, allocations: 3.938 kB / 1.075 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.338e-05/0.4291, allocations: 15.98 kB / 1.075 GB, free: 6.902 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000124/0.4293, allocations: 55.84 kB / 1.075 GB, free: 6.848 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001707/0.4294, allocations: 39.91 kB / 1.075 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.176e-05/0.4295, allocations: 15.88 kB / 1.075 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 6.672e-05/0.4296, allocations: 27.84 kB / 1.075 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.684e-05/0.4296, allocations: 0 / 1.075 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 8.696e-06/0.4296, allocations: 0 / 1.075 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.442e-05/0.4296, allocations: 11.94 kB / 1.075 GB, free: 6.754 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.88e-05/0.4297, allocations: 53.44 kB / 1.075 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.4298, allocations: 60.05 kB / 1.075 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4299, allocations: 4 kB / 1.075 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.773e-06/0.4299, allocations: 0 / 1.075 GB, free: 6.633 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.741e-06/0.4299, allocations: 0 / 1.075 GB, free: 6.633 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.0004544/0.4303, allocations: 367.3 kB / 1.075 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.4304, allocations: 16.02 kB / 1.075 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.651e-05/0.4304, allocations: 8.844 kB / 1.075 GB, free: 6.199 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002598/0.4307, allocations: 192.1 kB / 1.076 GB, free: 5.973 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.55e-05/0.4307, allocations: 4.375 kB / 1.076 GB, free: 5.969 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.937e-05/0.4308, allocations: 8.375 kB / 1.076 GB, free: 5.961 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.431, allocations: 101.4 kB / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.431, allocations: 192 / 1.076 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.854e-05/0.431, allocations: 11.92 kB / 1.076 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.957e-06/0.431, allocations: 7.938 kB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.374e-05/0.4311, allocations: 35.97 kB / 1.076 GB, free: 5.797 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006112/0.4317, allocations: 432.6 kB / 1.076 GB, free: 5.32 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.729e-05/0.4318, allocations: 45.22 kB / 1.076 GB, free: 5.258 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.4319, allocations: 13.78 kB / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 7.735e-06/0.4319, allocations: 0 / 1.076 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.495e-05/0.4319, allocations: 46.58 kB / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.162e-06/0.4319, allocations: 0 / 1.076 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001891/0.4321, allocations: 57.58 kB / 1.076 GB, free: 5.121 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.867e-05/0.4322, allocations: 77.11 kB / 1.076 GB, free: 5.027 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001706/0.4324, allocations: 165.1 kB / 1.077 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.418e-05/0.4324, allocations: 25.7 kB / 1.077 GB, free: 4.828 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.976e-05/0.4325, allocations: 107.9 kB / 1.077 GB, free: 4.719 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.099e-05/0.4325, allocations: 7.906 kB / 1.077 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.233e-05/0.4325, allocations: 13.72 kB / 1.077 GB, free: 4.691 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.4327, allocations: 322.8 kB / 1.077 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.727e-05/0.4327, allocations: 8.156 kB / 1.077 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.729e-05/0.4327, allocations: 21.72 kB / 1.077 GB, free: 4.332 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.662e-05/0.4328, allocations: 29.64 kB / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.4328, allocations: 0 / 1.077 GB, free: 4.297 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.946e-05/0.4329, allocations: 53.61 kB / 1.077 GB, free: 4.238 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.4329, allocations: 8 kB / 1.077 GB, free: 4.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.4329, allocations: 8 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.433, allocations: 0 / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.568e-05/0.433, allocations: 11.92 kB / 1.077 GB, free: 4.211 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.433, allocations: 4 kB / 1.077 GB, free: 4.207 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.347e-05/0.4331, allocations: 3.938 kB / 1.077 GB, free: 4.203 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.288e-06/0.4331, allocations: 0 / 1.077 GB, free: 4.203 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 8.372e-05/0.4332, allocations: 113.8 kB / 1.077 GB, free: 4.082 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.475e-05/0.4332, allocations: 7.906 kB / 1.077 GB, free: 4.074 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.883e-05/0.4333, allocations: 11.81 kB / 1.077 GB, free: 4.059 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.4333, allocations: 4 kB / 1.077 GB, free: 4.055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.892e-05/0.4333, allocations: 7.984 kB / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.4333, allocations: 0 / 1.077 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004348/0.4337, allocations: 478.7 kB / 1.078 GB, free: 3.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.4337, allocations: 3.938 kB / 1.078 GB, free: 3.512 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.985e-05/0.4338, allocations: 4 kB / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.4338, allocations: 0 / 1.078 GB, free: 3.508 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.093e-06/0.4338, allocations: 8.062 kB / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.4338, allocations: 0 / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.4338, allocations: 0 / 1.078 GB, free: 3.5 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.419e-05/0.4339, allocations: 85.77 kB / 1.078 GB, free: 3.395 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.101e-05/0.434, allocations: 85.02 kB / 1.078 GB, free: 3.293 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.624e-05/0.434, allocations: 4 kB / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.895e-05/0.434, allocations: 0 / 1.078 GB, free: 3.289 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.308e-05/0.434, allocations: 8.016 kB / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.813e-06/0.434, allocations: 0 / 1.078 GB, free: 3.281 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 9.436e-05/0.4341, allocations: 121.3 kB / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4341, allocations: 0 / 1.078 GB, free: 3.164 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001877/0.4343, allocations: 12 kB / 1.078 GB, free: 3.152 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.0001365/0.4345, allocations: 95.25 kB / 1.078 GB, free: 3.051 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.789e-05/0.4346, allocations: 19.94 kB / 1.078 GB, free: 3.031 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.4346, allocations: 4.125 kB / 1.078 GB, free: 3.027 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.106e-05/0.4346, allocations: 4 kB / 1.078 GB, free: 3.023 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001712/0.4348, allocations: 15.11 kB / 1.078 GB, free: 3.012 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.4351, allocations: 180.7 kB / 1.078 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000264/0.4354, allocations: 0.6965 MB / 1.079 GB, free: 2.074 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.273e-05/0.4354, allocations: 8.422 kB / 1.079 GB, free: 2.066 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.167e-05/0.4355, allocations: 7.438 kB / 1.079 GB, free: 2.059 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.4355, allocations: 4 kB / 1.079 GB, free: 2.055 MB / 0.8262 GB Notification: Performance of Templates: time 0.002731/0.4382, allocations: 428.6 kB / 1.079 GB, free: 1.637 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & ./Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1)