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.001726/0.001726, 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.001558/0.001558, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.401/1.401, allocations: 230.6 MB / 256 MB, free: 7.805 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.8174/0.8174, allocations: 134 MB / 446.4 MB, free: 9.984 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.001943/0.001943, allocations: 66.91 kB / 0.6185 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1889/0.1908, allocations: 85.9 MB / 0.7024 GB, free: 1.059 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.00368/0.1945, allocations: 1.702 MB / 0.7041 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.007315/0.2018, allocations: 3.818 MB / 0.7078 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001312/0.202, allocations: 4 kB / 0.7078 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001413/0.2034, allocations: 322.5 kB / 0.7081 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001829/0.2035, allocations: 67.66 kB / 0.7082 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002974/0.2065, allocations: 1.018 MB / 0.7092 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002644/0.2068, allocations: 139.4 kB / 0.7093 GB, free: 9.969 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.281e-05/0.2068, allocations: 17.72 kB / 0.7093 GB, free: 9.953 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.644e-05/0.2069, allocations: 55.73 kB / 0.7094 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002554/0.2072, allocations: 163.4 kB / 0.7096 GB, free: 9.738 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.474e-05/0.2072, allocations: 16 kB / 0.7096 GB, free: 9.723 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.2096, allocations: 1.415 MB / 0.711 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002442/0.2099, allocations: 275.8 kB / 0.7112 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002416/0.2101, allocations: 238.8 kB / 0.7114 GB, free: 7.797 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002053/0.2121, allocations: 1.569 MB / 0.713 GB, free: 6.223 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.2122, allocations: 4 kB / 0.713 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2122, allocations: 0 / 0.713 GB, free: 6.219 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.286e-06/0.2122, allocations: 0 / 0.713 GB, free: 6.219 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.009156/0.2213, allocations: 1.242 MB / 0.7142 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.242e-05/0.2214, allocations: 8.031 kB / 0.7142 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.123e-05/0.2214, allocations: 38.75 kB / 0.7142 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000361/0.2218, allocations: 100.2 kB / 0.7143 GB, free: 4.789 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006063/0.2224, allocations: 356.2 kB / 0.7147 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.708e-05/0.2224, allocations: 8.125 kB / 0.7147 GB, free: 4.398 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.25e-05/0.2224, allocations: 11.98 kB / 0.7147 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.223, allocations: 383.2 kB / 0.7151 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.658e-05/0.2231, allocations: 0 / 0.7151 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.735e-05/0.2231, allocations: 0 / 0.7151 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.08e-05/0.2231, allocations: 0 / 0.7151 GB, free: 4 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004952/0.2236, allocations: 439.7 kB / 0.7155 GB, free: 3.57 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006439/0.2242, allocations: 0.6219 MB / 0.7161 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.2248, allocations: 0.5555 MB / 0.7166 GB, free: 2.332 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.2252, allocations: 337.7 kB / 0.7169 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006644/0.2258, allocations: 139.9 kB / 0.7171 GB, free: 1.859 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004555/0.2263, allocations: 396.9 kB / 0.7175 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.112e-06/0.2263, allocations: 4 kB / 0.7175 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001495/0.2278, allocations: 1.293 MB / 0.7187 GB, free: 152 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.299e-05/0.2279, allocations: 89.09 kB / 0.7188 GB, free: 44 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001522/0.2294, allocations: 1.285 MB / 0.7201 GB, free: 14.75 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.826e-05/0.2294, allocations: 29.7 kB / 0.7201 GB, free: 14.71 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002404/0.2297, allocations: 294 kB / 0.7204 GB, free: 14.42 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.2297, allocations: 19.89 kB / 0.7204 GB, free: 14.4 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003959/0.2301, allocations: 347.6 kB / 0.7207 GB, free: 14.05 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.2303, allocations: 317.9 kB / 0.721 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/0.2319, allocations: 1.365 MB / 0.7224 GB, free: 12.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001588/0.2334, allocations: 1.489 MB / 0.7238 GB, free: 10.87 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007627/0.2411, allocations: 3.545 MB / 0.7273 GB, free: 7.234 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.2411, allocations: 7.938 kB / 0.7273 GB, free: 7.227 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004932/0.246, allocations: 3.977 MB / 0.7312 GB, free: 3.215 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.246, allocations: 10.5 kB / 0.7312 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.2461, allocations: 0 / 0.7312 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2461, allocations: 3.938 kB / 0.7312 GB, free: 3.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.2462, allocations: 15.98 kB / 0.7312 GB, free: 3.188 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.168e-06/0.2462, allocations: 4 kB / 0.7312 GB, free: 3.184 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007407/0.247, allocations: 245.4 kB / 0.7314 GB, free: 2.941 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.438e-05/0.247, allocations: 31.91 kB / 0.7315 GB, free: 2.91 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.0003564/0.2474, allocations: 247.6 kB / 0.7317 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.243e-05/0.2475, allocations: 79.28 kB / 0.7318 GB, free: 2.582 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001182/0.2486, allocations: 0.9448 MB / 0.7327 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.2487, allocations: 0 / 0.7327 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.2487, allocations: 4.031 kB / 0.7327 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.2487, allocations: 0 / 0.7327 GB, free: 1.625 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005274/0.2492, allocations: 497.2 kB / 0.7332 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.2492, allocations: 0 / 0.7332 GB, free: 1.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.899e-05/0.2493, allocations: 4 kB / 0.7332 GB, free: 1.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.2493, allocations: 4 kB / 0.7332 GB, free: 1.094 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/0.2493, allocations: 3.984 kB / 0.7332 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.2493, allocations: 0 / 0.7332 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/0.2493, allocations: 4 kB / 0.7332 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.2504, allocations: 1.026 MB / 0.7342 GB, free: 40 kB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001468/0.2506, allocations: 83.48 kB / 0.7343 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.464e-05/0.2507, allocations: 4 kB / 0.7343 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001426/0.2508, allocations: 3.984 kB / 0.7343 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.873e-05/0.2508, allocations: 8 kB / 0.7343 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.084e-05/0.2509, allocations: 15.97 kB / 0.7343 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009426/0.2518, allocations: 0.714 MB / 0.735 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2518, allocations: 0 / 0.735 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001523/0.2534, allocations: 411 kB / 0.7354 GB, free: 14.8 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.002788/0.2561, allocations: 1.939 MB / 0.7373 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.2583, allocations: 1.945 MB / 0.7392 GB, free: 10.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.2583, allocations: 4 kB / 0.7392 GB, free: 10.87 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003803/0.2587, allocations: 331.8 kB / 0.7395 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005812/0.2593, allocations: 62.83 kB / 0.7396 GB, free: 10.49 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3577/0.617, allocations: 15.03 MB / 0.7542 GB, free: 45.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004106/0.6174, allocations: 395.5 kB / 0.7546 GB, free: 45.39 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001586/0.6176, allocations: 42.73 kB / 0.7547 GB, free: 45.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003711/0.6179, allocations: 283.6 kB / 0.7549 GB, free: 45.29 MB / 0.5606 GB Notification: Performance of SimCode: time 1.392e-06/0.6179, allocations: 0 / 0.7549 GB, free: 45.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07014/0.6881, allocations: 21.17 MB / 0.7756 GB, free: 38.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.45/13.14, allocations: 1.375 kB / 0.7756 GB, free: 38.52 MB / 0.5606 GB " [Timeout remaining time 647] (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 sys.exit(0), Time elapsed: 17.218294769059867] Failed to read output from testmodel.py, exit status != 0: 13.26070532668382 13.273039613 13.058519046 Calling exit ...