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/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 102.1 kB / 16.27 MB, free: 6.348 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.001603/0.001603, allocations: 187.6 kB / 17.2 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 223.1 MB, free: 12.29 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.745/1.745, allocations: 292.3 MB / 0.5495 GB, free: 17.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001472/0.001472, allocations: 74.75 kB / 0.6722 GB, free: 6.605 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2765, allocations: 114.6 MB / 0.784 GB, free: 3.934 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.003591/0.2802, allocations: 0.8487 MB / 0.7849 GB, free: 3.082 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001652/0.2804, allocations: 43.78 kB / 0.7849 GB, free: 3.039 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.476e-05/0.2805, allocations: 8 kB / 0.7849 GB, free: 3.031 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 5.939e-05/0.2805, allocations: 15.8 kB / 0.7849 GB, free: 3.016 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001196/0.2807, allocations: 7.875 kB / 0.7849 GB, free: 3.008 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.478e-05/0.2807, allocations: 23.92 kB / 0.785 GB, free: 2.984 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001372/0.2809, allocations: 63.91 kB / 0.785 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.2811, allocations: 45.31 kB / 0.7851 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 8.847e-05/0.2812, allocations: 31.8 kB / 0.7851 GB, free: 2.844 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 7.61e-05/0.2813, allocations: 35.78 kB / 0.7851 GB, free: 2.809 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.485e-05/0.2813, allocations: 4 kB / 0.7851 GB, free: 2.805 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.979e-05/0.2814, allocations: 8 kB / 0.7851 GB, free: 2.797 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.066e-05/0.2814, allocations: 15.94 kB / 0.7851 GB, free: 2.781 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.154e-05/0.2815, allocations: 31.8 kB / 0.7852 GB, free: 2.75 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.2816, allocations: 83.91 kB / 0.7853 GB, free: 2.668 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.2816, allocations: 4 kB / 0.7853 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2816, allocations: 0 / 0.7853 GB, free: 2.664 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.293e-05/0.2817, allocations: 0 / 0.7853 GB, free: 2.664 MB / 0.6544 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.0005683/0.2822, allocations: 387.1 kB / 0.7856 GB, free: 2.234 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.575e-05/0.2823, allocations: 8.031 kB / 0.7856 GB, free: 2.227 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.043e-05/0.2823, allocations: 16.75 kB / 0.7857 GB, free: 2.211 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000252/0.2826, allocations: 196.1 kB / 0.7858 GB, free: 1.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.292e-05/0.2826, allocations: 4.375 kB / 0.7858 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.847e-05/0.2827, allocations: 16.38 kB / 0.7859 GB, free: 1.961 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002132/0.2829, allocations: 90.92 kB / 0.7859 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.2829, allocations: 4.125 kB / 0.786 GB, free: 1.859 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.2829, allocations: 3.938 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.2829, allocations: 4 kB / 0.786 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.283, allocations: 39.92 kB / 0.786 GB, free: 1.812 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000672/0.2837, allocations: 448.5 kB / 0.7864 GB, free: 1.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 7.168e-05/0.2838, allocations: 45.22 kB / 0.7865 GB, free: 1.258 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.2839, allocations: 13.84 kB / 0.7865 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 9.238e-06/0.2839, allocations: 0 / 0.7865 GB, free: 1.238 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.661e-05/0.284, allocations: 46.55 kB / 0.7865 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.284, allocations: 0 / 0.7865 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002515/0.2843, allocations: 57.48 kB / 0.7866 GB, free: 1.121 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.616e-05/0.2843, allocations: 77.11 kB / 0.7867 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002042/0.2845, allocations: 169.4 kB / 0.7868 GB, free: 0.8516 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.2846, allocations: 29.69 kB / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 8.934e-05/0.2847, allocations: 112.1 kB / 0.787 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.672e-05/0.2847, allocations: 15.89 kB / 0.787 GB, free: 0.6875 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.347e-05/0.2848, allocations: 13.72 kB / 0.787 GB, free: 0.668 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2849, allocations: 318.8 kB / 0.7873 GB, free: 356 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.858e-05/0.2849, allocations: 8 kB / 0.7873 GB, free: 348 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.524e-05/0.285, allocations: 21.7 kB / 0.7873 GB, free: 320 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.131e-05/0.285, allocations: 29.72 kB / 0.7873 GB, free: 284 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.2851, allocations: 0 / 0.7873 GB, free: 284 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001309/0.2852, allocations: 65.53 kB / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/0.2852, allocations: 4 kB / 0.7874 GB, free: 208 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.338e-06/0.2852, allocations: 3.938 kB / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.2853, allocations: 0 / 0.7874 GB, free: 204 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.483e-05/0.2854, allocations: 12 kB / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2854, allocations: 0 / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.2854, allocations: 4 kB / 0.7874 GB, free: 188 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.09e-06/0.2855, allocations: 4.062 kB / 0.7874 GB, free: 184 kB / 0.6544 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 0.0001059/0.2856, allocations: 121.8 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.77e-05/0.2857, allocations: 11.81 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.884e-05/0.2857, allocations: 16.5 kB / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2857, allocations: 0 / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.928e-06/0.2857, allocations: 0 / 0.7876 GB, free: 20 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.2857, allocations: 3.938 kB / 0.7876 GB, free: 16 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4617/0.7474, allocations: 480.9 kB / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.7475, allocations: 0 / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.655e-05/0.7475, allocations: 4.781 kB / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.7475, allocations: 3.125 kB / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.594e-06/0.7476, allocations: 0 / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.63e-06/0.7476, allocations: 3.594 kB / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/0.7476, allocations: 3.469 kB / 0.788 GB, free: 47.93 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.134e-05/0.7477, allocations: 82.92 kB / 0.7881 GB, free: 47.86 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.924e-05/0.7477, allocations: 91.98 kB / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.826e-05/0.7478, allocations: 0 / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.651e-05/0.7478, allocations: 2.781 kB / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.499e-05/0.7478, allocations: 3.688 kB / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.7478, allocations: 3.438 kB / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 8.812e-05/0.7479, allocations: 125.9 kB / 0.7883 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7479, allocations: 2.688 kB / 0.7883 GB, free: 47.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002438/0.7482, allocations: 11.41 kB / 0.7884 GB, free: 47.69 MB / 0.6544 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.0001315/0.7483, allocations: 98.03 kB / 0.7885 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001026/0.7484, allocations: 23.08 kB / 0.7885 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.7484, allocations: 5.656 kB / 0.7885 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.224e-05/0.7484, allocations: 7.969 kB / 0.7885 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002003/0.7486, allocations: 13.81 kB / 0.7885 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003241/0.749, allocations: 191 kB / 0.7887 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001424/0.7491, allocations: 0.6953 MB / 0.7894 GB, free: 46.75 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.7492, allocations: 10.12 kB / 0.7894 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of SimCode: time 2.91e-07/0.7492, allocations: 2.719 kB / 0.7894 GB, free: 46.74 MB / 0.6544 GB Notification: Performance of Templates: time 0.002206/0.7514, allocations: 0.9254 MB / 0.7903 GB, free: 46.74 MB / 0.6544 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)