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.001293/0.001293, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.001373/0.001373, allocations: 219.6 kB / 23.04 MB, free: 5.074 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.415/1.415, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.8274/0.8274, allocations: 134 MB / 447.2 MB, free: 10.24 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="cs",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="cs",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.001804/0.001804, allocations: 57.48 kB / 0.6194 GB, free: 7.207 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.168/0.1698, allocations: 85.92 MB / 0.7033 GB, free: 1.367 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002591/0.1724, allocations: 1.422 MB / 0.7047 GB, free: 15.94 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004726/0.1772, allocations: 3.09 MB / 0.7077 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.784e-05/0.1772, allocations: 7.938 kB / 0.7077 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.847e-05/0.1773, allocations: 3.938 kB / 0.7077 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002185/0.1775, allocations: 39.77 kB / 0.7077 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.1799, allocations: 1.029 MB / 0.7087 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001271/0.18, allocations: 87.73 kB / 0.7088 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.874e-05/0.1801, allocations: 7.938 kB / 0.7088 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.736e-05/0.1801, allocations: 39.84 kB / 0.7089 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002256/0.1803, allocations: 147.6 kB / 0.709 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.44e-05/0.1804, allocations: 12 kB / 0.709 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002305/0.1827, allocations: 1.556 MB / 0.7105 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.1829, allocations: 259.9 kB / 0.7108 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/0.1832, allocations: 274.3 kB / 0.711 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001766/0.1849, allocations: 1.51 MB / 0.7125 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.1849, allocations: 4 kB / 0.7125 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.302e-06/0.1849, allocations: 0 / 0.7125 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.863e-06/0.1849, allocations: 0 / 0.7125 GB, free: 7.859 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.009672/0.1946, allocations: 1.175 MB / 0.7137 GB, free: 6.648 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.189e-05/0.1947, allocations: 8.031 kB / 0.7137 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.981e-05/0.1947, allocations: 4.188 kB / 0.7137 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.122e-05/0.1947, allocations: 30.75 kB / 0.7137 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003639/0.1951, allocations: 100.2 kB / 0.7138 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004147/0.1955, allocations: 303 kB / 0.7141 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.1955, allocations: 11.92 kB / 0.7141 GB, free: 6.156 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.1955, allocations: 4 kB / 0.7141 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004483/0.196, allocations: 391.2 kB / 0.7145 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.714e-06/0.196, allocations: 0 / 0.7145 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.143e-05/0.196, allocations: 4 kB / 0.7145 GB, free: 5.754 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.888e-06/0.196, allocations: 4 kB / 0.7145 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004577/0.1965, allocations: 435.7 kB / 0.7149 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006202/0.1971, allocations: 0.6048 MB / 0.7155 GB, free: 4.676 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005617/0.1977, allocations: 0.5672 MB / 0.7161 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003254/0.198, allocations: 333.7 kB / 0.7164 GB, free: 3.758 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006523/0.1986, allocations: 131.8 kB / 0.7165 GB, free: 3.629 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004245/0.1991, allocations: 404.9 kB / 0.7169 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 9.91e-07/0.1991, allocations: 0 / 0.7169 GB, free: 3.215 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001413/0.2005, allocations: 1.297 MB / 0.7182 GB, free: 1.91 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.691e-05/0.2005, allocations: 85.23 kB / 0.7182 GB, free: 1.809 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001199/0.2017, allocations: 1.207 MB / 0.7194 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.109e-05/0.2018, allocations: 29.7 kB / 0.7194 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.202, allocations: 265.9 kB / 0.7197 GB, free: 292 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.001e-05/0.202, allocations: 15.86 kB / 0.7197 GB, free: 276 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003557/0.2024, allocations: 351.5 kB / 0.72 GB, free: 15.92 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.2025, allocations: 317.9 kB / 0.7203 GB, free: 15.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/0.2038, allocations: 1.361 MB / 0.7217 GB, free: 14.24 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001402/0.2052, allocations: 1.501 MB / 0.7231 GB, free: 12.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007159/0.2124, allocations: 3.537 MB / 0.7266 GB, free: 9.102 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-06/0.2124, allocations: 0 / 0.7266 GB, free: 9.102 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004541/0.2169, allocations: 3.973 MB / 0.7305 GB, free: 5.094 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.217, allocations: 10.34 kB / 0.7305 GB, free: 5.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.126e-05/0.217, allocations: 3.984 kB / 0.7305 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.217, allocations: 0 / 0.7305 GB, free: 5.082 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001263/0.2171, allocations: 12 kB / 0.7305 GB, free: 5.07 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.686e-06/0.2171, allocations: 4 kB / 0.7305 GB, free: 5.066 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004913/0.2176, allocations: 241.3 kB / 0.7307 GB, free: 4.828 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.398e-05/0.2177, allocations: 23.98 kB / 0.7308 GB, free: 4.805 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.0003058/0.218, allocations: 245.6 kB / 0.731 GB, free: 4.555 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.269e-05/0.218, allocations: 67.34 kB / 0.7311 GB, free: 4.488 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001075/0.2191, allocations: 0.9359 MB / 0.732 GB, free: 3.539 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.573e-06/0.2191, allocations: 4 kB / 0.732 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.2191, allocations: 0 / 0.732 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.2191, allocations: 0 / 0.732 GB, free: 3.535 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004578/0.2196, allocations: 479.8 kB / 0.7324 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.2196, allocations: 0 / 0.7324 GB, free: 3.027 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.696e-05/0.2197, allocations: 11.98 kB / 0.7324 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.2197, allocations: 0 / 0.7324 GB, free: 3.016 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.738e-05/0.2197, allocations: 8 kB / 0.7325 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.2197, allocations: 0 / 0.7325 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.193e-06/0.2197, allocations: 0 / 0.7325 GB, free: 3.008 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009574/0.2206, allocations: 1.01 MB / 0.7334 GB, free: 1.977 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 8.257e-05/0.2207, allocations: 75.34 kB / 0.7335 GB, free: 1.902 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.852e-05/0.2208, allocations: 4 kB / 0.7335 GB, free: 1.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001237/0.2209, allocations: 3.984 kB / 0.7335 GB, free: 1.895 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/0.2209, allocations: 11.98 kB / 0.7335 GB, free: 1.883 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.389e-05/0.221, allocations: 15.98 kB / 0.7335 GB, free: 1.867 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007278/0.2217, allocations: 0.6687 MB / 0.7342 GB, free: 1.191 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2217, allocations: 0 / 0.7342 GB, free: 1.191 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001082/0.2228, allocations: 406.9 kB / 0.7346 GB, free: 0.793 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.002419/0.2252, allocations: 1.935 MB / 0.7365 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002062/0.2273, allocations: 1.952 MB / 0.7384 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.2273, allocations: 0 / 0.7384 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003387/0.2276, allocations: 335.8 kB / 0.7387 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.2279, allocations: 30.69 kB / 0.7387 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3334/0.5613, allocations: 15.06 MB / 0.7534 GB, free: 45.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004299/0.5618, allocations: 0.9685 MB / 0.7544 GB, free: 44.94 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002006/0.562, allocations: 37.97 kB / 0.7544 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002569/0.5622, allocations: 262.8 kB / 0.7547 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of SimCode: time 1.674e-06/0.5622, allocations: 1.281 kB / 0.7547 GB, free: 44.93 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05176/0.614, allocations: 19.87 MB / 0.7741 GB, free: 39.32 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.8/13.41, allocations: 5.344 kB / 0.7741 GB, free: 39.32 MB / 0.5606 GB " [Timeout remaining time 646] (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 os._exit(0), Time elapsed: 17.759895629948005] Failed to read output from testmodel.py, exit status != 0: 13.574968344997615 13.585931327 13.398865272 Calling exit ...