Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.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.001754/0.001754, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002402/0.002402, allocations: 216.1 kB / 23.03 MB, free: 4.922 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8693/0.8693, allocations: 134 MB / 447.2 MB, free: 9.898 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_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",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.002045/0.002045, allocations: 63.72 kB / 0.6193 GB, free: 6.824 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1804/0.1824, allocations: 85.91 MB / 0.7032 GB, free: 1 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.003583/0.186, allocations: 1.41 MB / 0.7046 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.005979/0.192, allocations: 2.759 MB / 0.7073 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.408e-05/0.1921, allocations: 0 / 0.7073 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001283/0.1922, allocations: 15.86 kB / 0.7073 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002788/0.1925, allocations: 27.84 kB / 0.7073 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002949/0.1954, allocations: 1.045 MB / 0.7083 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001437/0.1956, allocations: 79.8 kB / 0.7084 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.185e-05/0.1956, allocations: 4 kB / 0.7084 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 9.164e-05/0.1957, allocations: 47.77 kB / 0.7085 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002616/0.196, allocations: 143.6 kB / 0.7086 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.743e-05/0.196, allocations: 16 kB / 0.7086 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002565/0.1986, allocations: 1.49 MB / 0.7101 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002493/0.1988, allocations: 271.8 kB / 0.7103 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002419/0.1991, allocations: 218.9 kB / 0.7105 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002483/0.2015, allocations: 1.507 MB / 0.712 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.2015, allocations: 0 / 0.712 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2015, allocations: 0 / 0.712 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.995e-05/0.2016, allocations: 0 / 0.712 GB, free: 7.949 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.008259/0.2098, allocations: 1.171 MB / 0.7131 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.555e-05/0.2099, allocations: 8.031 kB / 0.7132 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.89e-05/0.2099, allocations: 192 / 0.7132 GB, free: 6.734 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.923e-05/0.2099, allocations: 38.73 kB / 0.7132 GB, free: 6.688 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003976/0.2103, allocations: 92.25 kB / 0.7133 GB, free: 6.598 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004723/0.2108, allocations: 303.1 kB / 0.7136 GB, free: 6.266 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.159e-05/0.2108, allocations: 15.86 kB / 0.7136 GB, free: 6.25 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.413e-05/0.2109, allocations: 4 kB / 0.7136 GB, free: 6.246 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005006/0.2114, allocations: 387.2 kB / 0.714 GB, free: 5.855 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.2114, allocations: 3.938 kB / 0.714 GB, free: 5.852 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.501e-05/0.2114, allocations: 3.984 kB / 0.714 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.2114, allocations: 11.98 kB / 0.714 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005195/0.2119, allocations: 427.8 kB / 0.7144 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007216/0.2127, allocations: 0.593 MB / 0.715 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006727/0.2133, allocations: 0.5594 MB / 0.7155 GB, free: 4.203 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.2137, allocations: 333.7 kB / 0.7158 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000757/0.2144, allocations: 135.9 kB / 0.716 GB, free: 3.738 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004589/0.2149, allocations: 404.8 kB / 0.7163 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.643e-06/0.2149, allocations: 0 / 0.7163 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001519/0.2164, allocations: 1.301 MB / 0.7176 GB, free: 2.016 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.059e-05/0.2165, allocations: 81.11 kB / 0.7177 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001311/0.2178, allocations: 1.207 MB / 0.7189 GB, free: 0.6953 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.273e-05/0.2178, allocations: 33.7 kB / 0.7189 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002627/0.2181, allocations: 261.9 kB / 0.7192 GB, free: 404 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.051e-05/0.2182, allocations: 19.86 kB / 0.7192 GB, free: 384 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003903/0.2185, allocations: 355.5 kB / 0.7195 GB, free: 24 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2187, allocations: 313.9 kB / 0.7198 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.2202, allocations: 1.361 MB / 0.7211 GB, free: 14.35 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001572/0.2218, allocations: 1.497 MB / 0.7226 GB, free: 12.84 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007548/0.2293, allocations: 3.541 MB / 0.7261 GB, free: 9.207 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.2293, allocations: 0 / 0.7261 GB, free: 9.207 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004944/0.2343, allocations: 3.965 MB / 0.7299 GB, free: 5.207 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.982e-05/0.2343, allocations: 7.984 kB / 0.7299 GB, free: 5.199 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.897e-05/0.2343, allocations: 8.031 kB / 0.7299 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.104e-05/0.2343, allocations: 0 / 0.7299 GB, free: 5.191 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001361/0.2345, allocations: 12 kB / 0.73 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.2345, allocations: 0 / 0.73 GB, free: 5.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005467/0.235, allocations: 245.3 kB / 0.7302 GB, free: 4.938 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.694e-05/0.2351, allocations: 23.98 kB / 0.7302 GB, free: 4.914 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.0003505/0.2354, allocations: 244.4 kB / 0.7305 GB, free: 4.668 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.2355, allocations: 67.34 kB / 0.7305 GB, free: 4.602 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001145/0.2367, allocations: 0.9437 MB / 0.7314 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.489e-06/0.2367, allocations: 0 / 0.7314 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.2367, allocations: 0 / 0.7314 GB, free: 3.645 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.463e-06/0.2367, allocations: 4 kB / 0.7314 GB, free: 3.641 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005169/0.2372, allocations: 475.7 kB / 0.7319 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.2372, allocations: 0 / 0.7319 GB, free: 3.137 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.233e-05/0.2373, allocations: 7.984 kB / 0.7319 GB, free: 3.129 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.522e-06/0.2373, allocations: 4 kB / 0.7319 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.2373, allocations: 0 / 0.7319 GB, free: 3.125 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2373, allocations: 4.031 kB / 0.7319 GB, free: 3.121 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.2373, allocations: 7.938 kB / 0.7319 GB, free: 3.113 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009916/0.2383, allocations: 1.002 MB / 0.7329 GB, free: 2.09 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001188/0.2384, allocations: 83.34 kB / 0.733 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.783e-05/0.2385, allocations: 0 / 0.733 GB, free: 2.008 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001373/0.2386, allocations: 7.984 kB / 0.733 GB, free: 2 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.883e-05/0.2387, allocations: 7.984 kB / 0.733 GB, free: 1.992 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.589e-05/0.2387, allocations: 11.98 kB / 0.733 GB, free: 1.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008082/0.2395, allocations: 0.6687 MB / 0.7337 GB, free: 1.305 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.2395, allocations: 0 / 0.7337 GB, free: 1.305 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001322/0.2408, allocations: 403 kB / 0.734 GB, free: 0.9102 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.003024/0.2439, allocations: 1.931 MB / 0.7359 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002185/0.2461, allocations: 1.948 MB / 0.7378 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.2461, allocations: 0 / 0.7378 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003649/0.2464, allocations: 336.3 kB / 0.7381 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000326/0.2468, allocations: 45 kB / 0.7382 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3186/0.5653, allocations: 15.06 MB / 0.7529 GB, free: 45.52 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005165/0.5659, allocations: 370.7 kB / 0.7533 GB, free: 45.43 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002715/0.5661, allocations: 34.41 kB / 0.7533 GB, free: 45.43 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003501/0.5665, allocations: 261.5 kB / 0.7535 GB, free: 45.42 MB / 0.5606 GB Notification: Performance of SimCode: time 1.884e-06/0.5665, allocations: 0 / 0.7535 GB, free: 45.42 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05707/0.6235, allocations: 20.52 MB / 0.7736 GB, free: 39.44 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.95/13.57, allocations: 6.484 kB / 0.7736 GB, free: 39.44 MB / 0.5606 GB " [Timeout remaining time 646] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --stepSize=164800 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 18.08522579795681] Failed to read output from testmodel.py, exit status != 0: 13.740451992023736 13.751465409 13.547697347 Calling exit ...