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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004859/0.004859, allocations: 95.44 kB / 15.73 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 199.5 kB / 16.68 MB, free: 5.973 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 4.176 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8377/0.8377, allocations: 132.2 MB / 422.7 MB, free: 1.613 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.5 kB / 0.5809 GB, free: 1.113 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1856/0.1876, allocations: 80.21 MB / 0.6593 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002865/0.1905, allocations: 1.393 MB / 0.6606 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.005324/0.1959, allocations: 3.031 MB / 0.6636 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.043e-05/0.196, allocations: 0 / 0.6636 GB, free: 9.52 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.000131/0.1962, allocations: 15.8 kB / 0.6636 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.1964, allocations: 31.84 kB / 0.6636 GB, free: 9.473 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002931/0.1994, allocations: 0.9878 MB / 0.6646 GB, free: 8.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001533/0.1995, allocations: 79.73 kB / 0.6647 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.796e-05/0.1996, allocations: 7.984 kB / 0.6647 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.283e-05/0.1997, allocations: 47.84 kB / 0.6647 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002691/0.1999, allocations: 157.5 kB / 0.6649 GB, free: 8.191 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.015e-05/0.2, allocations: 16 kB / 0.6649 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002391/0.2024, allocations: 1.377 MB / 0.6662 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0007416/0.2032, allocations: 0.6836 MB / 0.6669 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004178/0.2036, allocations: 445 kB / 0.6673 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002935/0.2065, allocations: 1.801 MB / 0.6691 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.2066, allocations: 0 / 0.6691 GB, free: 3.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2066, allocations: 4 kB / 0.6691 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.579e-05/0.2066, allocations: 0 / 0.6691 GB, free: 3.859 MB / 0.4981 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.01191/0.2185, allocations: 1.746 MB / 0.6708 GB, free: 2.051 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.293e-05/0.2186, allocations: 12.03 kB / 0.6708 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.798e-05/0.2186, allocations: 34.73 kB / 0.6708 GB, free: 1.996 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004392/0.2191, allocations: 143.9 kB / 0.671 GB, free: 1.855 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007742/0.2199, allocations: 0.5374 MB / 0.6715 GB, free: 1.25 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.337e-05/0.2199, allocations: 8.125 kB / 0.6715 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.946e-05/0.22, allocations: 11.98 kB / 0.6715 GB, free: 1.23 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000496/0.2205, allocations: 391.2 kB / 0.6719 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.2205, allocations: 0 / 0.6719 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/0.2205, allocations: 0 / 0.6719 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.2205, allocations: 0 / 0.6719 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004871/0.221, allocations: 439.7 kB / 0.6723 GB, free: 416 kB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009232/0.2219, allocations: 0.8118 MB / 0.6731 GB, free: 15.53 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006748/0.2226, allocations: 0.5671 MB / 0.6737 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.2231, allocations: 333.7 kB / 0.674 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.2244, allocations: 1.032 MB / 0.675 GB, free: 13.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004857/0.2249, allocations: 396.9 kB / 0.6754 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=8): time 3.727e-06/0.2249, allocations: 3.984 kB / 0.6754 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of matching and sorting (n=8): time 0.00179/0.2267, allocations: 1.355 MB / 0.6767 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.13e-05/0.2268, allocations: 89.09 kB / 0.6768 GB, free: 11.48 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002443/0.2293, allocations: 1.843 MB / 0.6786 GB, free: 9.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 6.586e-05/0.2294, allocations: 33.64 kB / 0.6786 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004322/0.2298, allocations: 485.8 kB / 0.6791 GB, free: 9.07 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 4.152e-05/0.2298, allocations: 19.89 kB / 0.6791 GB, free: 9.051 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004084/0.2303, allocations: 343.5 kB / 0.6794 GB, free: 8.711 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.2305, allocations: 309.2 kB / 0.6797 GB, free: 8.406 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001843/0.2323, allocations: 1.514 MB / 0.6812 GB, free: 6.891 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00169/0.234, allocations: 1.646 MB / 0.6828 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007919/0.242, allocations: 3.69 MB / 0.6864 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.985e-06/0.242, allocations: 0 / 0.6864 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00556/0.2476, allocations: 4.332 MB / 0.6906 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.849e-05/0.2476, allocations: 8 kB / 0.6906 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.2477, allocations: 0 / 0.6906 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.2477, allocations: 0 / 0.6906 GB, free: 13.08 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001447/0.2478, allocations: 19.98 kB / 0.6907 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.2478, allocations: 4 kB / 0.6907 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006966/0.2485, allocations: 237.4 kB / 0.6909 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.047e-05/0.2486, allocations: 23.98 kB / 0.6909 GB, free: 12.8 MB / 0.5294 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.0005946/0.2492, allocations: 373.5 kB / 0.6913 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/0.2494, allocations: 126.9 kB / 0.6914 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004427/0.2498, allocations: 149.1 kB / 0.6915 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.059e-05/0.2499, allocations: 4.031 kB / 0.6915 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.019e-05/0.25, allocations: 0 / 0.6915 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.158e-05/0.25, allocations: 7.984 kB / 0.6915 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007863/0.2508, allocations: 0.6716 MB / 0.6922 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.036e-06/0.2508, allocations: 4 kB / 0.6922 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.862e-05/0.2509, allocations: 7.938 kB / 0.6922 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.2509, allocations: 3.938 kB / 0.6922 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.854e-05/0.251, allocations: 7.984 kB / 0.6922 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.251, allocations: 0 / 0.6922 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.251, allocations: 0 / 0.6922 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001218/0.2522, allocations: 1.071 MB / 0.6933 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002247/0.2525, allocations: 208 kB / 0.6935 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.883e-05/0.2525, allocations: 4 kB / 0.6935 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001872/0.2527, allocations: 8 kB / 0.6935 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000108/0.2529, allocations: 7.984 kB / 0.6935 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001737/0.2531, allocations: 11.98 kB / 0.6935 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00154/0.2546, allocations: 1.116 MB / 0.6946 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2546, allocations: 0 / 0.6946 GB, free: 8.891 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001272/0.2559, allocations: 431.1 kB / 0.695 GB, free: 8.469 MB / 0.5294 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.00331/0.2593, allocations: 1.99 MB / 0.6969 GB, free: 6.441 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003043/0.2624, allocations: 2.652 MB / 0.6995 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.2624, allocations: 0 / 0.6995 GB, free: 3.781 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003813/0.2628, allocations: 347.7 kB / 0.6999 GB, free: 3.441 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004745/0.2633, allocations: 49.05 kB / 0.6999 GB, free: 3.391 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2816/0.5449, allocations: 36.41 MB / 0.7355 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.5461, allocations: 1.157 MB / 0.7366 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002173/0.5463, allocations: 28.56 kB / 0.7366 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005845/0.5469, allocations: 439.2 kB / 0.737 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of SimCode: time 9.02e-07/0.547, allocations: 4 kB / 0.737 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1048/0.6518, allocations: 59.97 MB / 0.7956 GB, free: 1.273 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.66/12.31, allocations: 5.688 kB / 0.7956 GB, free: 1.273 MB / 0.6231 GB (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)