Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.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.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 108 kB / 15.61 MB, free: 152 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.001057/0.001057, allocations: 193.1 kB / 16.53 MB, free: 6.699 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.34/1.34, allocations: 205.1 MB / 222.4 MB, free: 4.578 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.725/1.725, allocations: 292.3 MB / 0.5489 GB, free: 12.83 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.001427/0.001427, allocations: 69.17 kB / 0.6715 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.264/0.2654, allocations: 114.5 MB / 0.7834 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001788/0.2673, allocations: 0.5708 MB / 0.784 GB, free: 12.89 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2685, allocations: 0.9837 MB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.777e-05/0.2685, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.548e-05/0.2685, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/Fluid/Geothermal/Borefields/BaseClasses/HeatTransfer/ThermalResponseFactors/shaGFunction.mo:2:1-78:17:writable] Warning: Pure function 'Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.shaGFunction' contains a call to impure function 'Buildings.Utilities.Cryptographics.sha'. Notification: Performance of NFTyping.typeBindings: time 0.0006904/0.2692, allocations: 95.78 kB / 0.785 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 4.545e-05/0.2693, allocations: 19.92 kB / 0.785 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.892e-05/0.2693, allocations: 3.938 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.357e-05/0.2694, allocations: 4 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.819e-05/0.2694, allocations: 3.984 kB / 0.785 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.197e-05/0.2694, allocations: 4 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.2694, allocations: 3.938 kB / 0.785 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001721/0.2696, allocations: 79.91 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.001e-05/0.2696, allocations: 3.938 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.493e-05/0.2697, allocations: 11.94 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001447/0.2698, allocations: 63.92 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.2698, allocations: 0 / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.2698, allocations: 4 kB / 0.7852 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.2699, allocations: 0 / 0.7852 GB, free: 11.6 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.000326/0.2702, allocations: 331.8 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2702, allocations: 8.031 kB / 0.7855 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.968e-05/0.2703, allocations: 8.922 kB / 0.7855 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001134/0.2704, allocations: 164.3 kB / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.2704, allocations: 384 / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.2704, allocations: 384 / 0.7857 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.443e-05/0.2705, allocations: 37.83 kB / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.741e-06/0.2705, allocations: 0 / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.2705, allocations: 0 / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.2705, allocations: 0 / 0.7857 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.854e-05/0.2706, allocations: 3.938 kB / 0.7857 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003812/0.2709, allocations: 472.5 kB / 0.7862 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.863e-05/0.271, allocations: 173.1 kB / 0.7863 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.021e-05/0.2711, allocations: 80.14 kB / 0.7864 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.663e-05/0.2711, allocations: 83.3 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.74e-05/0.2711, allocations: 109.8 kB / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2712, allocations: 0 / 0.7866 GB, free: 9.973 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.611e-05/0.2712, allocations: 25.7 kB / 0.7866 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.494e-05/0.2713, allocations: 130.7 kB / 0.7868 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.357e-05/0.2714, allocations: 105.8 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.203e-05/0.2714, allocations: 25.7 kB / 0.7869 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.48e-05/0.2714, allocations: 80.14 kB / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.424e-06/0.2714, allocations: 0 / 0.787 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.688e-05/0.2715, allocations: 13.72 kB / 0.787 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.593e-05/0.2716, allocations: 318.8 kB / 0.7873 GB, free: 9.234 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.096e-05/0.2716, allocations: 3.984 kB / 0.7873 GB, free: 9.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.861e-06/0.2716, allocations: 4 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.342e-05/0.2716, allocations: 12.8 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2716, allocations: 0 / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.759e-05/0.2717, allocations: 29.7 kB / 0.7873 GB, free: 9.176 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.2718, allocations: 8 kB / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/0.2718, allocations: 0 / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.2718, allocations: 0 / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.451e-05/0.2718, allocations: 0 / 0.7873 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.318e-06/0.2718, allocations: 3.938 kB / 0.7873 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.363e-05/0.2718, allocations: 4.094 kB / 0.7873 GB, free: 9.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.2718, allocations: 4 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (cmp) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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.34e-05/0.2719, allocations: 193.7 kB / 0.7875 GB, free: 8.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.166e-05/0.272, allocations: 108.8 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.189e-05/0.2721, allocations: 108.1 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-05/0.2721, allocations: 177.3 kB / 0.7879 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.579e-05/0.2722, allocations: 184.2 kB / 0.7881 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.708e-05/0.2722, allocations: 180.2 kB / 0.7883 GB, free: 8.176 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002083/0.2724, allocations: 409.1 kB / 0.7886 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.862e-05/0.2725, allocations: 109 kB / 0.7887 GB, free: 7.605 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.306e-05/0.2725, allocations: 109 kB / 0.7888 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.956e-05/0.2726, allocations: 184.3 kB / 0.789 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.858e-05/0.2727, allocations: 180.2 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.513e-05/0.2727, allocations: 184.4 kB / 0.7894 GB, free: 6.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.626e-05/0.2728, allocations: 176.3 kB / 0.7895 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001261/0.2729, allocations: 315.7 kB / 0.7898 GB, free: 6.422 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.936e-05/0.273, allocations: 182.1 kB / 0.79 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.206e-05/0.2731, allocations: 184.2 kB / 0.7902 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.708e-05/0.2731, allocations: 105 kB / 0.7903 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.481e-05/0.2732, allocations: 180.2 kB / 0.7905 GB, free: 5.738 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.165e-05/0.2733, allocations: 105 kB / 0.7906 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.507e-05/0.2733, allocations: 79.28 kB / 0.7906 GB, free: 5.551 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2733, allocations: 4 kB / 0.7906 GB, free: 5.547 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002531/0.2736, allocations: 23.98 kB / 0.7907 GB, free: 5.523 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0003398/0.2739, allocations: 218.1 kB / 0.7909 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.744e-05/0.274, allocations: 7.984 kB / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.103e-06/0.274, allocations: 64 / 0.7909 GB, free: 5.301 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.776e-06/0.274, allocations: 7.938 kB / 0.7909 GB, free: 5.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000359/0.2744, allocations: 467.6 kB / 0.7913 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001954/0.2746, allocations: 156.2 kB / 0.7915 GB, free: 4.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002155/0.2748, allocations: 0.6728 MB / 0.7921 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.329e-05/0.2748, allocations: 15.97 kB / 0.7922 GB, free: 3.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.2749, allocations: 7.438 kB / 0.7922 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of SimCode: time 2.6e-07/0.2749, allocations: 0 / 0.7922 GB, free: 3.93 MB / 0.6075 GB Notification: Performance of Templates: time 0.002736/0.2776, allocations: 0.6478 MB / 0.7928 GB, free: 3.324 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)