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.001347/0.001347, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001582/0.001582, allocations: 212.9 kB / 22.24 MB, free: 4.855 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.789 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.8049/0.8049, allocations: 134 MB / 446.4 MB, free: 9.953 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.002108/0.002108, allocations: 70.84 kB / 0.6185 GB, free: 6.855 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1623/0.1644, allocations: 85.91 MB / 0.7024 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003042/0.1674, allocations: 1.406 MB / 0.7038 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004965/0.1724, allocations: 2.767 MB / 0.7065 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.511e-05/0.1725, allocations: 0 / 0.7065 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001149/0.1726, allocations: 11.86 kB / 0.7065 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.1728, allocations: 31.84 kB / 0.7066 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00279/0.1756, allocations: 1.027 MB / 0.7076 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001407/0.1757, allocations: 83.75 kB / 0.7076 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.118e-05/0.1758, allocations: 0 / 0.7076 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.044e-05/0.1759, allocations: 55.7 kB / 0.7077 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002407/0.1761, allocations: 161.6 kB / 0.7078 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.31e-05/0.1762, allocations: 16 kB / 0.7079 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002402/0.1786, allocations: 1.415 MB / 0.7092 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007501/0.1793, allocations: 0.6953 MB / 0.7099 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003793/0.1797, allocations: 353.8 kB / 0.7103 GB, free: 8.988 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00247/0.1822, allocations: 1.817 MB / 0.712 GB, free: 7.164 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1822, allocations: 4 kB / 0.712 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1822, allocations: 0 / 0.712 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.732e-05/0.1822, allocations: 0 / 0.712 GB, free: 7.16 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.01/0.1922, allocations: 1.675 MB / 0.7137 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.499e-05/0.1922, allocations: 12.03 kB / 0.7137 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.901e-05/0.1923, allocations: 34.75 kB / 0.7137 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004248/0.1927, allocations: 159.8 kB / 0.7139 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006408/0.1933, allocations: 476.6 kB / 0.7143 GB, free: 4.711 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.883e-05/0.1934, allocations: 16.11 kB / 0.7143 GB, free: 4.695 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.783e-05/0.1934, allocations: 7.938 kB / 0.7143 GB, free: 4.688 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004732/0.1939, allocations: 383.2 kB / 0.7147 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.1939, allocations: 0 / 0.7147 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.1939, allocations: 3.984 kB / 0.7147 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.1939, allocations: 8 kB / 0.7147 GB, free: 4.289 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004765/0.1944, allocations: 427.8 kB / 0.7151 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008418/0.1952, allocations: 0.7679 MB / 0.7159 GB, free: 3.047 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005884/0.1958, allocations: 0.5594 MB / 0.7164 GB, free: 2.469 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003418/0.1962, allocations: 333.7 kB / 0.7167 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006978/0.1969, allocations: 135.9 kB / 0.7169 GB, free: 2.004 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004493/0.1973, allocations: 400.8 kB / 0.7173 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.182e-06/0.1973, allocations: 0 / 0.7173 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001523/0.1988, allocations: 1.352 MB / 0.7186 GB, free: 240 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.057e-05/0.1989, allocations: 81.14 kB / 0.7187 GB, free: 140 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00223/0.2011, allocations: 1.855 MB / 0.7205 GB, free: 14.23 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.469e-05/0.2012, allocations: 29.7 kB / 0.7205 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004569/0.2016, allocations: 477.8 kB / 0.7209 GB, free: 13.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-05/0.2017, allocations: 23.8 kB / 0.721 GB, free: 13.7 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003847/0.2021, allocations: 351.5 kB / 0.7213 GB, free: 13.36 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.2022, allocations: 305.1 kB / 0.7216 GB, free: 13.05 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.2038, allocations: 1.514 MB / 0.7231 GB, free: 11.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001616/0.2054, allocations: 1.65 MB / 0.7247 GB, free: 9.879 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007451/0.2129, allocations: 3.694 MB / 0.7283 GB, free: 6.094 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.2129, allocations: 0 / 0.7283 GB, free: 6.094 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005221/0.2181, allocations: 4.324 MB / 0.7325 GB, free: 1.734 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.2181, allocations: 7.938 kB / 0.7325 GB, free: 1.727 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.408e-05/0.2181, allocations: 7.938 kB / 0.7325 GB, free: 1.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2181, allocations: 8.016 kB / 0.7325 GB, free: 1.711 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000123/0.2183, allocations: 12 kB / 0.7326 GB, free: 1.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.2183, allocations: 4 kB / 0.7326 GB, free: 1.695 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006053/0.2189, allocations: 237.4 kB / 0.7328 GB, free: 1.461 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.53e-05/0.2189, allocations: 24.3 kB / 0.7328 GB, free: 1.438 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.0005088/0.2195, allocations: 373.4 kB / 0.7332 GB, free: 1.062 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000177/0.2196, allocations: 126.9 kB / 0.7333 GB, free: 0.9375 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.2209, allocations: 1.016 MB / 0.7343 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.2209, allocations: 0 / 0.7343 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2209, allocations: 0 / 0.7343 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.2209, allocations: 3.984 kB / 0.7343 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006835/0.2216, allocations: 0.6511 MB / 0.7349 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.787e-06/0.2216, allocations: 4 kB / 0.7349 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.786e-05/0.2217, allocations: 4 kB / 0.7349 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.858e-06/0.2217, allocations: 0 / 0.7349 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.755e-05/0.2217, allocations: 11.97 kB / 0.7349 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.2217, allocations: 4.031 kB / 0.7349 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2217, allocations: 0 / 0.7349 GB, free: 15.18 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001047/0.2227, allocations: 1.064 MB / 0.736 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001914/0.2229, allocations: 130.9 kB / 0.7361 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.223, allocations: 0 / 0.7361 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001948/0.2232, allocations: 4 kB / 0.7361 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.581e-05/0.2232, allocations: 11.98 kB / 0.7361 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.945e-05/0.2233, allocations: 11.98 kB / 0.7361 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001291/0.2246, allocations: 1.108 MB / 0.7372 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2246, allocations: 0 / 0.7372 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001049/0.2256, allocations: 435 kB / 0.7376 GB, free: 12.38 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.002631/0.2283, allocations: 1.999 MB / 0.7396 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.00217/0.2304, allocations: 2.099 MB / 0.7416 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/0.2304, allocations: 0 / 0.7416 GB, free: 8.238 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.2308, allocations: 335.8 kB / 0.7419 GB, free: 7.91 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003999/0.2312, allocations: 52.42 kB / 0.742 GB, free: 7.855 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5998/0.8309, allocations: 36.43 MB / 0.7776 GB, free: 34.85 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.8315, allocations: 0.5637 MB / 0.7781 GB, free: 34.45 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001704/0.8317, allocations: 33.52 kB / 0.7782 GB, free: 34.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000358/0.832, allocations: 432.2 kB / 0.7786 GB, free: 34.05 MB / 0.5606 GB Notification: Performance of SimCode: time 1.382e-06/0.832, allocations: 0 / 0.7786 GB, free: 34.05 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08993/0.922, allocations: 61.1 MB / 0.8382 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.72/13.64, allocations: 16.64 kB / 0.8382 GB, free: 8.098 MB / 0.5919 GB " [Timeout remaining time 646] (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: 17.245183766353875] Failed to read output from testmodel.py, exit status != 0: 13.768991538789123 13.796851265 13.609768461 Calling exit ...