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.001714/0.001714, allocations: 106 kB / 16.29 MB, free: 6.43 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.002044/0.002044, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.717/1.717, allocations: 205.1 MB / 223.1 MB, free: 12.3 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 2.066/2.066, allocations: 292.3 MB / 0.5495 GB, free: 17.4 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.001429/0.001429, allocations: 71.91 kB / 0.6722 GB, free: 6.512 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2822, allocations: 114.6 MB / 0.7841 GB, free: 3.844 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.To_Btu): time 0.002612/0.2849, allocations: 0.8491 MB / 0.7849 GB, free: 2.988 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001981/0.2851, allocations: 43.78 kB / 0.7849 GB, free: 2.945 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.091e-05/0.2852, allocations: 4 kB / 0.785 GB, free: 2.941 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.962e-05/0.2853, allocations: 7.875 kB / 0.785 GB, free: 2.934 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0001026/0.2854, allocations: 11.86 kB / 0.785 GB, free: 2.922 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 6.581e-05/0.2855, allocations: 19.98 kB / 0.785 GB, free: 2.902 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001197/0.2856, allocations: 71.77 kB / 0.7851 GB, free: 2.832 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001688/0.2858, allocations: 41.39 kB / 0.7851 GB, free: 2.789 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.086e-05/0.2859, allocations: 27.86 kB / 0.7851 GB, free: 2.762 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.207e-05/0.2859, allocations: 27.8 kB / 0.7852 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.312e-05/0.2859, allocations: 12 kB / 0.7852 GB, free: 2.723 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.23e-05/0.286, allocations: 4 kB / 0.7852 GB, free: 2.719 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 2.571e-05/0.286, allocations: 19.92 kB / 0.7852 GB, free: 2.699 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 5.877e-05/0.2861, allocations: 43.72 kB / 0.7852 GB, free: 2.656 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000142/0.2862, allocations: 87.8 kB / 0.7853 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2862, allocations: 0 / 0.7853 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2862, allocations: 0 / 0.7853 GB, free: 2.57 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 7.564e-06/0.2862, allocations: 0 / 0.7853 GB, free: 2.57 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.000471/0.2867, allocations: 383.2 kB / 0.7857 GB, free: 2.145 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2868, allocations: 12.03 kB / 0.7857 GB, free: 2.133 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.298e-05/0.2868, allocations: 16.73 kB / 0.7857 GB, free: 2.117 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000208/0.287, allocations: 200.1 kB / 0.7859 GB, free: 1.883 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.287, allocations: 4.375 kB / 0.7859 GB, free: 1.879 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.431e-05/0.2871, allocations: 8.375 kB / 0.7859 GB, free: 1.871 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001706/0.2872, allocations: 102.7 kB / 0.786 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.2873, allocations: 192 / 0.786 GB, free: 1.762 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.2873, allocations: 3.938 kB / 0.786 GB, free: 1.758 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.753e-06/0.2873, allocations: 8 kB / 0.786 GB, free: 1.75 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.882e-05/0.2874, allocations: 39.92 kB / 0.7861 GB, free: 1.711 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006028/0.288, allocations: 444.5 kB / 0.7865 GB, free: 1.223 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.686e-05/0.2881, allocations: 41.28 kB / 0.7865 GB, free: 1.164 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.612e-05/0.2881, allocations: 17.84 kB / 0.7865 GB, free: 1.141 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 7.995e-06/0.2881, allocations: 3.938 kB / 0.7865 GB, free: 1.137 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.509e-05/0.2881, allocations: 34.56 kB / 0.7866 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.2882, allocations: 0 / 0.7866 GB, free: 1.094 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0001808/0.2883, allocations: 61.47 kB / 0.7866 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.559e-05/0.2884, allocations: 81.36 kB / 0.7867 GB, free: 0.9297 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001501/0.2886, allocations: 169.5 kB / 0.7869 GB, free: 0.7539 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.419e-05/0.2886, allocations: 29.7 kB / 0.7869 GB, free: 0.7188 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.286e-05/0.2886, allocations: 107.9 kB / 0.787 GB, free: 0.6094 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 9.718e-06/0.2887, allocations: 7.906 kB / 0.787 GB, free: 0.6016 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.16e-05/0.2887, allocations: 13.72 kB / 0.787 GB, free: 0.582 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001148/0.2888, allocations: 322.8 kB / 0.7873 GB, free: 264 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.2888, allocations: 11.94 kB / 0.7873 GB, free: 252 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.879e-05/0.2889, allocations: 25.7 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.103e-05/0.2889, allocations: 25.72 kB / 0.7874 GB, free: 188 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.2889, allocations: 0 / 0.7874 GB, free: 188 kB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.823e-05/0.289, allocations: 57.55 kB / 0.7874 GB, free: 124 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/0.2891, allocations: 11.98 kB / 0.7875 GB, free: 112 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.2891, allocations: 7.875 kB / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.2891, allocations: 0 / 0.7875 GB, free: 104 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.701e-05/0.2892, allocations: 8.062 kB / 0.7875 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.634e-06/0.2892, allocations: 4 kB / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.191e-05/0.2892, allocations: 0 / 0.7875 GB, free: 92 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.221e-05/0.2892, allocations: 4 kB / 0.7875 GB, free: 88 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.5022/0.7915, allocations: 111 kB / 0.7876 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.571e-05/0.7916, allocations: 10.09 kB / 0.7876 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.658e-05/0.7916, allocations: 18.62 kB / 0.7876 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.7917, allocations: 1.219 kB / 0.7876 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.7917, allocations: 0 / 0.7876 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-06/0.7917, allocations: 2.781 kB / 0.7876 GB, free: 48.14 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000544/0.7922, allocations: 483.2 kB / 0.7881 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.126e-06/0.7923, allocations: 6.375 kB / 0.7881 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.471e-05/0.7923, allocations: 3.844 kB / 0.7881 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.7923, allocations: 3.047 kB / 0.7881 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.7923, allocations: 3.375 kB / 0.7881 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.7924, allocations: 2.938 kB / 0.7881 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.7924, allocations: 0 / 0.7881 GB, free: 47.68 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.281e-05/0.7925, allocations: 81.72 kB / 0.7882 GB, free: 47.61 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.808e-05/0.7925, allocations: 92.48 kB / 0.7883 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/0.7925, allocations: 0.5156 kB / 0.7883 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.416e-05/0.7926, allocations: 0.8438 kB / 0.7883 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.748e-05/0.7926, allocations: 4.719 kB / 0.7883 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.981e-06/0.7926, allocations: 3.875 kB / 0.7883 GB, free: 47.52 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 9.358e-05/0.7927, allocations: 129.5 kB / 0.7884 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7927, allocations: 0 / 0.7884 GB, free: 47.44 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003599/0.7931, allocations: 14 kB / 0.7884 GB, free: 47.44 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.0001263/0.7932, allocations: 97.56 kB / 0.7885 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.7934, allocations: 26.45 kB / 0.7885 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.7934, allocations: 0 / 0.7885 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.778e-05/0.7934, allocations: 12.31 kB / 0.7885 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002224/0.7936, allocations: 8.219 kB / 0.7885 GB, free: 47.35 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003563/0.794, allocations: 165.3 kB / 0.7887 GB, free: 47.21 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001459/0.7942, allocations: 0.6984 MB / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.358e-05/0.7942, allocations: 8.125 kB / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.431e-05/0.7942, allocations: 15.88 kB / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of SimCode: time 6.91e-07/0.7943, allocations: 0 / 0.7894 GB, free: 46.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.002897/0.7972, allocations: 484 kB / 0.7899 GB, free: 46.52 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.UnitConversions.Validation.To_Btu.pipe 2>&1)