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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 105.4 kB / 15.7 MB, free: 24 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.001539/0.001539, allocations: 194.3 kB / 16.64 MB, free: 6.453 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.496/1.496, allocations: 205.1 MB / 222.5 MB, free: 4.547 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.629/1.629, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.001403/0.001403, allocations: 76.48 kB / 0.6718 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2135, allocations: 114.6 MB / 0.7837 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.001873/0.2154, allocations: 0.5688 MB / 0.7842 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001171/0.2166, allocations: 0.9915 MB / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.776e-05/0.2167, allocations: 0 / 0.7852 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.152e-05/0.2167, allocations: 0 / 0.7852 GB, free: 11.62 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.0006794/0.2174, allocations: 87.78 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.248e-05/0.2174, allocations: 11.94 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.396e-05/0.2175, allocations: 7.984 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.908e-05/0.2175, allocations: 3.984 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.767e-05/0.2176, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.584e-05/0.2176, allocations: 4 kB / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.365e-06/0.2176, allocations: 0 / 0.7853 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001687/0.2178, allocations: 79.86 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.558e-06/0.2178, allocations: 0 / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.662e-05/0.2178, allocations: 3.938 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001437/0.218, allocations: 71.91 kB / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.218, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.964e-06/0.218, allocations: 0 / 0.7855 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.218, allocations: 0 / 0.7855 GB, free: 11.35 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.0003234/0.2183, allocations: 335.8 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.2184, allocations: 12.03 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.765e-05/0.2184, allocations: 34.69 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.457e-05/0.2184, allocations: 8.844 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001412/0.2186, allocations: 168.4 kB / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.154e-06/0.2186, allocations: 384 / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.734e-06/0.2186, allocations: 384 / 0.786 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.277e-05/0.2187, allocations: 33.58 kB / 0.786 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.712e-06/0.2187, allocations: 7.938 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.011e-06/0.2187, allocations: 0 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.609e-06/0.2187, allocations: 4 kB / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.643e-05/0.2188, allocations: 0 / 0.786 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004398/0.2192, allocations: 464.6 kB / 0.7865 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.966e-05/0.2193, allocations: 173.1 kB / 0.7867 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.2193, allocations: 84.08 kB / 0.7867 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/0.2194, allocations: 79.28 kB / 0.7868 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.009e-05/0.2194, allocations: 105.8 kB / 0.7869 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.2194, allocations: 4 kB / 0.7869 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 6.673e-05/0.2195, allocations: 25.7 kB / 0.7869 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.927e-05/0.2196, allocations: 126.7 kB / 0.7871 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.119e-05/0.2196, allocations: 102 kB / 0.7872 GB, free: 9.395 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.022e-05/0.2197, allocations: 25.7 kB / 0.7872 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.2197, allocations: 88.14 kB / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-06/0.2197, allocations: 0 / 0.7873 GB, free: 9.273 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.44e-05/0.2197, allocations: 9.719 kB / 0.7873 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.801e-05/0.2198, allocations: 314.8 kB / 0.7876 GB, free: 8.941 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.224e-05/0.2199, allocations: 11.94 kB / 0.7876 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-06/0.2199, allocations: 4 kB / 0.7876 GB, free: 8.926 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.385e-05/0.2199, allocations: 8.859 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2199, allocations: 4.062 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.105e-05/0.22, allocations: 33.69 kB / 0.7876 GB, free: 8.871 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.187e-05/0.22, allocations: 4 kB / 0.7876 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.22, allocations: 4.047 kB / 0.7876 GB, free: 8.863 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.258e-05/0.2201, allocations: 3.984 kB / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.43e-05/0.2201, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.2201, allocations: 0 / 0.7876 GB, free: 8.859 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.648e-05/0.2201, allocations: 3.906 kB / 0.7876 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.652e-06/0.2201, allocations: 0 / 0.7876 GB, free: 8.855 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 9.148e-05/0.2202, allocations: 201.6 kB / 0.7878 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.628e-05/0.2203, allocations: 105 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.946e-05/0.2203, allocations: 111.9 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.315e-05/0.2204, allocations: 181.3 kB / 0.7882 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.564e-05/0.2205, allocations: 180.3 kB / 0.7884 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.073e-05/0.2205, allocations: 180.2 kB / 0.7886 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.2208, allocations: 409.2 kB / 0.789 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.016e-05/0.2209, allocations: 105 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.976e-05/0.221, allocations: 108.9 kB / 0.7892 GB, free: 7.188 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.925e-05/0.221, allocations: 180.2 kB / 0.7893 GB, free: 7.004 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.188e-05/0.2211, allocations: 180.2 kB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.858e-05/0.2212, allocations: 184.5 kB / 0.7897 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.93e-05/0.2212, allocations: 184.2 kB / 0.7899 GB, free: 6.445 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001256/0.2214, allocations: 311.7 kB / 0.7902 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.9e-05/0.2214, allocations: 186 kB / 0.7903 GB, free: 5.91 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.787e-05/0.2215, allocations: 180.3 kB / 0.7905 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.748e-05/0.2216, allocations: 105 kB / 0.7906 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.824e-05/0.2217, allocations: 180.2 kB / 0.7908 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.253e-05/0.2217, allocations: 105 kB / 0.7909 GB, free: 5.324 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.232e-05/0.2217, allocations: 83.28 kB / 0.791 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2217, allocations: 0 / 0.791 GB, free: 5.242 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002687/0.222, allocations: 20 kB / 0.791 GB, free: 5.223 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.0006303/0.2227, allocations: 0.8716 MB / 0.7918 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.653e-05/0.2227, allocations: 4 kB / 0.7918 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2227, allocations: 4.062 kB / 0.7918 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 1.503e-06/0.2227, allocations: 0 / 0.7918 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003712/0.2231, allocations: 459.6 kB / 0.7923 GB, free: 3.871 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009249/0.2241, allocations: 1.267 MB / 0.7935 GB, free: 2.523 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.2244, allocations: 0.6728 MB / 0.7942 GB, free: 1.824 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.559e-05/0.2245, allocations: 8.281 kB / 0.7942 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.558e-05/0.2246, allocations: 7.438 kB / 0.7942 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2246, allocations: 0 / 0.7942 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01669/0.2412, allocations: 1.537 MB / 0.7957 GB, free: 484 kB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.545/7.786, allocations: 11.69 kB / 0.7957 GB, free: 476 kB / 0.6075 GB (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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1)