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.001351/0.001351, allocations: 108.9 kB / 16.46 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.001372/0.001372, allocations: 216.2 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.412/1.412, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.8216/0.8216, allocations: 133.9 MB / 442.8 MB, free: 11.27 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.001818/0.001818, allocations: 69.72 kB / 0.6135 GB, free: 8.715 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1989, allocations: 85.84 MB / 0.6973 GB, free: 2.953 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002918/0.2018, allocations: 1.435 MB / 0.6987 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005351/0.2072, allocations: 3.059 MB / 0.7017 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.515e-05/0.2072, allocations: 3.938 kB / 0.7017 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001268/0.2074, allocations: 15.92 kB / 0.7017 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002483/0.2076, allocations: 31.78 kB / 0.7018 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002437/0.21, allocations: 0.9939 MB / 0.7027 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001618/0.2102, allocations: 83.67 kB / 0.7028 GB, free: 13.31 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.141e-05/0.2103, allocations: 4 kB / 0.7028 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.747e-05/0.2103, allocations: 43.89 kB / 0.7029 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002485/0.2106, allocations: 165.6 kB / 0.703 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.81e-05/0.2106, allocations: 12 kB / 0.703 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002157/0.2128, allocations: 1.431 MB / 0.7044 GB, free: 11.65 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007851/0.2135, allocations: 0.6991 MB / 0.7051 GB, free: 10.95 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004085/0.214, allocations: 441 kB / 0.7055 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002151/0.2161, allocations: 1.802 MB / 0.7073 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.2161, allocations: 0 / 0.7073 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2161, allocations: 4 kB / 0.7073 GB, free: 8.703 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.2161, allocations: 0 / 0.7073 GB, free: 8.703 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.01036/0.2265, allocations: 1.754 MB / 0.709 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.214e-05/0.2265, allocations: 13.11 kB / 0.709 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.909e-05/0.2266, allocations: 34.69 kB / 0.709 GB, free: 6.832 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004201/0.227, allocations: 151.8 kB / 0.7092 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006378/0.2276, allocations: 0.5297 MB / 0.7097 GB, free: 6.086 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.546e-05/0.2277, allocations: 12.11 kB / 0.7097 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.549e-05/0.2277, allocations: 7.984 kB / 0.7097 GB, free: 6.066 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004969/0.2282, allocations: 391.2 kB / 0.7101 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2282, allocations: 0 / 0.7101 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.2282, allocations: 0 / 0.7101 GB, free: 5.672 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.2282, allocations: 4 kB / 0.7101 GB, free: 5.668 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004891/0.2287, allocations: 435.7 kB / 0.7105 GB, free: 5.242 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009288/0.2296, allocations: 0.8156 MB / 0.7113 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005963/0.2302, allocations: 0.5593 MB / 0.7119 GB, free: 3.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003423/0.2306, allocations: 333.7 kB / 0.7122 GB, free: 3.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.2319, allocations: 1.028 MB / 0.7132 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004549/0.2323, allocations: 404.9 kB / 0.7136 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.2323, allocations: 0 / 0.7136 GB, free: 1.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001557/0.2339, allocations: 1.344 MB / 0.7149 GB, free: 448 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/0.2339, allocations: 85.11 kB / 0.715 GB, free: 344 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002037/0.236, allocations: 1.855 MB / 0.7168 GB, free: 14.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.997e-05/0.236, allocations: 29.7 kB / 0.7168 GB, free: 14.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004305/0.2365, allocations: 485.7 kB / 0.7173 GB, free: 13.92 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.326e-05/0.2365, allocations: 23.8 kB / 0.7173 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003862/0.2369, allocations: 351.5 kB / 0.7176 GB, free: 13.55 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001443/0.237, allocations: 301.1 kB / 0.7179 GB, free: 13.25 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.2385, allocations: 1.514 MB / 0.7194 GB, free: 11.73 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001658/0.2402, allocations: 1.653 MB / 0.721 GB, free: 10.07 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007745/0.2479, allocations: 3.69 MB / 0.7246 GB, free: 6.289 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.088e-06/0.248, allocations: 0 / 0.7246 GB, free: 6.289 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005029/0.253, allocations: 4.332 MB / 0.7288 GB, free: 1.922 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.322e-05/0.253, allocations: 4 kB / 0.7288 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.253, allocations: 0 / 0.7288 GB, free: 1.918 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.785e-05/0.253, allocations: 4 kB / 0.7288 GB, free: 1.914 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001389/0.2532, allocations: 19.92 kB / 0.7289 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.2532, allocations: 0 / 0.7289 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005848/0.2538, allocations: 229.4 kB / 0.7291 GB, free: 1.668 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.34e-05/0.2538, allocations: 31.97 kB / 0.7291 GB, free: 1.637 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.0005315/0.2544, allocations: 373.5 kB / 0.7295 GB, free: 1.262 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001151/0.2545, allocations: 126.9 kB / 0.7296 GB, free: 1.137 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003492/0.2548, allocations: 149 kB / 0.7297 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.578e-06/0.2548, allocations: 0 / 0.7297 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.2549, allocations: 4 kB / 0.7297 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.2549, allocations: 0 / 0.7297 GB, free: 0.9805 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007351/0.2556, allocations: 0.6794 MB / 0.7304 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.2556, allocations: 0 / 0.7304 GB, free: 248 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.785e-05/0.2557, allocations: 12.02 kB / 0.7304 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.704e-06/0.2557, allocations: 0 / 0.7304 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.63e-05/0.2557, allocations: 4 kB / 0.7304 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.2557, allocations: 0 / 0.7304 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2557, allocations: 0 / 0.7304 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001135/0.2568, allocations: 1.075 MB / 0.7315 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001958/0.257, allocations: 204 kB / 0.7317 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.924e-05/0.2571, allocations: 0 / 0.7317 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000189/0.2573, allocations: 11.92 kB / 0.7317 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.2573, allocations: 4 kB / 0.7317 GB, free: 14.89 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.9e-05/0.2574, allocations: 11.97 kB / 0.7317 GB, free: 14.88 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001396/0.2588, allocations: 1.108 MB / 0.7328 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2588, allocations: 0 / 0.7328 GB, free: 13.75 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001322/0.2601, allocations: 443 kB / 0.7332 GB, free: 13.31 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.002602/0.2627, allocations: 2.002 MB / 0.7351 GB, free: 11.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002284/0.265, allocations: 2.097 MB / 0.7372 GB, free: 9.168 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.265, allocations: 4.062 kB / 0.7372 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000363/0.2653, allocations: 331.8 kB / 0.7375 GB, free: 8.84 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003879/0.2657, allocations: 58.53 kB / 0.7376 GB, free: 8.777 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6875/0.9532, allocations: 36.41 MB / 0.7731 GB, free: 36.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007047/0.9539, allocations: 1.156 MB / 0.7743 GB, free: 35.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001764/0.9541, allocations: 31.11 kB / 0.7743 GB, free: 35.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004271/0.9545, allocations: 433.8 kB / 0.7747 GB, free: 35.23 MB / 0.5606 GB Notification: Performance of SimCode: time 1.313e-06/0.9545, allocations: 0 / 0.7747 GB, free: 35.23 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09378/1.048, allocations: 60.14 MB / 0.8334 GB, free: 10.26 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.87/11.92, allocations: 9.734 kB / 0.8334 GB, free: 10.26 MB / 0.5919 GB " [Timeout remaining time 648] (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: 15.622003808006411] Failed to read output from testmodel.py, exit status != 0: 12.009870028006844 12.032547314 11.81221352 Calling exit ...