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.001279/0.001279, allocations: 116.1 kB / 17.17 MB, free: 6 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.001359/0.001359, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.482/1.482, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.862/0.862, allocations: 133.9 MB / 443.5 MB, free: 13.86 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.001928/0.001928, allocations: 68.34 kB / 0.6142 GB, free: 38.3 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1452/0.1472, allocations: 85.86 MB / 0.698 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002507/0.1497, allocations: 1.412 MB / 0.6994 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004572/0.1542, allocations: 3.068 MB / 0.7024 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.03e-05/0.1543, allocations: 1.125 kB / 0.7024 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001096/0.1544, allocations: 13.11 kB / 0.7024 GB, free: 10.25 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002214/0.1546, allocations: 40.08 kB / 0.7024 GB, free: 10.22 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002511/0.1571, allocations: 0.9869 MB / 0.7034 GB, free: 9.375 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001422/0.1573, allocations: 79.75 kB / 0.7035 GB, free: 9.297 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.556e-05/0.1573, allocations: 7.984 kB / 0.7035 GB, free: 9.289 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.749e-05/0.1574, allocations: 43.84 kB / 0.7035 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002175/0.1576, allocations: 147.6 kB / 0.7037 GB, free: 9.102 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.932e-05/0.1576, allocations: 16 kB / 0.7037 GB, free: 9.086 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.1598, allocations: 1.427 MB / 0.7051 GB, free: 7.656 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002168/0.16, allocations: 263.8 kB / 0.7053 GB, free: 7.395 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002385/0.1602, allocations: 278.3 kB / 0.7056 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001835/0.1621, allocations: 1.489 MB / 0.707 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1621, allocations: 0 / 0.707 GB, free: 5.629 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1621, allocations: 4 kB / 0.7071 GB, free: 5.625 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.1621, allocations: 0 / 0.7071 GB, free: 5.625 MB / 0.5137 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.00994/0.172, allocations: 1.251 MB / 0.7083 GB, free: 4.32 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.1721, allocations: 9.703 kB / 0.7083 GB, free: 4.312 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.242e-05/0.1721, allocations: 8.188 kB / 0.7083 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.1721, allocations: 30.75 kB / 0.7083 GB, free: 4.266 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003806/0.1725, allocations: 96.23 kB / 0.7084 GB, free: 4.172 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/0.1729, allocations: 356.9 kB / 0.7088 GB, free: 3.773 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.004e-05/0.1729, allocations: 11.92 kB / 0.7088 GB, free: 3.762 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.073e-05/0.173, allocations: 7.938 kB / 0.7088 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.1734, allocations: 383.2 kB / 0.7091 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.017e-05/0.1734, allocations: 0 / 0.7091 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.1735, allocations: 4 kB / 0.7091 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.1735, allocations: 15.92 kB / 0.7092 GB, free: 3.348 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004678/0.1739, allocations: 427.8 kB / 0.7096 GB, free: 2.93 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006431/0.1746, allocations: 0.6369 MB / 0.7102 GB, free: 2.242 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005507/0.1751, allocations: 0.5594 MB / 0.7107 GB, free: 1.664 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003398/0.1755, allocations: 333.7 kB / 0.7111 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.1766, allocations: 1.028 MB / 0.7121 GB, free: 84 kB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004419/0.177, allocations: 420.9 kB / 0.7125 GB, free: 15.65 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.162e-06/0.177, allocations: 3.938 kB / 0.7125 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001388/0.1784, allocations: 1.293 MB / 0.7137 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.75e-05/0.1785, allocations: 77.11 kB / 0.7138 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001269/0.1798, allocations: 1.215 MB / 0.715 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.653e-05/0.1798, allocations: 29.7 kB / 0.715 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.18, allocations: 265.8 kB / 0.7153 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.001e-05/0.1801, allocations: 23.84 kB / 0.7153 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003511/0.1804, allocations: 347.5 kB / 0.7156 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001539/0.1806, allocations: 313.9 kB / 0.7159 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001296/0.1819, allocations: 1.361 MB / 0.7172 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001422/0.1833, allocations: 1.493 MB / 0.7187 GB, free: 9.176 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006983/0.1903, allocations: 3.541 MB / 0.7222 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1903, allocations: 0 / 0.7222 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00428/0.1946, allocations: 3.973 MB / 0.726 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.936e-05/0.1946, allocations: 5.406 kB / 0.726 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.1946, allocations: 0 / 0.726 GB, free: 1.527 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.1946, allocations: 4 kB / 0.7261 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.1947, allocations: 15.98 kB / 0.7261 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.1947, allocations: 0 / 0.7261 GB, free: 1.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004893/0.1952, allocations: 237.4 kB / 0.7263 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.866e-05/0.1953, allocations: 23.98 kB / 0.7263 GB, free: 1.25 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.0002936/0.1956, allocations: 249.6 kB / 0.7266 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.068e-05/0.1956, allocations: 71.34 kB / 0.7266 GB, free: 0.9258 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002519/0.1959, allocations: 66.91 kB / 0.7267 GB, free: 0.8516 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-06/0.1959, allocations: 4 kB / 0.7267 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.89e-06/0.1959, allocations: 0 / 0.7267 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.998e-06/0.1959, allocations: 0 / 0.7267 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000447/0.1964, allocations: 0.4928 MB / 0.7272 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.1964, allocations: 32 / 0.7272 GB, free: 316 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.962e-05/0.1964, allocations: 15.98 kB / 0.7272 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.1964, allocations: 0 / 0.7272 GB, free: 300 kB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.1964, allocations: 4 kB / 0.7272 GB, free: 296 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.1964, allocations: 7.922 kB / 0.7272 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1964, allocations: 0 / 0.7272 GB, free: 288 kB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009687/0.1974, allocations: 1.002 MB / 0.7282 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001154/0.1975, allocations: 164.3 kB / 0.7283 GB, free: 15.08 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/0.1976, allocations: 3.984 kB / 0.7283 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.1977, allocations: 4 kB / 0.7283 GB, free: 15.07 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.393e-05/0.1978, allocations: 7.984 kB / 0.7284 GB, free: 15.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.708e-05/0.1978, allocations: 11.98 kB / 0.7284 GB, free: 15.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007245/0.1985, allocations: 0.6648 MB / 0.729 GB, free: 14.38 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1985, allocations: 4 kB / 0.729 GB, free: 14.38 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001032/0.1995, allocations: 403 kB / 0.7294 GB, free: 13.98 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.002389/0.2019, allocations: 1.937 MB / 0.7313 GB, free: 12.01 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00199/0.2039, allocations: 1.941 MB / 0.7332 GB, free: 10.06 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.2039, allocations: 8 kB / 0.7332 GB, free: 10.05 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003437/0.2043, allocations: 343.7 kB / 0.7335 GB, free: 9.715 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002864/0.2046, allocations: 29.38 kB / 0.7335 GB, free: 9.688 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01479/0.2193, allocations: 15.06 MB / 0.7483 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005842/0.2199, allocations: 0.9717 MB / 0.7492 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001205/0.2201, allocations: 40.47 kB / 0.7492 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003121/0.2204, allocations: 259.3 kB / 0.7495 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of SimCode: time 7.51e-07/0.2204, allocations: 0 / 0.7495 GB, free: 9.16 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04287/0.2632, allocations: 19.79 MB / 0.7688 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.752/10.02, allocations: 11.95 kB / 0.7688 GB, free: 5.586 MB / 0.5762 GB " [Timeout remaining time 650] (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: 13.819801789999474] Failed to read output from testmodel.py, exit status != 0: 10.434422663995065 10.169485855 10.004680538 Calling exit ...