Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.001852/0.001852, allocations: 106 kB / 16.45 MB, free: 6.508 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.002323/0.002323, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.918/1.918, allocations: 230.6 MB / 252.8 MB, free: 9.098 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.8076/0.8076, allocations: 133.9 MB / 442.8 MB, free: 11.34 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_SmallScaleValidation,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.003017/0.003017, allocations: 69.11 kB / 0.6135 GB, free: 8.715 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1789/0.1819, allocations: 85.85 MB / 0.6973 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003127/0.185, allocations: 1.759 MB / 0.699 GB, free: 1.172 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006341/0.1913, allocations: 4.254 MB / 0.7032 GB, free: 12.9 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.85e-05/0.1914, allocations: 7.938 kB / 0.7032 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001116/0.1925, allocations: 370.4 kB / 0.7036 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.1927, allocations: 55.67 kB / 0.7036 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002272/0.1949, allocations: 0.9857 MB / 0.7046 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.1952, allocations: 159.3 kB / 0.7047 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.407e-05/0.1952, allocations: 5.562 kB / 0.7047 GB, free: 11.33 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.386e-05/0.1953, allocations: 55.73 kB / 0.7048 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002265/0.1955, allocations: 159.5 kB / 0.7049 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.836e-05/0.1955, allocations: 16 kB / 0.705 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001995/0.1975, allocations: 1.431 MB / 0.7064 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002388/0.1978, allocations: 275.8 kB / 0.7066 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002763/0.1981, allocations: 310.1 kB / 0.7069 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001773/0.1998, allocations: 1.557 MB / 0.7084 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1998, allocations: 0 / 0.7084 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.1998, allocations: 0 / 0.7084 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.1998, allocations: 3.938 kB / 0.7084 GB, free: 7.523 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.009881/0.2097, allocations: 1.317 MB / 0.7097 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.43e-05/0.2098, allocations: 12.03 kB / 0.7097 GB, free: 6.141 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.286e-05/0.2098, allocations: 34.75 kB / 0.7098 GB, free: 6.098 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000365/0.2102, allocations: 108.1 kB / 0.7099 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000548/0.2107, allocations: 398.2 kB / 0.7102 GB, free: 5.555 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.592e-05/0.2108, allocations: 8.125 kB / 0.7103 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.299e-05/0.2108, allocations: 15.97 kB / 0.7103 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00046/0.2113, allocations: 387.1 kB / 0.7106 GB, free: 5.141 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.2113, allocations: 7.984 kB / 0.7106 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.231e-05/0.2113, allocations: 0 / 0.7106 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.379e-06/0.2113, allocations: 0 / 0.7106 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004651/0.2117, allocations: 435.7 kB / 0.7111 GB, free: 4.707 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006895/0.2124, allocations: 0.6618 MB / 0.7117 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00057/0.213, allocations: 0.5672 MB / 0.7123 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.2134, allocations: 337.6 kB / 0.7126 GB, free: 3.074 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001109/0.2145, allocations: 1.021 MB / 0.7136 GB, free: 1.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004477/0.2149, allocations: 404.8 kB / 0.714 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.152e-06/0.2149, allocations: 0 / 0.714 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.00146/0.2164, allocations: 1.305 MB / 0.7152 GB, free: 108 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.027e-05/0.2164, allocations: 81.23 kB / 0.7153 GB, free: 8 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.2178, allocations: 1.285 MB / 0.7166 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.989e-05/0.2179, allocations: 33.7 kB / 0.7166 GB, free: 14.67 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.2181, allocations: 293.8 kB / 0.7169 GB, free: 14.38 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.538e-05/0.2181, allocations: 19.83 kB / 0.7169 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003593/0.2185, allocations: 351.5 kB / 0.7172 GB, free: 14.01 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001496/0.2187, allocations: 322 kB / 0.7176 GB, free: 13.69 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.22, allocations: 1.361 MB / 0.7189 GB, free: 12.33 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001435/0.2214, allocations: 1.493 MB / 0.7203 GB, free: 10.82 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007116/0.2285, allocations: 3.545 MB / 0.7238 GB, free: 7.188 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.2285, allocations: 0 / 0.7238 GB, free: 7.188 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004445/0.233, allocations: 3.977 MB / 0.7277 GB, free: 3.176 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.112e-05/0.233, allocations: 8 kB / 0.7277 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.502e-05/0.233, allocations: 0 / 0.7277 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.511e-05/0.233, allocations: 0 / 0.7277 GB, free: 3.168 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001303/0.2332, allocations: 19.98 kB / 0.7277 GB, free: 3.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.572e-05/0.2332, allocations: 7.938 kB / 0.7277 GB, free: 3.141 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000502/0.2337, allocations: 237.3 kB / 0.7279 GB, free: 2.906 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.925e-05/0.2337, allocations: 24.02 kB / 0.728 GB, free: 2.883 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.0003817/0.2341, allocations: 257.5 kB / 0.7282 GB, free: 2.621 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.2342, allocations: 75.3 kB / 0.7283 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002676/0.2345, allocations: 79.72 kB / 0.7284 GB, free: 2.461 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.803e-06/0.2345, allocations: 7.938 kB / 0.7284 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2345, allocations: 0 / 0.7284 GB, free: 2.453 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2345, allocations: 4.031 kB / 0.7284 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004942/0.235, allocations: 0.5138 MB / 0.7289 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.235, allocations: 0 / 0.7289 GB, free: 1.891 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.992e-05/0.235, allocations: 7.984 kB / 0.7289 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.235, allocations: 0 / 0.7289 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/0.235, allocations: 4 kB / 0.7289 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.235, allocations: 0 / 0.7289 GB, free: 1.879 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.235, allocations: 3.938 kB / 0.7289 GB, free: 1.875 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.2361, allocations: 1.022 MB / 0.7299 GB, free: 0.832 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001302/0.2362, allocations: 164.4 kB / 0.73 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.2362, allocations: 0 / 0.73 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001473/0.2364, allocations: 7.984 kB / 0.7301 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-05/0.2364, allocations: 4 kB / 0.7301 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.771e-05/0.2365, allocations: 11.97 kB / 0.7301 GB, free: 0.6289 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009409/0.2374, allocations: 0.7218 MB / 0.7308 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.52e-07/0.2374, allocations: 0 / 0.7308 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001098/0.2385, allocations: 411 kB / 0.7312 GB, free: 15.5 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.002444/0.2409, allocations: 1.945 MB / 0.7331 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002068/0.243, allocations: 1.945 MB / 0.735 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.243, allocations: 0 / 0.735 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003501/0.2434, allocations: 339.7 kB / 0.7353 GB, free: 11.23 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003602/0.2437, allocations: 56.7 kB / 0.7353 GB, free: 11.18 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3221/0.5658, allocations: 15.02 MB / 0.75 GB, free: 46.73 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005196/0.5664, allocations: 0.9874 MB / 0.751 GB, free: 46.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001689/0.5665, allocations: 44.73 kB / 0.751 GB, free: 46.03 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00028/0.5668, allocations: 284.5 kB / 0.7513 GB, free: 46.02 MB / 0.5606 GB Notification: Performance of SimCode: time 1.072e-06/0.5668, allocations: 0 / 0.7513 GB, free: 46.02 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05284/0.6197, allocations: 20.03 MB / 0.7708 GB, free: 40.08 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.883/10.5, allocations: 5.203 kB / 0.7709 GB, free: 40.07 MB / 0.5606 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation_res.csv --start-time 0 --stop-time 1.8e+12 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 7.2e+08 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.561667811998632] Failed to read output from testmodel.py, exit status != 0: 10.585813124998822 10.600643992 10.398168783 Calling exit ...