Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.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.001308/0.001308, 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.001663/0.001663, allocations: 214.4 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.992 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.805/0.805, 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_SmallScaleValidation,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation",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.001882/0.001882, allocations: 60.75 kB / 0.6194 GB, free: 7.168 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.1704, allocations: 85.91 MB / 0.7033 GB, free: 1.336 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003061/0.1735, allocations: 1.758 MB / 0.705 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.006309/0.1798, allocations: 4.289 MB / 0.7092 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.52e-05/0.1799, allocations: 3.938 kB / 0.7092 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001109/0.181, allocations: 377.8 kB / 0.7096 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.1811, allocations: 63.67 kB / 0.7096 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002355/0.1835, allocations: 1.014 MB / 0.7106 GB, free: 9.809 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.1837, allocations: 155.3 kB / 0.7107 GB, free: 9.656 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.289e-05/0.1838, allocations: 9.75 kB / 0.7108 GB, free: 9.648 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.019e-05/0.1838, allocations: 59.7 kB / 0.7108 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000229/0.1841, allocations: 163.5 kB / 0.711 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.498e-05/0.1841, allocations: 12 kB / 0.711 GB, free: 9.418 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.1864, allocations: 1.552 MB / 0.7125 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002339/0.1866, allocations: 275.8 kB / 0.7128 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002749/0.1869, allocations: 298.2 kB / 0.713 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00194/0.1888, allocations: 1.576 MB / 0.7146 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.1888, allocations: 8 kB / 0.7146 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1888, allocations: 0 / 0.7146 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.1889, allocations: 0 / 0.7146 GB, free: 5.707 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.01026/0.1991, allocations: 1.24 MB / 0.7158 GB, free: 4.434 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.1992, allocations: 12.03 kB / 0.7158 GB, free: 4.422 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.744e-05/0.1992, allocations: 8.125 kB / 0.7158 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.111e-05/0.1992, allocations: 30.75 kB / 0.7159 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003637/0.1996, allocations: 112.1 kB / 0.716 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005568/0.2001, allocations: 348.2 kB / 0.7163 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.509e-05/0.2002, allocations: 11.94 kB / 0.7163 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.763e-05/0.2002, allocations: 4 kB / 0.7163 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004556/0.2006, allocations: 387.2 kB / 0.7167 GB, free: 3.484 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.435e-06/0.2007, allocations: 4 kB / 0.7167 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.2007, allocations: 0 / 0.7167 GB, free: 3.48 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.486e-06/0.2007, allocations: 4 kB / 0.7167 GB, free: 3.477 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004547/0.2011, allocations: 431.7 kB / 0.7171 GB, free: 3.055 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007273/0.2019, allocations: 0.6491 MB / 0.7177 GB, free: 2.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005656/0.2024, allocations: 0.5594 MB / 0.7183 GB, free: 1.785 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003239/0.2027, allocations: 333.7 kB / 0.7186 GB, free: 1.453 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005928/0.2033, allocations: 131.9 kB / 0.7187 GB, free: 1.324 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004306/0.2038, allocations: 404.9 kB / 0.7191 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.363e-06/0.2038, allocations: 0 / 0.7191 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001571/0.2053, allocations: 1.305 MB / 0.7204 GB, free: 15.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.423e-05/0.2054, allocations: 81.23 kB / 0.7205 GB, free: 15.5 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.2069, allocations: 1.285 MB / 0.7217 GB, free: 14.2 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.606e-05/0.207, allocations: 37.69 kB / 0.7217 GB, free: 14.16 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002339/0.2072, allocations: 285.8 kB / 0.722 GB, free: 13.87 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.678e-05/0.2072, allocations: 19.89 kB / 0.722 GB, free: 13.85 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003444/0.2076, allocations: 343.6 kB / 0.7224 GB, free: 13.51 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2077, allocations: 325.7 kB / 0.7227 GB, free: 13.19 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001333/0.2091, allocations: 1.369 MB / 0.724 GB, free: 11.82 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/0.2106, allocations: 1.489 MB / 0.7255 GB, free: 10.32 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007339/0.2179, allocations: 3.534 MB / 0.7289 GB, free: 6.695 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.2179, allocations: 7.938 kB / 0.7289 GB, free: 6.688 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004559/0.2225, allocations: 3.981 MB / 0.7328 GB, free: 2.672 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.2225, allocations: 4 kB / 0.7328 GB, free: 2.668 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.835e-05/0.2225, allocations: 4.078 kB / 0.7328 GB, free: 2.664 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.2225, allocations: 3.984 kB / 0.7328 GB, free: 2.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001281/0.2227, allocations: 15.98 kB / 0.7328 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2227, allocations: 3.984 kB / 0.7328 GB, free: 2.641 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005187/0.2232, allocations: 245.3 kB / 0.7331 GB, free: 2.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/0.2232, allocations: 24.02 kB / 0.7331 GB, free: 2.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.0003146/0.2236, allocations: 253.5 kB / 0.7333 GB, free: 2.117 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.225e-05/0.2236, allocations: 75.3 kB / 0.7334 GB, free: 2.043 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.2247, allocations: 0.9445 MB / 0.7343 GB, free: 1.09 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.062e-06/0.2247, allocations: 4 kB / 0.7343 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.2247, allocations: 0 / 0.7343 GB, free: 1.086 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.2247, allocations: 4.031 kB / 0.7343 GB, free: 1.082 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004914/0.2252, allocations: 497.2 kB / 0.7348 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2252, allocations: 0 / 0.7348 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.788e-05/0.2253, allocations: 7.984 kB / 0.7348 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.2253, allocations: 0 / 0.7348 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.153e-05/0.2253, allocations: 4 kB / 0.7348 GB, free: 0.5469 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2253, allocations: 4 kB / 0.7348 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.2253, allocations: 0 / 0.7348 GB, free: 0.543 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/0.2264, allocations: 1.029 MB / 0.7358 GB, free: 15.49 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001086/0.2265, allocations: 83.3 kB / 0.7359 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.352e-05/0.2266, allocations: 0 / 0.7359 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/0.2267, allocations: 11.98 kB / 0.7359 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.833e-05/0.2268, allocations: 7.984 kB / 0.7359 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.237e-05/0.2268, allocations: 11.98 kB / 0.736 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0008447/0.2277, allocations: 0.7218 MB / 0.7367 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2277, allocations: 0 / 0.7367 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001138/0.2288, allocations: 407 kB / 0.737 GB, free: 14.25 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.002572/0.2314, allocations: 1.94 MB / 0.7389 GB, free: 12.28 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002085/0.2335, allocations: 1.947 MB / 0.7408 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2335, allocations: 0 / 0.7408 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003682/0.2338, allocations: 339.8 kB / 0.7412 GB, free: 9.992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004241/0.2342, allocations: 46.91 kB / 0.7412 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3295/0.5638, allocations: 15.03 MB / 0.7559 GB, free: 45.49 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005683/0.5644, allocations: 0.9879 MB / 0.7569 GB, free: 44.79 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001854/0.5645, allocations: 48.69 kB / 0.7569 GB, free: 44.79 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003145/0.5649, allocations: 287.5 kB / 0.7572 GB, free: 44.55 MB / 0.5606 GB Notification: Performance of SimCode: time 1.413e-06/0.5649, allocations: 0 / 0.7572 GB, free: 44.55 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05189/0.6167, allocations: 20.15 MB / 0.7769 GB, free: 38.51 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.9/13.52, allocations: 5.875 kB / 0.7769 GB, free: 38.51 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation_fmu --startTime=0 --stopTime=1.8e+12 --stepSize=7.2e+08 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_SmallScaleValidation.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 17.598947111982852] Failed to read output from testmodel.py, exit status != 0: 13.696851774933748 13.707196684 13.516243079 Calling exit ...