Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.001256/0.001256, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001358/0.001358, allocations: 214.2 kB / 22.24 MB, free: 5.262 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.361/1.361, allocations: 230.6 MB / 256 MB, free: 7.816 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.8134/0.8134, allocations: 134 MB / 446.4 MB, free: 9.941 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_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.001944/0.001944, allocations: 69.86 kB / 0.6185 GB, free: 6.863 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1709, allocations: 85.91 MB / 0.7024 GB, free: 1.039 MB / 0.5138 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003193/0.1741, allocations: 1.399 MB / 0.7038 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004851/0.179, allocations: 2.767 MB / 0.7065 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.529e-05/0.179, allocations: 0 / 0.7065 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001147/0.1791, allocations: 15.86 kB / 0.7065 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002476/0.1794, allocations: 31.84 kB / 0.7066 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002706/0.1821, allocations: 1.025 MB / 0.7076 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001434/0.1822, allocations: 83.73 kB / 0.7076 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.222e-05/0.1823, allocations: 4 kB / 0.7076 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.871e-05/0.1824, allocations: 51.78 kB / 0.7077 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002355/0.1826, allocations: 147.6 kB / 0.7078 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.1826, allocations: 12 kB / 0.7078 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002394/0.185, allocations: 1.415 MB / 0.7092 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002303/0.1853, allocations: 267.8 kB / 0.7095 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002099/0.1855, allocations: 214.9 kB / 0.7097 GB, free: 9.594 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002314/0.1878, allocations: 1.503 MB / 0.7112 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1878, allocations: 0 / 0.7112 GB, free: 8.086 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.703e-06/0.1878, allocations: 4 kB / 0.7112 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.1878, allocations: 0 / 0.7112 GB, free: 8.082 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.009664/0.1975, allocations: 1.174 MB / 0.7123 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.82e-05/0.1975, allocations: 12.02 kB / 0.7123 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.015e-05/0.1976, allocations: 34.75 kB / 0.7124 GB, free: 6.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004011/0.198, allocations: 88.25 kB / 0.7124 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004898/0.1985, allocations: 303.1 kB / 0.7127 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.675e-05/0.1985, allocations: 8.125 kB / 0.7127 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.84e-05/0.1985, allocations: 12 kB / 0.7127 GB, free: 6.383 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004887/0.199, allocations: 399.1 kB / 0.7131 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.199, allocations: 0 / 0.7131 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.205e-05/0.199, allocations: 3.938 kB / 0.7131 GB, free: 5.977 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.199, allocations: 4 kB / 0.7131 GB, free: 5.973 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004872/0.1995, allocations: 431.7 kB / 0.7135 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006543/0.2002, allocations: 0.5854 MB / 0.7141 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006002/0.2008, allocations: 0.5632 MB / 0.7147 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003598/0.2011, allocations: 333.7 kB / 0.715 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000705/0.2019, allocations: 131.9 kB / 0.7151 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004454/0.2023, allocations: 400.8 kB / 0.7155 GB, free: 3.469 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.513e-06/0.2023, allocations: 4 kB / 0.7155 GB, free: 3.465 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001504/0.2038, allocations: 1.297 MB / 0.7168 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.697e-05/0.2039, allocations: 81.11 kB / 0.7168 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001309/0.2052, allocations: 1.21 MB / 0.718 GB, free: 0.8359 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.116e-05/0.2052, allocations: 29.7 kB / 0.718 GB, free: 0.8008 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000227/0.2054, allocations: 261.9 kB / 0.7183 GB, free: 0.5391 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.439e-05/0.2055, allocations: 23.84 kB / 0.7183 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.2059, allocations: 351.7 kB / 0.7187 GB, free: 172 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001499/0.206, allocations: 310 kB / 0.719 GB, free: 15.86 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001364/0.2074, allocations: 1.361 MB / 0.7203 GB, free: 14.5 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001521/0.2089, allocations: 1.492 MB / 0.7217 GB, free: 13 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007173/0.2161, allocations: 3.549 MB / 0.7252 GB, free: 9.355 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.074e-06/0.2161, allocations: 0 / 0.7252 GB, free: 9.355 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004739/0.2208, allocations: 3.969 MB / 0.7291 GB, free: 5.352 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/0.2208, allocations: 4 kB / 0.7291 GB, free: 5.348 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.758e-05/0.2209, allocations: 4 kB / 0.7291 GB, free: 5.344 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.2209, allocations: 7.875 kB / 0.7291 GB, free: 5.336 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001482/0.221, allocations: 15.98 kB / 0.7291 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.125e-06/0.221, allocations: 0 / 0.7291 GB, free: 5.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005607/0.2216, allocations: 241.4 kB / 0.7293 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.942e-05/0.2217, allocations: 24.02 kB / 0.7294 GB, free: 5.059 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.0003256/0.222, allocations: 241.6 kB / 0.7296 GB, free: 4.812 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.844e-05/0.2221, allocations: 71.33 kB / 0.7297 GB, free: 4.742 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001116/0.2232, allocations: 0.9359 MB / 0.7306 GB, free: 3.793 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/0.2232, allocations: 7.938 kB / 0.7306 GB, free: 3.785 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.305e-06/0.2232, allocations: 3.984 kB / 0.7306 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.2232, allocations: 0 / 0.7306 GB, free: 3.781 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005386/0.2237, allocations: 483.7 kB / 0.731 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.2237, allocations: 0 / 0.731 GB, free: 3.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.2238, allocations: 4 kB / 0.7311 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2238, allocations: 0 / 0.7311 GB, free: 3.266 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.495e-05/0.2238, allocations: 7.984 kB / 0.7311 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.2238, allocations: 0 / 0.7311 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/0.2238, allocations: 0 / 0.7311 GB, free: 3.258 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00101/0.2248, allocations: 1.006 MB / 0.732 GB, free: 2.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.015e-05/0.2249, allocations: 87.33 kB / 0.7321 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.264e-05/0.225, allocations: 0 / 0.7321 GB, free: 2.145 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001285/0.2251, allocations: 4 kB / 0.7321 GB, free: 2.141 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.841e-05/0.2251, allocations: 11.92 kB / 0.7321 GB, free: 2.129 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.883e-05/0.2252, allocations: 11.98 kB / 0.7322 GB, free: 2.117 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007626/0.2259, allocations: 0.6687 MB / 0.7328 GB, free: 1.441 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2259, allocations: 0 / 0.7328 GB, free: 1.441 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001072/0.227, allocations: 403 kB / 0.7332 GB, free: 1.047 MB / 0.545 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.00252/0.2295, allocations: 1.923 MB / 0.7351 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002111/0.2316, allocations: 1.957 MB / 0.737 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.2316, allocations: 0 / 0.737 GB, free: 13.12 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003576/0.232, allocations: 331.8 kB / 0.7373 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003027/0.2323, allocations: 32.64 kB / 0.7373 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3265/0.5588, allocations: 15.05 MB / 0.752 GB, free: 45.72 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003488/0.5592, allocations: 372.7 kB / 0.7524 GB, free: 45.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001927/0.5594, allocations: 42.83 kB / 0.7524 GB, free: 45.62 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002466/0.5596, allocations: 260.9 kB / 0.7527 GB, free: 45.61 MB / 0.5606 GB Notification: Performance of SimCode: time 1.443e-06/0.5596, allocations: 1.188 kB / 0.7527 GB, free: 45.61 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05805/0.6177, allocations: 20.79 MB / 0.773 GB, free: 39.29 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.21/12.83, allocations: 5.469 kB / 0.773 GB, free: 39.29 MB / 0.5606 GB " [Timeout remaining time 647] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.129821561742574] Failed to read output from testmodel.py, exit status != 0: 12.951142895035446 12.963210218 12.773150211 Calling exit ...