Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.001292/0.001292, allocations: 107.3 kB / 16.45 MB, free: 6.453 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.001341/0.001341, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.409/1.409, allocations: 230.6 MB / 252.8 MB, free: 8.945 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.8328/0.8328, allocations: 133.9 MB / 442.8 MB, free: 11.32 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.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.001908/0.001908, allocations: 73.94 kB / 0.6135 GB, free: 8.688 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1921, allocations: 85.86 MB / 0.6973 GB, free: 2.914 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00264/0.1947, allocations: 1.413 MB / 0.6987 GB, free: 1.488 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005138/0.1999, allocations: 3.063 MB / 0.7017 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.724e-05/0.1999, allocations: 0 / 0.7017 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001164/0.2, allocations: 19.86 kB / 0.7017 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002424/0.2003, allocations: 31.84 kB / 0.7018 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002248/0.2025, allocations: 0.9972 MB / 0.7027 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001339/0.2026, allocations: 79.73 kB / 0.7028 GB, free: 13.29 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.265e-05/0.2027, allocations: 4 kB / 0.7028 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.399e-05/0.2028, allocations: 51.83 kB / 0.7029 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000238/0.203, allocations: 143.6 kB / 0.703 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.203, allocations: 12 kB / 0.703 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0021/0.2051, allocations: 1.431 MB / 0.7044 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002548/0.2054, allocations: 267.8 kB / 0.7047 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00028/0.2057, allocations: 274.3 kB / 0.7049 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002043/0.2077, allocations: 1.487 MB / 0.7064 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2077, allocations: 4 kB / 0.7064 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.893e-06/0.2077, allocations: 0 / 0.7064 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.2077, allocations: 0 / 0.7064 GB, free: 9.613 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.009879/0.2176, allocations: 1.251 MB / 0.7076 GB, free: 8.309 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/0.2177, allocations: 13.09 kB / 0.7076 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.997e-05/0.2177, allocations: 34.75 kB / 0.7076 GB, free: 8.254 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003738/0.2181, allocations: 92.25 kB / 0.7077 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004561/0.2185, allocations: 364.9 kB / 0.7081 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2186, allocations: 8.125 kB / 0.7081 GB, free: 7.75 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.562e-05/0.2186, allocations: 8 kB / 0.7081 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004815/0.2191, allocations: 395.1 kB / 0.7085 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.2191, allocations: 0 / 0.7085 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2191, allocations: 0 / 0.7085 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.589e-06/0.2191, allocations: 0 / 0.7085 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004683/0.2196, allocations: 439.7 kB / 0.7089 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006638/0.2202, allocations: 0.6331 MB / 0.7095 GB, free: 6.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005786/0.2208, allocations: 0.5554 MB / 0.7101 GB, free: 5.656 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003443/0.2212, allocations: 341.7 kB / 0.7104 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001327/0.2225, allocations: 1.025 MB / 0.7114 GB, free: 4.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004576/0.223, allocations: 408.8 kB / 0.7118 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.333e-06/0.223, allocations: 0 / 0.7118 GB, free: 3.652 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001622/0.2246, allocations: 1.293 MB / 0.713 GB, free: 2.352 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.062e-05/0.2247, allocations: 85.11 kB / 0.7131 GB, free: 2.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.2259, allocations: 1.207 MB / 0.7143 GB, free: 1.027 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.226, allocations: 33.81 kB / 0.7143 GB, free: 0.9883 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002259/0.2262, allocations: 261.9 kB / 0.7146 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.032e-05/0.2262, allocations: 27.83 kB / 0.7146 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003609/0.2266, allocations: 343.6 kB / 0.7149 GB, free: 368 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.2267, allocations: 317.9 kB / 0.7152 GB, free: 44 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001582/0.2283, allocations: 1.361 MB / 0.7166 GB, free: 14.68 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001501/0.2298, allocations: 1.497 MB / 0.718 GB, free: 13.17 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007263/0.2371, allocations: 3.537 MB / 0.7215 GB, free: 9.543 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.2371, allocations: 4 kB / 0.7215 GB, free: 9.539 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004636/0.2417, allocations: 3.969 MB / 0.7254 GB, free: 5.535 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.2418, allocations: 12.03 kB / 0.7254 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.567e-05/0.2418, allocations: 0 / 0.7254 GB, free: 5.523 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.259e-05/0.2418, allocations: 3.938 kB / 0.7254 GB, free: 5.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001381/0.2419, allocations: 15.98 kB / 0.7254 GB, free: 5.504 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.688e-06/0.2419, allocations: 4 kB / 0.7254 GB, free: 5.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005002/0.2424, allocations: 233.4 kB / 0.7256 GB, free: 5.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.239e-05/0.2425, allocations: 27.98 kB / 0.7256 GB, free: 5.242 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (gFun2,$PRE.gFun2,gFun1,$PRE.gFun1,t2,$PRE.t2,t1,$PRE.t1,k,$PRE.k,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0003201/0.2428, allocations: 247.6 kB / 0.7259 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.712e-05/0.2429, allocations: 67.34 kB / 0.7259 GB, free: 4.926 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.2432, allocations: 74.89 kB / 0.726 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-06/0.2432, allocations: 0 / 0.726 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.2432, allocations: 0 / 0.726 GB, free: 4.844 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2432, allocations: 4 kB / 0.726 GB, free: 4.84 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004989/0.2437, allocations: 0.489 MB / 0.7265 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2437, allocations: 0 / 0.7265 GB, free: 4.305 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.2437, allocations: 12.02 kB / 0.7265 GB, free: 4.293 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.2437, allocations: 4 kB / 0.7265 GB, free: 4.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.411e-05/0.2438, allocations: 4 kB / 0.7265 GB, free: 4.285 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.5e-06/0.2438, allocations: 3.938 kB / 0.7265 GB, free: 4.281 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.2438, allocations: 4 kB / 0.7265 GB, free: 4.277 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.2448, allocations: 1.006 MB / 0.7275 GB, free: 3.25 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001353/0.2449, allocations: 156.4 kB / 0.7277 GB, free: 3.078 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.472e-05/0.245, allocations: 4 kB / 0.7277 GB, free: 3.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001313/0.2451, allocations: 7.984 kB / 0.7277 GB, free: 3.066 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.2452, allocations: 4 kB / 0.7277 GB, free: 3.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.824e-05/0.2452, allocations: 15.97 kB / 0.7277 GB, free: 3.047 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007967/0.246, allocations: 0.6687 MB / 0.7283 GB, free: 2.371 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.246, allocations: 0 / 0.7283 GB, free: 2.371 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001225/0.2472, allocations: 403 kB / 0.7287 GB, free: 1.977 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,k,t1,t2,gFun1,gFun2) * Number of discrete states: 2 (k,t2) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.002525/0.2498, allocations: 1.931 MB / 0.7306 GB, free: 8 kB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002248/0.252, allocations: 1.949 MB / 0.7325 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.235e-06/0.252, allocations: 64 / 0.7325 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003816/0.2524, allocations: 336.2 kB / 0.7328 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003104/0.2527, allocations: 36.48 kB / 0.7329 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.365/0.6177, allocations: 15.05 MB / 0.7476 GB, free: 46.77 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005053/0.6182, allocations: 0.9704 MB / 0.7485 GB, free: 46.07 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002011/0.6184, allocations: 40 kB / 0.7485 GB, free: 46.06 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002423/0.6187, allocations: 265.9 kB / 0.7488 GB, free: 46.06 MB / 0.5606 GB Notification: Performance of SimCode: time 1.462e-06/0.6187, allocations: 0 / 0.7488 GB, free: 46.06 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05824/0.6769, allocations: 19.74 MB / 0.7681 GB, free: 40.57 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.765/10.44, allocations: 4.891 kB / 0.7681 GB, free: 40.57 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters_res.csv --start-time 0 --stop-time 4.12e+08 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 164800 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.063041811998119] Failed to read output from testmodel.py, exit status != 0: 10.520466720001423 10.530842652 10.321008435 Calling exit ...