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.001545/0.001545, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001719/0.001718, allocations: 193.3 kB / 16.13 MB, free: 6.656 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.523/1.523, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.856/2.856, allocations: 472.6 MB / 0.7447 GB, free: 4.91 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 72.23 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.3653, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002351/0.3677, allocations: 0.8902 MB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001197/0.3678, allocations: 31.86 kB / 1.068 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.183e-05/0.3679, allocations: 4 kB / 1.068 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.557e-05/0.3679, allocations: 3.938 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.833e-05/0.368, allocations: 7.922 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 5.337e-05/0.3681, allocations: 19.98 kB / 1.068 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001012/0.3682, allocations: 59.78 kB / 1.069 GB, free: 9.887 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001775/0.3684, allocations: 39.97 kB / 1.069 GB, free: 9.848 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.114e-05/0.3684, allocations: 23.86 kB / 1.069 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.56e-05/0.3685, allocations: 27.86 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.3685, allocations: 8 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.3685, allocations: 4 kB / 1.069 GB, free: 9.785 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.26e-05/0.3686, allocations: 11.92 kB / 1.069 GB, free: 9.773 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.884e-05/0.3686, allocations: 31.75 kB / 1.069 GB, free: 9.742 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001114/0.3687, allocations: 68.03 kB / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.181e-06/0.3688, allocations: 0 / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.323e-06/0.3688, allocations: 0 / 1.069 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.3688, allocations: 0 / 1.069 GB, free: 9.676 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.000554/0.3693, allocations: 387.1 kB / 1.069 GB, free: 9.246 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.3694, allocations: 12.03 kB / 1.069 GB, free: 9.234 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.3694, allocations: 8.844 kB / 1.069 GB, free: 9.227 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.3697, allocations: 196.2 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.3697, allocations: 8.312 kB / 1.069 GB, free: 8.988 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.474e-05/0.3697, allocations: 8.375 kB / 1.069 GB, free: 8.98 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001755/0.3699, allocations: 91.89 kB / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3699, allocations: 192 / 1.069 GB, free: 8.879 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.3699, allocations: 7.938 kB / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/0.3699, allocations: 0 / 1.069 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.886e-05/0.37, allocations: 39.98 kB / 1.069 GB, free: 8.832 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005595/0.3706, allocations: 440.5 kB / 1.07 GB, free: 8.348 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 5.696e-05/0.3707, allocations: 41.16 kB / 1.07 GB, free: 8.289 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.756e-05/0.3707, allocations: 21.94 kB / 1.07 GB, free: 8.262 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.3707, allocations: 3.938 kB / 1.07 GB, free: 8.258 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.433e-05/0.3708, allocations: 34.56 kB / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.283e-06/0.3708, allocations: 0 / 1.07 GB, free: 8.215 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0001704/0.3709, allocations: 61.47 kB / 1.07 GB, free: 8.148 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.031e-05/0.371, allocations: 81.36 kB / 1.07 GB, free: 8.051 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001496/0.3711, allocations: 164.9 kB / 1.07 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.119e-05/0.3712, allocations: 29.64 kB / 1.07 GB, free: 7.848 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.96e-05/0.3712, allocations: 104 kB / 1.07 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.556e-06/0.3713, allocations: 3.906 kB / 1.07 GB, free: 7.738 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.082e-05/0.3713, allocations: 17.72 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001373/0.3714, allocations: 322.8 kB / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.769e-05/0.3715, allocations: 0 / 1.071 GB, free: 7.391 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.51e-05/0.3715, allocations: 25.72 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.538e-05/0.3715, allocations: 25.66 kB / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3716, allocations: 0 / 1.071 GB, free: 7.328 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.642e-05/0.3717, allocations: 57.59 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.3717, allocations: 8 kB / 1.071 GB, free: 7.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.3717, allocations: 3.938 kB / 1.071 GB, free: 7.254 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.3717, allocations: 4.062 kB / 1.071 GB, free: 7.25 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.893e-05/0.3718, allocations: 7.938 kB / 1.071 GB, free: 7.242 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.065e-06/0.3718, allocations: 4 kB / 1.071 GB, free: 7.238 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.014e-05/0.3718, allocations: 7.844 kB / 1.071 GB, free: 7.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.055e-06/0.3718, allocations: 8.078 kB / 1.071 GB, free: 7.223 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.147e-05/0.3719, allocations: 113.8 kB / 1.071 GB, free: 7.102 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.488e-05/0.372, allocations: 11.89 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.04e-05/0.372, allocations: 19.75 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.372, allocations: 4 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/0.372, allocations: 4 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.372, allocations: 0 / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004097/0.3725, allocations: 466.8 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.3725, allocations: 0 / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-05/0.3725, allocations: 7.984 kB / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.3725, allocations: 0 / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.3725, allocations: 0 / 1.071 GB, free: 6.531 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3725, allocations: 4.062 kB / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3725, allocations: 0 / 1.071 GB, free: 6.527 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.505e-05/0.3726, allocations: 85.78 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.635e-05/0.3727, allocations: 89 kB / 1.072 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.691e-05/0.3727, allocations: 4 kB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.006e-05/0.3727, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.393e-05/0.3728, allocations: 8.031 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.964e-06/0.3728, allocations: 0 / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.748e-05/0.3729, allocations: 121.5 kB / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3729, allocations: 0 / 1.072 GB, free: 6.188 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0001906/0.3731, allocations: 11.91 kB / 1.072 GB, free: 6.176 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.0001563/0.3732, allocations: 99.23 kB / 1.072 GB, free: 6.07 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001039/0.3733, allocations: 19.94 kB / 1.072 GB, free: 6.051 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3733, allocations: 4.125 kB / 1.072 GB, free: 6.047 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.188e-05/0.3734, allocations: 7.938 kB / 1.072 GB, free: 6.039 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000185/0.3736, allocations: 15.88 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003979/0.374, allocations: 184.7 kB / 1.072 GB, free: 5.809 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.3743, allocations: 0.6926 MB / 1.073 GB, free: 5.09 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.003e-05/0.3744, allocations: 12.42 kB / 1.073 GB, free: 5.078 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.77e-05/0.3744, allocations: 7.438 kB / 1.073 GB, free: 5.07 MB / 0.8262 GB Notification: Performance of SimCode: time 4.61e-07/0.3744, allocations: 4 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of Templates: time 0.002656/0.3771, allocations: 420.6 kB / 1.073 GB, free: 4.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)