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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 107.5 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 247.8 MB, free: 13.92 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.8224/0.8224, allocations: 134 MB / 436.6 MB, free: 1.301 MB / 334.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001924/0.001924, allocations: 72.67 kB / 0.6052 GB, free: 15.65 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1813/0.1832, allocations: 84.67 MB / 0.6879 GB, free: 11.06 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003232/0.1865, allocations: 1.746 MB / 0.6896 GB, free: 9.309 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.006903/0.1934, allocations: 4.253 MB / 0.6937 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001072/0.1935, allocations: 0 / 0.6937 GB, free: 5.035 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001368/0.1948, allocations: 362.4 kB / 0.6941 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001376/0.195, allocations: 59.72 kB / 0.6941 GB, free: 4.621 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.1977, allocations: 0.9847 MB / 0.6951 GB, free: 3.633 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.1979, allocations: 155.3 kB / 0.6952 GB, free: 3.48 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.781e-05/0.198, allocations: 5.562 kB / 0.6952 GB, free: 3.473 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 7.642e-05/0.1981, allocations: 55.78 kB / 0.6953 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002297/0.1983, allocations: 163.4 kB / 0.6954 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.746e-05/0.1983, allocations: 12 kB / 0.6955 GB, free: 3.246 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002149/0.2005, allocations: 1.427 MB / 0.6969 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002782/0.2008, allocations: 275.8 kB / 0.6971 GB, free: 1.543 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002733/0.201, allocations: 302.2 kB / 0.6974 GB, free: 1.246 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001922/0.203, allocations: 1.557 MB / 0.6989 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.203, allocations: 0 / 0.6989 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.203, allocations: 0 / 0.6989 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.436e-06/0.203, allocations: 0 / 0.6989 GB, free: 15.68 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.008481/0.2115, allocations: 1.313 MB / 0.7002 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.934e-05/0.2115, allocations: 13.11 kB / 0.7002 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.86e-05/0.2116, allocations: 42.73 kB / 0.7003 GB, free: 14.25 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005045/0.2121, allocations: 96.2 kB / 0.7004 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007353/0.2128, allocations: 406.1 kB / 0.7007 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.2128, allocations: 8.125 kB / 0.7007 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.748e-05/0.2129, allocations: 8 kB / 0.7008 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004848/0.2134, allocations: 395.1 kB / 0.7011 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.2134, allocations: 0 / 0.7011 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.2134, allocations: 0 / 0.7011 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.2134, allocations: 0 / 0.7011 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004923/0.2139, allocations: 435.7 kB / 0.7015 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006819/0.2146, allocations: 0.6619 MB / 0.7022 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005892/0.2151, allocations: 0.5672 MB / 0.7027 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.2155, allocations: 333.6 kB / 0.7031 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001148/0.2166, allocations: 1.028 MB / 0.7041 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004725/0.2171, allocations: 404.8 kB / 0.7045 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.173e-06/0.2171, allocations: 0 / 0.7045 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001518/0.2186, allocations: 1.309 MB / 0.7057 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.896e-05/0.2187, allocations: 77.11 kB / 0.7058 GB, free: 8.172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001484/0.2202, allocations: 1.282 MB / 0.7071 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.47e-05/0.2202, allocations: 33.7 kB / 0.7071 GB, free: 6.84 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002438/0.2205, allocations: 289.9 kB / 0.7074 GB, free: 6.551 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.695e-05/0.2205, allocations: 23.78 kB / 0.7074 GB, free: 6.527 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003515/0.2209, allocations: 351.5 kB / 0.7077 GB, free: 6.18 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.221, allocations: 326 kB / 0.708 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00141/0.2224, allocations: 1.361 MB / 0.7094 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.224, allocations: 1.497 MB / 0.7108 GB, free: 2.988 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007441/0.2314, allocations: 3.545 MB / 0.7143 GB, free: 15.35 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.2314, allocations: 0 / 0.7143 GB, free: 15.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004751/0.2362, allocations: 3.969 MB / 0.7182 GB, free: 11.35 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.2362, allocations: 8 kB / 0.7182 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.465e-05/0.2362, allocations: 0 / 0.7182 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/0.2362, allocations: 0 / 0.7182 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001343/0.2364, allocations: 19.98 kB / 0.7182 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.2364, allocations: 4 kB / 0.7182 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005116/0.2369, allocations: 241.4 kB / 0.7184 GB, free: 11.08 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.695e-05/0.2369, allocations: 23.98 kB / 0.7185 GB, free: 11.05 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.0003261/0.2373, allocations: 249.5 kB / 0.7187 GB, free: 10.8 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.745e-05/0.2373, allocations: 83.23 kB / 0.7188 GB, free: 10.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002712/0.2376, allocations: 75.73 kB / 0.7188 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.2376, allocations: 8.031 kB / 0.7188 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.2376, allocations: 3.984 kB / 0.7189 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/0.2376, allocations: 0 / 0.7189 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000508/0.2381, allocations: 0.5293 MB / 0.7194 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2381, allocations: 0 / 0.7194 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.577e-05/0.2382, allocations: 4 kB / 0.7194 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.2382, allocations: 0 / 0.7194 GB, free: 10.05 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.2382, allocations: 7.984 kB / 0.7194 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2382, allocations: 0 / 0.7194 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.2382, allocations: 3.938 kB / 0.7194 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.2393, allocations: 1.014 MB / 0.7204 GB, free: 9 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/0.2394, allocations: 172.3 kB / 0.7205 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.911e-05/0.2395, allocations: 0 / 0.7205 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.2396, allocations: 4 kB / 0.7205 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.673e-05/0.2397, allocations: 11.98 kB / 0.7206 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.852e-05/0.2397, allocations: 7.984 kB / 0.7206 GB, free: 8.789 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000835/0.2405, allocations: 0.7218 MB / 0.7213 GB, free: 8.062 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2405, allocations: 0 / 0.7213 GB, free: 8.062 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001037/0.2416, allocations: 403 kB / 0.7217 GB, free: 7.668 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.002464/0.244, allocations: 1.943 MB / 0.7235 GB, free: 5.688 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002197/0.2462, allocations: 1.949 MB / 0.7255 GB, free: 3.73 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2462, allocations: 0 / 0.7255 GB, free: 3.73 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003674/0.2466, allocations: 335.7 kB / 0.7258 GB, free: 3.402 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003889/0.247, allocations: 58.31 kB / 0.7258 GB, free: 3.348 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01702/0.264, allocations: 15.02 MB / 0.7405 GB, free: 4.16 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007333/0.2647, allocations: 0.9879 MB / 0.7415 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001721/0.2649, allocations: 41.41 kB / 0.7415 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000339/0.2653, allocations: 283.3 kB / 0.7418 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of SimCode: time 1.212e-06/0.2653, allocations: 0 / 0.7418 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4103/0.6755, allocations: 19.95 MB / 0.7613 GB, free: 67.68 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/11.23, allocations: 9.609 kB / 0.7613 GB, free: 67.67 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.793234327808022] Failed to read output from testmodel.py, exit status != 0: 11.311094191856682 11.325952923 11.120260693 Calling exit ...