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.001265/0.001265, allocations: 101.9 kB / 19.73 MB, free: 2.109 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.001378/0.001378, allocations: 222.5 kB / 23.03 MB, free: 4.906 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.417/1.417, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.8714/0.8714, allocations: 134 MB / 447.2 MB, free: 9.949 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.002179/0.002179, allocations: 65.16 kB / 0.6193 GB, free: 6.871 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1719, allocations: 85.91 MB / 0.7032 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.003003/0.1749, allocations: 1.406 MB / 0.7046 GB, free: 15.64 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004913/0.1798, allocations: 2.763 MB / 0.7073 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.732e-05/0.1799, allocations: 3.938 kB / 0.7073 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001095/0.18, allocations: 11.86 kB / 0.7073 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.1802, allocations: 35.83 kB / 0.7073 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00277/0.183, allocations: 1.037 MB / 0.7083 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001534/0.1832, allocations: 79.75 kB / 0.7084 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.313e-05/0.1832, allocations: 3.984 kB / 0.7084 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.858e-05/0.1833, allocations: 47.8 kB / 0.7085 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002399/0.1835, allocations: 161.6 kB / 0.7086 GB, free: 11.49 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.338e-05/0.1836, allocations: 12 kB / 0.7086 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002408/0.186, allocations: 1.501 MB / 0.7101 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0007255/0.1867, allocations: 0.6952 MB / 0.7108 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003648/0.1871, allocations: 353.9 kB / 0.7111 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00248/0.1895, allocations: 1.823 MB / 0.7129 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.1895, allocations: 0 / 0.7129 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.1895, allocations: 0 / 0.7129 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.488e-05/0.1896, allocations: 0 / 0.7129 GB, free: 7.098 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.009402/0.199, allocations: 1.682 MB / 0.7145 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/0.199, allocations: 12.03 kB / 0.7145 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.199, allocations: 192 / 0.7145 GB, free: 5.359 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.877e-05/0.1991, allocations: 34.75 kB / 0.7146 GB, free: 5.316 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004843/0.1996, allocations: 159.8 kB / 0.7147 GB, free: 5.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006488/0.2002, allocations: 476.6 kB / 0.7152 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.197e-05/0.2002, allocations: 7.938 kB / 0.7152 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.574e-05/0.2003, allocations: 4 kB / 0.7152 GB, free: 4.629 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000479/0.2007, allocations: 391.1 kB / 0.7156 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.318e-06/0.2008, allocations: 4 kB / 0.7156 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2008, allocations: 0 / 0.7156 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.113e-06/0.2008, allocations: 3.984 kB / 0.7156 GB, free: 4.227 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004791/0.2013, allocations: 435.8 kB / 0.716 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008696/0.2021, allocations: 0.7679 MB / 0.7167 GB, free: 2.977 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005784/0.2027, allocations: 0.5594 MB / 0.7173 GB, free: 2.398 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003313/0.203, allocations: 329.7 kB / 0.7176 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006998/0.2037, allocations: 135.9 kB / 0.7177 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004712/0.2042, allocations: 412.8 kB / 0.7181 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.503e-06/0.2042, allocations: 0 / 0.7181 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.0015/0.2057, allocations: 1.34 MB / 0.7194 GB, free: 172 kB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.933e-05/0.2058, allocations: 85.05 kB / 0.7195 GB, free: 68 kB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00216/0.2079, allocations: 1.859 MB / 0.7213 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.719e-05/0.208, allocations: 25.7 kB / 0.7214 GB, free: 14.13 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004392/0.2084, allocations: 481.8 kB / 0.7218 GB, free: 13.65 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.68e-05/0.2085, allocations: 31.72 kB / 0.7218 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/0.2088, allocations: 347.5 kB / 0.7222 GB, free: 13.28 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001713/0.209, allocations: 309 kB / 0.7225 GB, free: 12.97 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001454/0.2104, allocations: 1.514 MB / 0.724 GB, free: 11.46 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/0.2121, allocations: 1.642 MB / 0.7256 GB, free: 9.805 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007495/0.2196, allocations: 3.694 MB / 0.7292 GB, free: 6.02 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.2196, allocations: 0 / 0.7292 GB, free: 6.02 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.005072/0.2246, allocations: 4.32 MB / 0.7334 GB, free: 1.664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.275e-05/0.2247, allocations: 11.92 kB / 0.7334 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.743e-05/0.2247, allocations: 0 / 0.7334 GB, free: 1.652 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.888e-05/0.2247, allocations: 4 kB / 0.7334 GB, free: 1.648 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001345/0.2248, allocations: 16.03 kB / 0.7334 GB, free: 1.633 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.2248, allocations: 3.984 kB / 0.7334 GB, free: 1.629 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005862/0.2254, allocations: 233.4 kB / 0.7336 GB, free: 1.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.004e-05/0.2255, allocations: 23.98 kB / 0.7337 GB, free: 1.375 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.0004584/0.226, allocations: 373.4 kB / 0.734 GB, free: 1 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001219/0.2261, allocations: 130.9 kB / 0.7341 GB, free: 0.8711 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001155/0.2272, allocations: 1.008 MB / 0.7351 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.092e-06/0.2272, allocations: 4 kB / 0.7351 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.037e-06/0.2272, allocations: 11.92 kB / 0.7351 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.437e-06/0.2272, allocations: 0 / 0.7351 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006653/0.2279, allocations: 0.6472 MB / 0.7358 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.2279, allocations: 0 / 0.7358 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.187e-05/0.228, allocations: 7.984 kB / 0.7358 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.228, allocations: 4 kB / 0.7358 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.129e-05/0.228, allocations: 0 / 0.7358 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.763e-06/0.228, allocations: 0 / 0.7358 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/0.228, allocations: 4.031 kB / 0.7358 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/0.229, allocations: 1.072 MB / 0.7368 GB, free: 14.02 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.2292, allocations: 126.9 kB / 0.737 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.679e-05/0.2293, allocations: 0 / 0.737 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001935/0.2295, allocations: 11.92 kB / 0.737 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.2295, allocations: 11.94 kB / 0.737 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.162e-05/0.2296, allocations: 15.97 kB / 0.737 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001285/0.2308, allocations: 1.101 MB / 0.7381 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2308, allocations: 4 kB / 0.7381 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001159/0.232, allocations: 439 kB / 0.7385 GB, free: 12.3 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.002616/0.2346, allocations: 1.989 MB / 0.7404 GB, free: 10.27 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002214/0.2368, allocations: 2.089 MB / 0.7425 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.2368, allocations: 3.938 kB / 0.7425 GB, free: 8.172 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003469/0.2372, allocations: 343.7 kB / 0.7428 GB, free: 7.836 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003972/0.2376, allocations: 48.8 kB / 0.7429 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6491/0.8867, allocations: 36.43 MB / 0.7784 GB, free: 34.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005251/0.8872, allocations: 0.5593 MB / 0.779 GB, free: 34.11 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001774/0.8874, allocations: 35.7 kB / 0.779 GB, free: 34.09 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003621/0.8877, allocations: 430.9 kB / 0.7794 GB, free: 33.71 MB / 0.5606 GB Notification: Performance of SimCode: time 1.092e-06/0.8877, allocations: 0 / 0.7794 GB, free: 33.71 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08823/0.9759, allocations: 60.94 MB / 0.8389 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.97/14.95, allocations: 18.73 kB / 0.8389 GB, free: 7.91 MB / 0.5919 GB " [Timeout remaining time 645] (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: 30.739347245078534] Failed to read output from testmodel.py, exit status != 0: 15.127773657091893 15.150346613 14.956693286 Calling exit ...