Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.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.001343/0.001343, allocations: 110.6 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.001442/0.001442, allocations: 220 kB / 22.26 MB, free: 5.125 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.402/1.402, allocations: 230.6 MB / 256 MB, free: 8.004 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.8302/0.8302, allocations: 134 MB / 446.4 MB, free: 10.24 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_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",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.001896/0.001896, allocations: 66.64 kB / 0.6186 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.168, allocations: 85.9 MB / 0.7025 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002807/0.1708, allocations: 1.421 MB / 0.7039 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005233/0.1761, allocations: 3.094 MB / 0.7069 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.997e-05/0.1761, allocations: 4 kB / 0.7069 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001218/0.1762, allocations: 15.86 kB / 0.7069 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002654/0.1765, allocations: 31.84 kB / 0.707 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002883/0.1794, allocations: 1.036 MB / 0.708 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.1795, allocations: 79.75 kB / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.046e-05/0.1796, allocations: 4 kB / 0.7081 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.919e-05/0.1797, allocations: 47.83 kB / 0.7081 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002488/0.1799, allocations: 161.6 kB / 0.7083 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.18, allocations: 12 kB / 0.7083 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00248/0.1825, allocations: 1.556 MB / 0.7098 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007639/0.1832, allocations: 0.6952 MB / 0.7105 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003733/0.1836, allocations: 441 kB / 0.7109 GB, free: 8.77 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002289/0.1859, allocations: 1.821 MB / 0.7127 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.1859, allocations: 0 / 0.7127 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.402e-06/0.1859, allocations: 3.938 kB / 0.7127 GB, free: 6.938 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.1859, allocations: 0 / 0.7127 GB, free: 6.938 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.009344/0.1952, allocations: 1.679 MB / 0.7143 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.956e-05/0.1953, allocations: 8.031 kB / 0.7143 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.614e-05/0.1953, allocations: 38.73 kB / 0.7143 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004243/0.1958, allocations: 151.8 kB / 0.7145 GB, free: 5.012 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000612/0.1964, allocations: 484.6 kB / 0.715 GB, free: 4.484 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.1964, allocations: 8.125 kB / 0.715 GB, free: 4.477 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.974e-05/0.1964, allocations: 7.984 kB / 0.715 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004853/0.1969, allocations: 399.1 kB / 0.7154 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.846e-06/0.1969, allocations: 0 / 0.7154 GB, free: 4.066 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/0.1969, allocations: 7.938 kB / 0.7154 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.1969, allocations: 0 / 0.7154 GB, free: 4.059 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004607/0.1974, allocations: 435.7 kB / 0.7158 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008147/0.1982, allocations: 0.7796 MB / 0.7165 GB, free: 2.797 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005515/0.1988, allocations: 0.5671 MB / 0.7171 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003235/0.1991, allocations: 333.7 kB / 0.7174 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006686/0.1998, allocations: 131.9 kB / 0.7175 GB, free: 1.75 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000433/0.2002, allocations: 408.8 kB / 0.7179 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.2002, allocations: 0 / 0.7179 GB, free: 1.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001492/0.2017, allocations: 1.351 MB / 0.7192 GB, free: 15.97 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.171e-05/0.2017, allocations: 77.11 kB / 0.7193 GB, free: 15.88 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/0.2037, allocations: 1.851 MB / 0.7211 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.777e-05/0.2037, allocations: 29.7 kB / 0.7212 GB, free: 13.95 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003923/0.2041, allocations: 481.8 kB / 0.7216 GB, free: 13.47 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.756e-05/0.2042, allocations: 27.73 kB / 0.7216 GB, free: 13.44 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000334/0.2045, allocations: 351.7 kB / 0.722 GB, free: 13.09 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.2046, allocations: 309.1 kB / 0.7223 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001415/0.206, allocations: 1.506 MB / 0.7237 GB, free: 11.28 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00153/0.2076, allocations: 1.646 MB / 0.7253 GB, free: 9.625 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007243/0.2148, allocations: 3.701 MB / 0.729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/0.2148, allocations: 0 / 0.729 GB, free: 5.832 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004772/0.2196, allocations: 4.324 MB / 0.7332 GB, free: 1.473 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.2196, allocations: 4 kB / 0.7332 GB, free: 1.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.704e-05/0.2196, allocations: 4 kB / 0.7332 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.2197, allocations: 0 / 0.7332 GB, free: 1.465 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.2198, allocations: 15.98 kB / 0.7332 GB, free: 1.449 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2198, allocations: 4.031 kB / 0.7332 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00056/0.2204, allocations: 237.4 kB / 0.7334 GB, free: 1.211 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.999e-05/0.2204, allocations: 23.98 kB / 0.7335 GB, free: 1.188 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.0004577/0.2209, allocations: 374.6 kB / 0.7338 GB, free: 0.8125 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001192/0.221, allocations: 130.9 kB / 0.7339 GB, free: 0.6836 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.2221, allocations: 1.008 MB / 0.7349 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.2221, allocations: 0 / 0.7349 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.2221, allocations: 0 / 0.7349 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2221, allocations: 0 / 0.7349 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006429/0.2227, allocations: 0.6628 MB / 0.7356 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.2227, allocations: 0 / 0.7356 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.004e-05/0.2228, allocations: 8 kB / 0.7356 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.2228, allocations: 0 / 0.7356 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.399e-05/0.2228, allocations: 7.984 kB / 0.7356 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.417e-06/0.2228, allocations: 4 kB / 0.7356 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.2228, allocations: 4.031 kB / 0.7356 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.2238, allocations: 1.06 MB / 0.7366 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.224, allocations: 126.9 kB / 0.7368 GB, free: 13.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.881e-05/0.2241, allocations: 11.98 kB / 0.7368 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001799/0.2243, allocations: 4 kB / 0.7368 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.304e-05/0.2243, allocations: 7.984 kB / 0.7368 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.2243, allocations: 11.98 kB / 0.7368 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001258/0.2256, allocations: 1.101 MB / 0.7379 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2256, allocations: 7.938 kB / 0.7379 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001031/0.2266, allocations: 443 kB / 0.7383 GB, free: 12.11 MB / 0.5606 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.002394/0.229, allocations: 1.998 MB / 0.7402 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002153/0.2312, allocations: 2.093 MB / 0.7423 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.2312, allocations: 0 / 0.7423 GB, free: 7.977 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.2315, allocations: 339.8 kB / 0.7426 GB, free: 7.645 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004235/0.2319, allocations: 47.98 kB / 0.7427 GB, free: 7.598 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6653/0.8972, allocations: 36.42 MB / 0.7782 GB, free: 35.13 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007645/0.898, allocations: 1.155 MB / 0.7794 GB, free: 34.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001933/0.8982, allocations: 37.38 kB / 0.7794 GB, free: 34.12 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004492/0.8987, allocations: 429.9 kB / 0.7798 GB, free: 33.75 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/0.8987, allocations: 0.625 kB / 0.7798 GB, free: 33.75 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08737/0.986, allocations: 60.26 MB / 0.8386 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.1/15.09, allocations: 8.531 kB / 0.8387 GB, free: 8.574 MB / 0.5919 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes_res.csv --start-time 0 --stop-time 3.7e+11 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.48e+08 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.783988237999438] Failed to read output from testmodel.py, exit status != 0: 15.211085121998622 15.234917593 15.044720037 Calling exit ...