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.001538/0.001538, allocations: 108 kB / 15.6 MB, free: 132 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.001866/0.001866, allocations: 193 kB / 16.53 MB, free: 6.391 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.444/1.444, allocations: 205.1 MB / 222.4 MB, free: 4.57 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.859/1.859, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001505/0.001505, allocations: 71.44 kB / 0.6717 GB, free: 26.22 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2439/0.2454, allocations: 114.6 MB / 0.7835 GB, free: 13.36 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002243/0.2477, allocations: 0.57 MB / 0.7841 GB, free: 12.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.2491, allocations: 0.9798 MB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.31e-05/0.2491, allocations: 0 / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.801e-05/0.2492, allocations: 0 / 0.785 GB, free: 11.79 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.0007652/0.2499, allocations: 91.78 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 3.594e-05/0.25, allocations: 11.98 kB / 0.7851 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.786e-05/0.25, allocations: 7.938 kB / 0.7851 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.119e-05/0.2501, allocations: 8 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.988e-05/0.2501, allocations: 3.938 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.2502, allocations: 7.984 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.239e-05/0.2502, allocations: 0 / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000337/0.2505, allocations: 75.92 kB / 0.7852 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.229e-05/0.2506, allocations: 3.984 kB / 0.7852 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.044e-05/0.2506, allocations: 7.938 kB / 0.7852 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.2508, allocations: 59.94 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.452e-06/0.2508, allocations: 3.938 kB / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2508, allocations: 0 / 0.7853 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.541e-06/0.2508, allocations: 0 / 0.7853 GB, free: 11.51 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.0003955/0.2512, allocations: 335.8 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.166e-05/0.2513, allocations: 8.031 kB / 0.7856 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.775e-05/0.2513, allocations: 42.72 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.739e-05/0.2513, allocations: 4.844 kB / 0.7857 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.2515, allocations: 168.3 kB / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.039e-05/0.2515, allocations: 384 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.871e-06/0.2515, allocations: 384 / 0.7858 GB, free: 10.87 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.922e-05/0.2516, allocations: 33.64 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.2516, allocations: 4 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.705e-06/0.2517, allocations: 0 / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2517, allocations: 0 / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.271e-05/0.2517, allocations: 7.984 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004308/0.2521, allocations: 464.6 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 7.545e-05/0.2522, allocations: 169.1 kB / 0.7865 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.88e-05/0.2523, allocations: 92.08 kB / 0.7866 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.75e-05/0.2523, allocations: 75.28 kB / 0.7866 GB, free: 9.953 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.545e-05/0.2524, allocations: 105.8 kB / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.2524, allocations: 0 / 0.7867 GB, free: 9.84 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.68e-05/0.2524, allocations: 25.7 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.364e-05/0.2525, allocations: 130.6 kB / 0.7869 GB, free: 9.668 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.2526, allocations: 109.8 kB / 0.787 GB, free: 9.551 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.059e-05/0.2527, allocations: 25.7 kB / 0.787 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.327e-05/0.2527, allocations: 80.14 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.986e-06/0.2527, allocations: 0 / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.883e-05/0.2527, allocations: 17.72 kB / 0.7871 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.2529, allocations: 318.8 kB / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.107e-05/0.2529, allocations: 0 / 0.7874 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.037e-06/0.2529, allocations: 4 kB / 0.7874 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.253, allocations: 8.922 kB / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.253, allocations: 0 / 0.7874 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001068/0.2531, allocations: 37.64 kB / 0.7875 GB, free: 9.035 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.202e-05/0.2531, allocations: 4 kB / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.2531, allocations: 0 / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.131e-05/0.2531, allocations: 0 / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.713e-05/0.2531, allocations: 0 / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.2532, allocations: 0 / 0.7875 GB, free: 9.031 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.822e-05/0.2532, allocations: 7.906 kB / 0.7875 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.2532, allocations: 8.016 kB / 0.7875 GB, free: 9.016 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 0.0002116/0.2534, allocations: 189.7 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.2536, allocations: 104.9 kB / 0.7878 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.54e-05/0.2536, allocations: 112 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.473e-05/0.2537, allocations: 177.3 kB / 0.788 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-05/0.2538, allocations: 180.2 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.061e-05/0.2539, allocations: 188.2 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002741/0.2541, allocations: 401.2 kB / 0.7888 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.098e-05/0.2542, allocations: 108.9 kB / 0.7889 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.124e-05/0.2542, allocations: 109 kB / 0.789 GB, free: 7.359 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.464e-05/0.2543, allocations: 184.3 kB / 0.7892 GB, free: 7.172 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.695e-05/0.2544, allocations: 184.2 kB / 0.7893 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001033/0.2545, allocations: 176.5 kB / 0.7895 GB, free: 6.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001313/0.2546, allocations: 184.1 kB / 0.7897 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.2549, allocations: 315.7 kB / 0.79 GB, free: 6.285 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001219/0.255, allocations: 182.1 kB / 0.7902 GB, free: 6.082 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001021/0.2551, allocations: 180.3 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.535e-05/0.2552, allocations: 108.9 kB / 0.7904 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/0.2553, allocations: 176.5 kB / 0.7906 GB, free: 5.605 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.927e-05/0.2553, allocations: 108.9 kB / 0.7907 GB, free: 5.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001298/0.2555, allocations: 87.27 kB / 0.7908 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2555, allocations: 0 / 0.7908 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003282/0.2558, allocations: 23.98 kB / 0.7908 GB, free: 5.383 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.0009553/0.2568, allocations: 0.851 MB / 0.7916 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 6.762e-05/0.2569, allocations: 8 kB / 0.7917 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2569, allocations: 0 / 0.7917 GB, free: 4.5 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.707e-06/0.2569, allocations: 3.938 kB / 0.7917 GB, free: 4.496 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004842/0.2574, allocations: 463.6 kB / 0.7921 GB, free: 4.039 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001314/0.2587, allocations: 1.267 MB / 0.7933 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.2591, allocations: 0.6807 MB / 0.794 GB, free: 1.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.143e-05/0.2591, allocations: 3.984 kB / 0.794 GB, free: 1.98 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.08e-05/0.2592, allocations: 7.438 kB / 0.794 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of SimCode: time 2.81e-07/0.2592, allocations: 4 kB / 0.794 GB, free: 1.969 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02013/0.2793, allocations: 1.506 MB / 0.7955 GB, free: 0.6484 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/8.68, allocations: 8.891 kB / 0.7955 GB, free: 0.6406 MB / 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)