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.001248/0.001248, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.001443/0.001443, allocations: 215.2 kB / 22.25 MB, free: 5.082 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.393/1.393, allocations: 230.6 MB / 256 MB, free: 8.031 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.8263/0.8263, allocations: 134 MB / 446.4 MB, free: 10.28 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.001892/0.001892, allocations: 66.5 kB / 0.6186 GB, free: 7.223 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1787/0.1806, allocations: 85.91 MB / 0.7025 GB, free: 1.395 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003034/0.1837, allocations: 1.772 MB / 0.7042 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006352/0.19, allocations: 4.289 MB / 0.7084 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001177/0.1901, allocations: 0 / 0.7084 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00129/0.1914, allocations: 374.4 kB / 0.7088 GB, free: 10.94 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001455/0.1916, allocations: 63.66 kB / 0.7088 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00285/0.1944, allocations: 1.021 MB / 0.7098 GB, free: 9.855 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000308/0.1947, allocations: 151.4 kB / 0.71 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.632e-05/0.1948, allocations: 9.688 kB / 0.71 GB, free: 9.699 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.1949, allocations: 59.77 kB / 0.71 GB, free: 9.641 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002495/0.1951, allocations: 159.5 kB / 0.7102 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.233e-05/0.1952, allocations: 20 kB / 0.7102 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002413/0.1976, allocations: 1.552 MB / 0.7117 GB, free: 7.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002389/0.1978, allocations: 275.8 kB / 0.712 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002901/0.1981, allocations: 302.1 kB / 0.7123 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002313/0.2004, allocations: 1.573 MB / 0.7138 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.2004, allocations: 0 / 0.7138 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2004, allocations: 0 / 0.7138 GB, free: 5.762 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.2004, allocations: 0 / 0.7138 GB, free: 5.762 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.008762/0.2092, allocations: 1.246 MB / 0.715 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.425e-05/0.2093, allocations: 8.031 kB / 0.715 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.415e-05/0.2093, allocations: 42.69 kB / 0.7151 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003895/0.2097, allocations: 100.1 kB / 0.7152 GB, free: 4.324 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006503/0.2103, allocations: 352.2 kB / 0.7155 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.687e-05/0.2104, allocations: 8.125 kB / 0.7155 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.499e-05/0.2104, allocations: 4 kB / 0.7155 GB, free: 3.934 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004855/0.2109, allocations: 387.2 kB / 0.7159 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2109, allocations: 0 / 0.7159 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.656e-05/0.2109, allocations: 7.984 kB / 0.7159 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.2109, allocations: 0 / 0.7159 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004658/0.2114, allocations: 435.7 kB / 0.7163 GB, free: 3.109 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000639/0.212, allocations: 0.6414 MB / 0.7169 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005442/0.2126, allocations: 0.5671 MB / 0.7175 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003232/0.2129, allocations: 333.7 kB / 0.7178 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006042/0.2135, allocations: 139.9 kB / 0.718 GB, free: 1.371 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004271/0.2139, allocations: 396.9 kB / 0.7183 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.2139, allocations: 0 / 0.7183 GB, free: 0.9648 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001418/0.2153, allocations: 1.309 MB / 0.7196 GB, free: 15.65 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.925e-05/0.2154, allocations: 77.11 kB / 0.7197 GB, free: 15.55 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001324/0.2167, allocations: 1.285 MB / 0.7209 GB, free: 14.26 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.712e-05/0.2168, allocations: 33.7 kB / 0.721 GB, free: 14.22 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002234/0.217, allocations: 293.8 kB / 0.7213 GB, free: 13.93 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.623e-05/0.217, allocations: 19.84 kB / 0.7213 GB, free: 13.91 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003303/0.2173, allocations: 351.7 kB / 0.7216 GB, free: 13.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.2175, allocations: 318 kB / 0.7219 GB, free: 13.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/0.2188, allocations: 1.361 MB / 0.7232 GB, free: 11.88 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001386/0.2202, allocations: 1.489 MB / 0.7247 GB, free: 10.38 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007034/0.2272, allocations: 3.545 MB / 0.7282 GB, free: 6.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.363e-06/0.2272, allocations: 4 kB / 0.7282 GB, free: 6.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004466/0.2317, allocations: 3.977 MB / 0.732 GB, free: 2.727 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.964e-05/0.2317, allocations: 8 kB / 0.7321 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.77e-05/0.2317, allocations: 0 / 0.7321 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.975e-05/0.2317, allocations: 0 / 0.7321 GB, free: 2.719 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000139/0.2319, allocations: 20.02 kB / 0.7321 GB, free: 2.699 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/0.2319, allocations: 11.88 kB / 0.7321 GB, free: 2.688 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.2324, allocations: 241.3 kB / 0.7323 GB, free: 2.449 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-05/0.2324, allocations: 27.97 kB / 0.7323 GB, free: 2.422 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.000322/0.2328, allocations: 245.6 kB / 0.7326 GB, free: 2.172 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.055e-05/0.2328, allocations: 75.3 kB / 0.7326 GB, free: 2.098 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001031/0.2339, allocations: 0.9484 MB / 0.7336 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.236e-06/0.2339, allocations: 0 / 0.7336 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.2339, allocations: 0 / 0.7336 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2339, allocations: 0 / 0.7336 GB, free: 1.141 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004886/0.2344, allocations: 0.4895 MB / 0.734 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.2344, allocations: 0 / 0.734 GB, free: 0.6133 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.303e-05/0.2344, allocations: 11.98 kB / 0.7341 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.2344, allocations: 0 / 0.7341 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.087e-05/0.2344, allocations: 0 / 0.7341 GB, free: 0.6016 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.847e-06/0.2344, allocations: 8.031 kB / 0.7341 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.432e-06/0.2344, allocations: 0 / 0.7341 GB, free: 0.5938 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009929/0.2354, allocations: 1.018 MB / 0.7351 GB, free: 15.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2355, allocations: 83.3 kB / 0.7351 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.202e-05/0.2356, allocations: 4 kB / 0.7351 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.2357, allocations: 7.984 kB / 0.7352 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.563e-05/0.2358, allocations: 11.98 kB / 0.7352 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.242e-05/0.2358, allocations: 11.98 kB / 0.7352 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008052/0.2366, allocations: 0.714 MB / 0.7359 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2366, allocations: 0 / 0.7359 GB, free: 14.72 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001121/0.2377, allocations: 411 kB / 0.7363 GB, free: 14.32 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.002475/0.2402, allocations: 1.941 MB / 0.7382 GB, free: 12.34 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002033/0.2423, allocations: 1.945 MB / 0.7401 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.2423, allocations: 3.938 kB / 0.7401 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003472/0.2426, allocations: 343.7 kB / 0.7404 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004084/0.243, allocations: 66.41 kB / 0.7405 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3466/0.5896, allocations: 15.03 MB / 0.7551 GB, free: 45.36 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005794/0.5902, allocations: 0.9868 MB / 0.7561 GB, free: 44.66 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001723/0.5903, allocations: 39.03 kB / 0.7561 GB, free: 44.66 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003048/0.5907, allocations: 289.7 kB / 0.7564 GB, free: 44.42 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/0.5907, allocations: 4.594 kB / 0.7564 GB, free: 44.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05718/0.6478, allocations: 20.1 MB / 0.776 GB, free: 38.37 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.04/13.69, allocations: 5.359 kB / 0.7761 GB, free: 38.36 MB / 0.5606 GB " [Timeout remaining time 646] (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.773683908999374] Failed to read output from testmodel.py, exit status != 0: 13.806167301998357 13.827420821 13.623177175 Calling exit ...