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.001279/0.001278, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001338/0.001338, allocations: 196.2 kB / 16.53 MB, free: 6.672 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.742/1.742, allocations: 205.1 MB / 222.4 MB, free: 4.605 MB / 174.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.971/1.971, allocations: 292.3 MB / 0.5489 GB, free: 12.82 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.001467/0.001467, allocations: 75.62 kB / 0.6715 GB, free: 26.2 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2761/0.2776, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.003116/0.2807, allocations: 0.8528 MB / 0.7842 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002007/0.281, allocations: 43.78 kB / 0.7842 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000102/0.2811, allocations: 0 / 0.7842 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 6.65e-05/0.2812, allocations: 7.875 kB / 0.7842 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001307/0.2814, allocations: 19.84 kB / 0.7843 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 7.343e-05/0.2814, allocations: 19.98 kB / 0.7843 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001444/0.2816, allocations: 63.78 kB / 0.7843 GB, free: 12.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.2818, allocations: 45.39 kB / 0.7844 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.539e-05/0.2819, allocations: 27.86 kB / 0.7844 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 6.295e-05/0.2819, allocations: 31.78 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.645e-05/0.282, allocations: 12 kB / 0.7845 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.129e-05/0.282, allocations: 4 kB / 0.7845 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.326e-05/0.282, allocations: 15.94 kB / 0.7845 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.925e-05/0.2821, allocations: 43.67 kB / 0.7845 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001417/0.2822, allocations: 79.91 kB / 0.7846 GB, free: 12.19 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.2822, allocations: 4 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.094e-06/0.2822, allocations: 0 / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.033e-06/0.2823, allocations: 0 / 0.7846 GB, free: 12.18 MB / 0.6075 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.000534/0.2828, allocations: 391.1 kB / 0.785 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.47e-05/0.2828, allocations: 12.03 kB / 0.785 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.852e-05/0.2829, allocations: 12.75 kB / 0.785 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002535/0.2832, allocations: 196.2 kB / 0.7852 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.2832, allocations: 8.375 kB / 0.7852 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.633e-05/0.2832, allocations: 8.375 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001802/0.2834, allocations: 94.39 kB / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.2834, allocations: 192 / 0.7853 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.648e-05/0.2834, allocations: 7.938 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2835, allocations: 4 kB / 0.7853 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.2836, allocations: 47.86 kB / 0.7853 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006378/0.2842, allocations: 440.6 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.659e-05/0.2843, allocations: 41.25 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.352e-05/0.2843, allocations: 17.78 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 8.526e-06/0.2843, allocations: 3.938 kB / 0.7858 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.101e-05/0.2844, allocations: 34.56 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.2844, allocations: 0 / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0002089/0.2846, allocations: 65.47 kB / 0.7859 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.2847, allocations: 81.36 kB / 0.786 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000213/0.2849, allocations: 165.5 kB / 0.7862 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.714e-05/0.2849, allocations: 29.7 kB / 0.7862 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 7.856e-05/0.285, allocations: 111.9 kB / 0.7863 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.16e-05/0.285, allocations: 7.891 kB / 0.7863 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.329e-05/0.2851, allocations: 17.72 kB / 0.7863 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2853, allocations: 322.8 kB / 0.7866 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.522e-05/0.2853, allocations: 8 kB / 0.7866 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.786e-05/0.2853, allocations: 17.72 kB / 0.7867 GB, free: 9.832 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.373e-05/0.2854, allocations: 29.66 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2854, allocations: 0 / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001113/0.2855, allocations: 65.53 kB / 0.7867 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.2855, allocations: 8 kB / 0.7867 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.2856, allocations: 3.938 kB / 0.7868 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.2856, allocations: 4.062 kB / 0.7868 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.958e-05/0.2857, allocations: 4 kB / 0.7868 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.927e-06/0.2857, allocations: 4 kB / 0.7868 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.806e-05/0.2857, allocations: 4 kB / 0.7868 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.02e-06/0.2857, allocations: 0 / 0.7868 GB, free: 9.699 MB / 0.6075 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.0001042/0.2859, allocations: 118.5 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.281e-05/0.2859, allocations: 15.89 kB / 0.7869 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.2859, allocations: 12.5 kB / 0.7869 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.286, allocations: 8 kB / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.501e-06/0.286, allocations: 0 / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.237e-06/0.286, allocations: 0 / 0.7869 GB, free: 9.539 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000481/0.2865, allocations: 482.7 kB / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.2865, allocations: 0 / 0.7874 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.617e-05/0.2865, allocations: 4 kB / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.056e-06/0.2865, allocations: 0 / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.642e-06/0.2865, allocations: 0 / 0.7874 GB, free: 9 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.506e-06/0.2865, allocations: 4.062 kB / 0.7874 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.2865, allocations: 7.875 kB / 0.7874 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.2867, allocations: 85.83 kB / 0.7875 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.667e-05/0.2867, allocations: 96.86 kB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.74e-05/0.2868, allocations: 3.984 kB / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.498e-05/0.2868, allocations: 0 / 0.7876 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.2868, allocations: 8.031 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.404e-06/0.2868, allocations: 0 / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.000101/0.2869, allocations: 122.1 kB / 0.7877 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2869, allocations: 4 kB / 0.7877 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002023/0.2871, allocations: 8 kB / 0.7877 GB, free: 8.629 MB / 0.6075 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.2873, allocations: 99.25 kB / 0.7878 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.2874, allocations: 23.92 kB / 0.7878 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2874, allocations: 4.125 kB / 0.7878 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.256e-05/0.2874, allocations: 4 kB / 0.7878 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001666/0.2876, allocations: 11.94 kB / 0.7878 GB, free: 8.477 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003698/0.288, allocations: 178.3 kB / 0.788 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/0.2883, allocations: 0.6963 MB / 0.7887 GB, free: 7.551 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.562e-05/0.2883, allocations: 8.422 kB / 0.7887 GB, free: 7.539 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.052e-05/0.2884, allocations: 11.44 kB / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of SimCode: time 3.6e-07/0.2884, allocations: 0 / 0.7887 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of Templates: time 0.002786/0.2911, allocations: 489.6 kB / 0.7892 GB, free: 7.055 MB / 0.6075 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)