Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 110.4 kB / 18.94 MB, free: 2.949 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 216.4 kB / 22.25 MB, free: 5.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.555/1.555, allocations: 230.6 MB / 256 MB, free: 8 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8829/0.8829, allocations: 134 MB / 446.4 MB, free: 10.23 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001994/0.001994, allocations: 62.44 kB / 0.6186 GB, free: 7.234 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2039, allocations: 85.92 MB / 0.7025 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction): time 0.002047/0.206, allocations: 0.5597 MB / 0.703 GB, free: 0.8438 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001421/0.2074, allocations: 1.019 MB / 0.704 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.333e-05/0.2074, allocations: 3.938 kB / 0.704 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.106e-05/0.2075, allocations: 3.938 kB / 0.704 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0007241/0.2082, allocations: 83.78 kB / 0.7041 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 3.635e-05/0.2082, allocations: 15.97 kB / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.963e-05/0.2083, allocations: 8 kB / 0.7041 GB, free: 15.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.804e-05/0.2083, allocations: 4 kB / 0.7042 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.2084, allocations: 3.828 kB / 0.7042 GB, free: 15.69 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002169/0.2086, allocations: 35.91 kB / 0.7042 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.027e-06/0.2086, allocations: 0 / 0.7042 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001755/0.2088, allocations: 79.91 kB / 0.7043 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.769e-06/0.2088, allocations: 4 kB / 0.7043 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.07e-05/0.2088, allocations: 3.938 kB / 0.7043 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001652/0.209, allocations: 68.12 kB / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.209, allocations: 0 / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.252e-06/0.209, allocations: 0 / 0.7043 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.571e-06/0.209, allocations: 0 / 0.7043 GB, free: 15.5 MB / 0.5294 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.0003667/0.2093, allocations: 268.8 kB / 0.7046 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.2094, allocations: 12.03 kB / 0.7046 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.174e-05/0.2094, allocations: 30.75 kB / 0.7046 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.111e-05/0.2094, allocations: 0.9375 kB / 0.7046 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001163/0.2096, allocations: 114.5 kB / 0.7047 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.2096, allocations: 3.938 kB / 0.7047 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.2096, allocations: 4 kB / 0.7048 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.911e-05/0.2097, allocations: 33.64 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2097, allocations: 0 / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.642e-06/0.2097, allocations: 0 / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.2097, allocations: 4 kB / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.613e-05/0.2097, allocations: 0 / 0.7048 GB, free: 14.98 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004081/0.2101, allocations: 358.5 kB / 0.7051 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001115/0.2102, allocations: 169.1 kB / 0.7053 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.792e-05/0.2103, allocations: 88.11 kB / 0.7054 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 5.598e-05/0.2103, allocations: 83.27 kB / 0.7055 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00011/0.2105, allocations: 109.8 kB / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.2105, allocations: 0 / 0.7056 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 6.96e-05/0.2105, allocations: 25.7 kB / 0.7056 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.805e-05/0.2106, allocations: 126.7 kB / 0.7057 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001057/0.2107, allocations: 101.9 kB / 0.7058 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.2107, allocations: 29.69 kB / 0.7058 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.291e-05/0.2108, allocations: 92.03 kB / 0.7059 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.086e-06/0.2108, allocations: 0 / 0.7059 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.2108, allocations: 13.72 kB / 0.7059 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002157/0.211, allocations: 314.8 kB / 0.7062 GB, free: 13.38 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.398e-06/0.211, allocations: 3.938 kB / 0.7062 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.211, allocations: 0 / 0.7062 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.5e-05/0.2111, allocations: 12.86 kB / 0.7062 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2111, allocations: 4.062 kB / 0.7063 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001061/0.2112, allocations: 37.69 kB / 0.7063 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2112, allocations: 4 kB / 0.7063 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.2112, allocations: 0 / 0.7063 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.395e-05/0.2112, allocations: 0 / 0.7063 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.722e-05/0.2112, allocations: 3.938 kB / 0.7063 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.114e-06/0.2112, allocations: 4 kB / 0.7063 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.641e-05/0.2112, allocations: 3.938 kB / 0.7063 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.2112, allocations: 4 kB / 0.7063 GB, free: 13.29 MB / 0.5294 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.0001633/0.2114, allocations: 185.2 kB / 0.7065 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.2116, allocations: 101 kB / 0.7066 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.194e-05/0.2116, allocations: 116.1 kB / 0.7067 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001224/0.2117, allocations: 180.2 kB / 0.7069 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.992e-05/0.2118, allocations: 180.3 kB / 0.707 GB, free: 12.51 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.574e-05/0.2119, allocations: 188.1 kB / 0.7072 GB, free: 12.32 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003187/0.2122, allocations: 376.3 kB / 0.7076 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.000134/0.2124, allocations: 101 kB / 0.7077 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.554e-05/0.2124, allocations: 104.9 kB / 0.7078 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.404e-05/0.2125, allocations: 180.3 kB / 0.7079 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001731/0.2127, allocations: 184.4 kB / 0.7081 GB, free: 11.31 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.516e-05/0.2128, allocations: 180.3 kB / 0.7083 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.798e-05/0.2129, allocations: 196.2 kB / 0.7085 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/0.213, allocations: 295.8 kB / 0.7088 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.046e-05/0.2131, allocations: 112.9 kB / 0.7089 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.862e-05/0.2132, allocations: 184.3 kB / 0.709 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.311e-05/0.2133, allocations: 104.9 kB / 0.7091 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.29e-05/0.2134, allocations: 180.5 kB / 0.7093 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.461e-05/0.2134, allocations: 108.9 kB / 0.7094 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.367e-05/0.2135, allocations: 87.25 kB / 0.7095 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2135, allocations: 0 / 0.7095 GB, free: 9.82 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003446/0.2138, allocations: 19.94 kB / 0.7095 GB, free: 9.801 MB / 0.5294 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.0008565/0.2147, allocations: 0.8637 MB / 0.7104 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.86e-05/0.2148, allocations: 4 kB / 0.7104 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.2148, allocations: 0 / 0.7104 GB, free: 8.914 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.374e-06/0.2148, allocations: 7.984 kB / 0.7104 GB, free: 8.906 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004188/0.2152, allocations: 459.6 kB / 0.7108 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008339/0.216, allocations: 229.8 kB / 0.711 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.2164, allocations: 0.6845 MB / 0.7117 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.721e-05/0.2164, allocations: 0 / 0.7117 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.971e-05/0.2165, allocations: 7.438 kB / 0.7117 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of SimCode: time 2.6e-07/0.2165, allocations: 0 / 0.7117 GB, free: 7.473 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0294/0.2459, allocations: 1.609 MB / 0.7133 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.94/11.19, allocations: 7.938 kB / 0.7133 GB, free: 6.031 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_ShaGFunction.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.ShaGFunction.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.08746055499796] Failed to read output from testmodel.py, exit status != 0: 11.288306604001264 11.312035661 11.098607092 Calling exit ...