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.001275/0.001275, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001604/0.001604, allocations: 214.5 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.426/1.426, allocations: 230.6 MB / 256.8 MB, free: 7.996 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.8359/0.8359, allocations: 134 MB / 447.2 MB, free: 10.22 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.001873/0.001873, allocations: 61.97 kB / 0.6194 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1646/0.1665, allocations: 85.91 MB / 0.7033 GB, free: 1.363 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_100boreholes): time 0.002547/0.1691, allocations: 1.423 MB / 0.7047 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004958/0.174, allocations: 3.09 MB / 0.7077 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.537e-05/0.1741, allocations: 0 / 0.7077 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00012/0.1742, allocations: 11.86 kB / 0.7077 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.1745, allocations: 31.83 kB / 0.7077 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002925/0.1774, allocations: 1.044 MB / 0.7087 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.1775, allocations: 79.75 kB / 0.7088 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.846e-05/0.1776, allocations: 4 kB / 0.7088 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.622e-05/0.1777, allocations: 47.77 kB / 0.7089 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002692/0.1779, allocations: 165.6 kB / 0.709 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.294e-05/0.178, allocations: 16 kB / 0.709 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003097/0.1811, allocations: 1.544 MB / 0.7105 GB, free: 9.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008222/0.1819, allocations: 0.703 MB / 0.7112 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004708/0.1824, allocations: 445 kB / 0.7117 GB, free: 8.742 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002845/0.1852, allocations: 1.821 MB / 0.7134 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.1852, allocations: 0 / 0.7134 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.674e-06/0.1852, allocations: 0 / 0.7134 GB, free: 6.914 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 3.403e-05/0.1853, allocations: 4 kB / 0.7134 GB, free: 6.91 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.011/0.1963, allocations: 1.675 MB / 0.7151 GB, free: 5.191 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.192e-05/0.1963, allocations: 12.03 kB / 0.7151 GB, free: 5.18 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.603e-05/0.1963, allocations: 4.188 kB / 0.7151 GB, free: 5.176 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.748e-05/0.1964, allocations: 30.75 kB / 0.7151 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000584/0.197, allocations: 155.8 kB / 0.7153 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006596/0.1976, allocations: 476.6 kB / 0.7157 GB, free: 4.465 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.395e-05/0.1976, allocations: 7.938 kB / 0.7157 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.442e-05/0.1977, allocations: 11.94 kB / 0.7157 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005915/0.1983, allocations: 391.2 kB / 0.7161 GB, free: 4.051 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.1983, allocations: 3.984 kB / 0.7161 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1983, allocations: 0 / 0.7161 GB, free: 4.047 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/0.1983, allocations: 4 kB / 0.7161 GB, free: 4.043 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005025/0.1988, allocations: 427.8 kB / 0.7165 GB, free: 3.625 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001061/0.1999, allocations: 0.799 MB / 0.7173 GB, free: 2.77 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005681/0.2004, allocations: 0.5516 MB / 0.7178 GB, free: 2.199 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000342/0.2008, allocations: 333.7 kB / 0.7182 GB, free: 1.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000707/0.2015, allocations: 135.9 kB / 0.7183 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004323/0.2019, allocations: 404.8 kB / 0.7187 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.2019, allocations: 0 / 0.7187 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001788/0.2037, allocations: 1.355 MB / 0.72 GB, free: 15.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.429e-05/0.2038, allocations: 85.05 kB / 0.7201 GB, free: 15.86 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002248/0.206, allocations: 1.851 MB / 0.7219 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 5.517e-05/0.2061, allocations: 29.7 kB / 0.7219 GB, free: 13.92 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004626/0.2065, allocations: 481.8 kB / 0.7224 GB, free: 13.45 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.859e-05/0.2066, allocations: 27.78 kB / 0.7224 GB, free: 13.42 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003588/0.2069, allocations: 339.6 kB / 0.7227 GB, free: 13.08 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001352/0.2071, allocations: 317.2 kB / 0.723 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001525/0.2086, allocations: 1.51 MB / 0.7245 GB, free: 11.26 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001854/0.2105, allocations: 1.646 MB / 0.7261 GB, free: 9.602 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007498/0.218, allocations: 3.69 MB / 0.7297 GB, free: 5.82 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.983e-06/0.218, allocations: 0 / 0.7297 GB, free: 5.82 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.00577/0.2237, allocations: 4.332 MB / 0.734 GB, free: 1.453 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.837e-05/0.2238, allocations: 10.28 kB / 0.734 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.031e-05/0.2238, allocations: 0 / 0.734 GB, free: 1.445 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.426e-05/0.2238, allocations: 4 kB / 0.734 GB, free: 1.441 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000151/0.224, allocations: 19.98 kB / 0.734 GB, free: 1.422 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.224, allocations: 4.031 kB / 0.734 GB, free: 1.418 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006724/0.2246, allocations: 233.4 kB / 0.7342 GB, free: 1.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.933e-05/0.2247, allocations: 23.98 kB / 0.7342 GB, free: 1.164 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.0006211/0.2253, allocations: 377.2 kB / 0.7346 GB, free: 0.7891 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001965/0.2255, allocations: 130.9 kB / 0.7347 GB, free: 0.6602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001315/0.2268, allocations: 1.012 MB / 0.7357 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.993e-06/0.2268, allocations: 4 kB / 0.7357 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2268, allocations: 0 / 0.7357 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2269, allocations: 0 / 0.7357 GB, free: 15.63 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008757/0.2277, allocations: 0.655 MB / 0.7363 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2277, allocations: 0 / 0.7363 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.65e-05/0.2278, allocations: 11.98 kB / 0.7364 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.2278, allocations: 0 / 0.7364 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.807e-05/0.2278, allocations: 4 kB / 0.7364 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.389e-06/0.2278, allocations: 4 kB / 0.7364 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.2278, allocations: 0 / 0.7364 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00107/0.2289, allocations: 1.068 MB / 0.7374 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001991/0.2291, allocations: 122.9 kB / 0.7375 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.2292, allocations: 4 kB / 0.7375 GB, free: 13.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/0.2294, allocations: 11.92 kB / 0.7375 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.194e-05/0.2295, allocations: 8 kB / 0.7376 GB, free: 13.67 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.422e-05/0.2295, allocations: 15.97 kB / 0.7376 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001584/0.2311, allocations: 1.101 MB / 0.7386 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2311, allocations: 0 / 0.7386 GB, free: 12.53 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001221/0.2323, allocations: 443 kB / 0.7391 GB, free: 12.09 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.002898/0.2352, allocations: 1.989 MB / 0.741 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002286/0.2375, allocations: 2.099 MB / 0.7431 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.2375, allocations: 0 / 0.7431 GB, free: 7.961 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003614/0.2378, allocations: 339.8 kB / 0.7434 GB, free: 7.629 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004537/0.2383, allocations: 53.36 kB / 0.7434 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.684/0.9223, allocations: 36.41 MB / 0.779 GB, free: 34.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007168/0.923, allocations: 1.156 MB / 0.7801 GB, free: 33.95 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002042/0.9232, allocations: 44.02 kB / 0.7802 GB, free: 33.92 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003649/0.9236, allocations: 433.3 kB / 0.7806 GB, free: 33.54 MB / 0.5606 GB Notification: Performance of SimCode: time 1.222e-06/0.9236, allocations: 0 / 0.7806 GB, free: 33.54 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08782/1.011, allocations: 60.29 MB / 0.8394 GB, free: 8.402 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.79, allocations: 8.047 kB / 0.8395 GB, free: 8.395 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.31309238797985] Failed to read output from testmodel.py, exit status != 0: 14.964523142087273 14.992519923 14.802132299 Calling exit ...