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.803/1.803, allocations: 292.3 MB / 308.1 MB, free: 4.297 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.001545/0.001545, allocations: 198.3 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.128/2.128, allocations: 205.1 MB / 0.6354 GB, free: 9.777 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.001278/0.001278, allocations: 97.38 kB / 0.748 GB, free: 61.19 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 55.92 kB / 0.8704 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3035/0.3047, allocations: 114.5 MB / 0.9822 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002883/0.3076, allocations: 0.9046 MB / 0.9831 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0001895/0.3079, allocations: 43.78 kB / 0.9831 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.846e-05/0.308, allocations: 4 kB / 0.9831 GB, free: 9.418 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 4.89e-05/0.308, allocations: 11.86 kB / 0.9832 GB, free: 9.406 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001123/0.3082, allocations: 11.94 kB / 0.9832 GB, free: 9.395 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 4.746e-05/0.3082, allocations: 11.98 kB / 0.9832 GB, free: 9.383 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0001143/0.3084, allocations: 63.84 kB / 0.9832 GB, free: 9.32 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001584/0.3085, allocations: 41.39 kB / 0.9833 GB, free: 9.277 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.249e-05/0.3086, allocations: 27.8 kB / 0.9833 GB, free: 9.25 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.3087, allocations: 31.8 kB / 0.9833 GB, free: 9.219 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.3087, allocations: 4 kB / 0.9833 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.066e-05/0.3087, allocations: 4 kB / 0.9833 GB, free: 9.211 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 2.165e-05/0.3087, allocations: 15.91 kB / 0.9834 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 4.506e-05/0.3088, allocations: 39.73 kB / 0.9834 GB, free: 9.156 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.3089, allocations: 75.92 kB / 0.9835 GB, free: 9.082 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.3089, allocations: 4 kB / 0.9835 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3089, allocations: 0 / 0.9835 GB, free: 9.078 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.164e-06/0.3089, allocations: 0 / 0.9835 GB, free: 9.078 MB / 0.7136 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.0005066/0.3094, allocations: 399.1 kB / 0.9839 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.3095, allocations: 8.031 kB / 0.9839 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.889e-05/0.3095, allocations: 8.844 kB / 0.9839 GB, free: 8.621 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002298/0.3098, allocations: 196.1 kB / 0.9841 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.3098, allocations: 12.38 kB / 0.9841 GB, free: 8.379 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.3098, allocations: 4.375 kB / 0.9841 GB, free: 8.375 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.31, allocations: 106.5 kB / 0.9842 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.31, allocations: 192 / 0.9842 GB, free: 8.262 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.31, allocations: 3.938 kB / 0.9842 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.804e-06/0.3101, allocations: 0 / 0.9842 GB, free: 8.258 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.119e-05/0.3101, allocations: 43.92 kB / 0.9842 GB, free: 8.215 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006399/0.3108, allocations: 440.6 kB / 0.9846 GB, free: 7.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.127e-05/0.3109, allocations: 41.34 kB / 0.9847 GB, free: 7.672 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.678e-05/0.3109, allocations: 17.78 kB / 0.9847 GB, free: 7.648 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.018e-05/0.3109, allocations: 4 kB / 0.9847 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.289e-05/0.311, allocations: 30.56 kB / 0.9847 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 3.116e-06/0.311, allocations: 0 / 0.9847 GB, free: 7.605 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001814/0.3112, allocations: 65.38 kB / 0.9848 GB, free: 7.535 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.302e-05/0.3112, allocations: 81.05 kB / 0.9849 GB, free: 7.438 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3114, allocations: 171.3 kB / 0.985 GB, free: 7.258 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.3114, allocations: 33.89 kB / 0.9851 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.3115, allocations: 112 kB / 0.9852 GB, free: 7.105 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.027e-05/0.3115, allocations: 7.891 kB / 0.9852 GB, free: 7.098 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.175e-05/0.3116, allocations: 13.72 kB / 0.9852 GB, free: 7.078 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001159/0.3117, allocations: 322.8 kB / 0.9855 GB, free: 6.754 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.489e-05/0.3117, allocations: 8 kB / 0.9855 GB, free: 6.746 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.819e-05/0.3117, allocations: 21.7 kB / 0.9855 GB, free: 6.719 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.958e-05/0.3118, allocations: 33.72 kB / 0.9856 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3118, allocations: 0 / 0.9856 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001374/0.3119, allocations: 61.53 kB / 0.9856 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.312, allocations: 8 kB / 0.9856 GB, free: 6.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.304e-06/0.312, allocations: 7.875 kB / 0.9856 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/0.312, allocations: 0 / 0.9856 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.099e-05/0.3121, allocations: 4 kB / 0.9856 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.3121, allocations: 4 kB / 0.9856 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.017e-05/0.3121, allocations: 11.97 kB / 0.9857 GB, free: 6.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.579e-06/0.3122, allocations: 0 / 0.9857 GB, free: 6.578 MB / 0.7136 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.948e-05/0.3123, allocations: 121.8 kB / 0.9858 GB, free: 6.449 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.3123, allocations: 11.91 kB / 0.9858 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.728e-05/0.3123, allocations: 12.48 kB / 0.9858 GB, free: 6.43 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3123, allocations: 4 kB / 0.9858 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.3124, allocations: 0 / 0.9858 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.3124, allocations: 0 / 0.9858 GB, free: 6.426 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004165/0.3128, allocations: 490.7 kB / 0.9863 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-06/0.3128, allocations: 0 / 0.9863 GB, free: 5.883 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.623e-05/0.3128, allocations: 4 kB / 0.9863 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.474e-06/0.3128, allocations: 0 / 0.9863 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.3129, allocations: 0 / 0.9863 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.3129, allocations: 0 / 0.9863 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.3129, allocations: 0 / 0.9863 GB, free: 5.879 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000363/0.3132, allocations: 0.6519 MB / 0.9869 GB, free: 5.164 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.829e-05/0.3133, allocations: 85.02 kB / 0.987 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.3133, allocations: 3.984 kB / 0.987 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.425e-05/0.3134, allocations: 0 / 0.987 GB, free: 5.059 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.45e-05/0.3134, allocations: 7.938 kB / 0.987 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-06/0.3134, allocations: 0 / 0.987 GB, free: 5.051 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 9.482e-05/0.3135, allocations: 132 kB / 0.9871 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1e-07/0.3135, allocations: 0 / 0.9871 GB, free: 4.922 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002846/0.3138, allocations: 8 kB / 0.9871 GB, free: 4.914 MB / 0.7136 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.0001148/0.3139, allocations: 95.25 kB / 0.9872 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.4e-05/0.314, allocations: 27.92 kB / 0.9873 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.314, allocations: 0 / 0.9873 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.285e-05/0.314, allocations: 7.938 kB / 0.9873 GB, free: 4.773 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000156/0.3142, allocations: 12.25 kB / 0.9873 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003915/0.3146, allocations: 298.5 kB / 0.9876 GB, free: 4.43 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002621/0.3149, allocations: 0.7043 MB / 0.9882 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.321e-05/0.3149, allocations: 8.516 kB / 0.9883 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.3149, allocations: 11.44 kB / 0.9883 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of SimCode: time 2.01e-07/0.3149, allocations: 0 / 0.9883 GB, free: 3.68 MB / 0.7136 GB Notification: Performance of Templates: time 0.002283/0.3172, allocations: 488.5 kB / 0.9887 GB, free: 3.203 MB / 0.7136 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)