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.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.001519/0.001519, allocations: 119.6 kB / 17.16 MB, free: 5.914 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.001778/0.001778, allocations: 211 kB / 20.13 MB, free: 2.969 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.449/1.449, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.8483/0.8483, allocations: 133.9 MB / 443.5 MB, free: 13.88 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_100boreholes,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes",fmuType="cs",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="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.001939/0.001939, allocations: 68 kB / 0.6142 GB, free: 38.17 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1602/0.1622, allocations: 85.86 MB / 0.698 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003082/0.1653, allocations: 1.418 MB / 0.6994 GB, free: 12.47 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.005108/0.1704, allocations: 3.064 MB / 0.7024 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.302e-05/0.1704, allocations: 3.938 kB / 0.7024 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001226/0.1706, allocations: 9.703 kB / 0.7024 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002406/0.1708, allocations: 35.59 kB / 0.7024 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002871/0.1737, allocations: 0.9872 MB / 0.7034 GB, free: 9.277 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000167/0.1738, allocations: 83.69 kB / 0.7035 GB, free: 9.195 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.208e-05/0.1739, allocations: 4 kB / 0.7035 GB, free: 9.191 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 8.04e-05/0.174, allocations: 43.89 kB / 0.7035 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002536/0.1742, allocations: 161.6 kB / 0.7037 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 4.871e-05/0.1743, allocations: 12 kB / 0.7037 GB, free: 8.977 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002433/0.1767, allocations: 1.435 MB / 0.7051 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007467/0.1774, allocations: 0.6991 MB / 0.7058 GB, free: 6.836 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004694/0.1779, allocations: 441 kB / 0.7062 GB, free: 6.402 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002813/0.1807, allocations: 1.807 MB / 0.708 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1807, allocations: 0 / 0.708 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.833e-06/0.1807, allocations: 0 / 0.708 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.693e-05/0.1808, allocations: 0 / 0.708 GB, free: 4.59 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.01067/0.1914, allocations: 1.754 MB / 0.7097 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.493e-05/0.1915, allocations: 9.703 kB / 0.7097 GB, free: 2.766 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.796e-05/0.1915, allocations: 4.188 kB / 0.7097 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.1915, allocations: 42.75 kB / 0.7097 GB, free: 2.711 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004654/0.192, allocations: 147.8 kB / 0.7099 GB, free: 2.566 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006626/0.1927, allocations: 0.5375 MB / 0.7104 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.426e-05/0.1927, allocations: 3.938 kB / 0.7104 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/0.1927, allocations: 4 kB / 0.7104 GB, free: 1.953 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004665/0.1932, allocations: 387.2 kB / 0.7108 GB, free: 1.562 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1932, allocations: 3.984 kB / 0.7108 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.498e-05/0.1932, allocations: 8 kB / 0.7108 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.34e-06/0.1932, allocations: 0 / 0.7108 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004761/0.1937, allocations: 435.7 kB / 0.7112 GB, free: 1.125 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009329/0.1946, allocations: 0.8078 MB / 0.712 GB, free: 260 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006025/0.1952, allocations: 0.5594 MB / 0.7125 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003433/0.1956, allocations: 337.7 kB / 0.7129 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001199/0.1968, allocations: 1.032 MB / 0.7139 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004578/0.1972, allocations: 400.9 kB / 0.7142 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 2.134e-06/0.1972, allocations: 3.938 kB / 0.7142 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.00156/0.1988, allocations: 1.352 MB / 0.7156 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.532e-05/0.1989, allocations: 85.11 kB / 0.7157 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002113/0.201, allocations: 1.847 MB / 0.7175 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.329e-05/0.201, allocations: 29.7 kB / 0.7175 GB, free: 10.28 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004132/0.2014, allocations: 481.8 kB / 0.7179 GB, free: 9.805 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.116e-05/0.2015, allocations: 31.77 kB / 0.718 GB, free: 9.773 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003749/0.2018, allocations: 347.5 kB / 0.7183 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.202, allocations: 317 kB / 0.7186 GB, free: 9.117 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001477/0.2035, allocations: 1.506 MB / 0.7201 GB, free: 7.609 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001545/0.205, allocations: 1.646 MB / 0.7217 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007401/0.2124, allocations: 3.686 MB / 0.7253 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.777e-06/0.2124, allocations: 4 kB / 0.7253 GB, free: 2.172 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004783/0.2172, allocations: 4.328 MB / 0.7295 GB, free: 13.8 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.615e-05/0.2172, allocations: 8 kB / 0.7295 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.666e-05/0.2172, allocations: 0 / 0.7295 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.2173, allocations: 0 / 0.7295 GB, free: 13.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001372/0.2174, allocations: 19.98 kB / 0.7295 GB, free: 13.78 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.139e-05/0.2174, allocations: 4 kB / 0.7295 GB, free: 13.77 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006308/0.218, allocations: 237.4 kB / 0.7298 GB, free: 13.54 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.462e-05/0.2181, allocations: 31.91 kB / 0.7298 GB, free: 13.51 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.0005272/0.2186, allocations: 365.5 kB / 0.7301 GB, free: 13.14 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001247/0.2187, allocations: 123 kB / 0.7303 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003613/0.2191, allocations: 153 kB / 0.7304 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2191, allocations: 32 / 0.7304 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.2191, allocations: 7.938 kB / 0.7304 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.358e-06/0.2191, allocations: 0 / 0.7304 GB, free: 12.86 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006895/0.2198, allocations: 0.6833 MB / 0.7311 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2198, allocations: 0 / 0.7311 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.106e-05/0.2199, allocations: 15.98 kB / 0.7311 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.2199, allocations: 0 / 0.7311 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.415e-05/0.2199, allocations: 4 kB / 0.7311 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2199, allocations: 0 / 0.7311 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.2199, allocations: 0 / 0.7311 GB, free: 12.09 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.221, allocations: 1.064 MB / 0.7321 GB, free: 11 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001842/0.2211, allocations: 208 kB / 0.7323 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.424e-05/0.2212, allocations: 4 kB / 0.7323 GB, free: 10.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001855/0.2214, allocations: 3.984 kB / 0.7324 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.2215, allocations: 7.938 kB / 0.7324 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.408e-05/0.2215, allocations: 19.97 kB / 0.7324 GB, free: 10.75 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001337/0.2228, allocations: 1.104 MB / 0.7335 GB, free: 9.617 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2228, allocations: 0 / 0.7335 GB, free: 9.617 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001278/0.2241, allocations: 443 kB / 0.7339 GB, free: 9.184 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.002555/0.2267, allocations: 1.989 MB / 0.7358 GB, free: 7.156 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0022/0.2289, allocations: 2.101 MB / 0.7379 GB, free: 5.047 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/0.2289, allocations: 3.938 kB / 0.7379 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003491/0.2292, allocations: 335.7 kB / 0.7382 GB, free: 4.715 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004228/0.2297, allocations: 51.41 kB / 0.7382 GB, free: 4.66 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2616/0.4913, allocations: 36.41 MB / 0.7738 GB, free: 20 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00083/0.4921, allocations: 1.157 MB / 0.7749 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001809/0.4923, allocations: 41.14 kB / 0.775 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004806/0.4928, allocations: 435.2 kB / 0.7754 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of SimCode: time 9.62e-07/0.4928, allocations: 0 / 0.7754 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09567/0.5885, allocations: 60.2 MB / 0.8342 GB, free: 2.344 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.76/11.35, allocations: 11.95 kB / 0.8342 GB, free: 2.332 MB / 0.6387 GB " [Timeout remaining time 648] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_100boreholes_fmu --startTime=0 --stopTime=3.7e+11 --stepSize=1.48e+08 --timeout=50 --tolerance=1e-06 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) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.872107641014736] Failed to read output from testmodel.py, exit status != 0: 11.763740400027018 11.510498453 11.32605256 Calling exit ...