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.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.001718/0.001718, allocations: 111.3 kB / 16.46 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.001705/0.001705, 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.366/1.366, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.8101/0.8101, allocations: 134 MB / 436.6 MB, free: 1.281 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_1borehole_5meters,fileNamePrefix="IDEAS_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters",fmuType="me",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="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001865/0.001865, allocations: 68.83 kB / 0.6052 GB, free: 15.67 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1682/0.1701, allocations: 84.67 MB / 0.6879 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002897/0.173, allocations: 1.416 MB / 0.6892 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00522/0.1782, allocations: 3.049 MB / 0.6922 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.1783, allocations: 7.938 kB / 0.6922 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001281/0.1784, allocations: 11.86 kB / 0.6922 GB, free: 6.578 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0002527/0.1786, allocations: 27.84 kB / 0.6923 GB, free: 6.551 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002731/0.1814, allocations: 0.9932 MB / 0.6932 GB, free: 5.555 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001564/0.1815, allocations: 91.67 kB / 0.6933 GB, free: 5.465 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.103e-05/0.1816, allocations: 4 kB / 0.6933 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.829e-05/0.1816, allocations: 39.84 kB / 0.6934 GB, free: 5.422 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002232/0.1819, allocations: 143.6 kB / 0.6935 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 3.749e-05/0.1819, allocations: 16 kB / 0.6935 GB, free: 5.266 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002212/0.1841, allocations: 1.416 MB / 0.6949 GB, free: 3.848 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0002322/0.1843, allocations: 263.8 kB / 0.6952 GB, free: 3.586 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.000253/0.1846, allocations: 278.3 kB / 0.6954 GB, free: 3.312 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001908/0.1865, allocations: 1.483 MB / 0.6969 GB, free: 1.824 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.1865, allocations: 4 kB / 0.6969 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1865, allocations: 0 / 0.6969 GB, free: 1.82 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.405e-05/0.1865, allocations: 0 / 0.6969 GB, free: 1.82 MB / 0.5137 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.008009/0.1945, allocations: 1.247 MB / 0.6981 GB, free: 0.5195 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.31e-05/0.1946, allocations: 12.03 kB / 0.6981 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.941e-05/0.1946, allocations: 30.75 kB / 0.6981 GB, free: 480 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003658/0.195, allocations: 96.23 kB / 0.6982 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004719/0.1955, allocations: 360.9 kB / 0.6986 GB, free: 15.97 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.511e-05/0.1955, allocations: 8.109 kB / 0.6986 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.021e-05/0.1955, allocations: 4 kB / 0.6986 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004644/0.196, allocations: 387.1 kB / 0.6989 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.487e-06/0.196, allocations: 0 / 0.6989 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.52e-05/0.196, allocations: 8 kB / 0.699 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.758e-06/0.196, allocations: 0 / 0.699 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004623/0.1965, allocations: 435.7 kB / 0.6994 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006457/0.1971, allocations: 0.6408 MB / 0.7 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006/0.1977, allocations: 0.5671 MB / 0.7006 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003396/0.198, allocations: 337.7 kB / 0.7009 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.1992, allocations: 1.017 MB / 0.7019 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004434/0.1996, allocations: 412.8 kB / 0.7023 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.553e-06/0.1996, allocations: 0 / 0.7023 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001476/0.2011, allocations: 1.289 MB / 0.7035 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.2012, allocations: 81.09 kB / 0.7036 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001253/0.2024, allocations: 1.211 MB / 0.7048 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.698e-05/0.2025, allocations: 37.7 kB / 0.7048 GB, free: 9.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002087/0.2027, allocations: 257.9 kB / 0.7051 GB, free: 8.941 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 5.043e-05/0.2027, allocations: 23.83 kB / 0.7051 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003801/0.2031, allocations: 351.5 kB / 0.7054 GB, free: 8.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001695/0.2033, allocations: 306 kB / 0.7057 GB, free: 8.266 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/0.2047, allocations: 1.365 MB / 0.707 GB, free: 6.898 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001559/0.2063, allocations: 1.493 MB / 0.7085 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00735/0.2136, allocations: 3.545 MB / 0.712 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.62e-06/0.2136, allocations: 0 / 0.712 GB, free: 1.758 MB / 0.5294 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004562/0.2182, allocations: 3.966 MB / 0.7158 GB, free: 13.76 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.2182, allocations: 8.031 kB / 0.7158 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.2182, allocations: 4 kB / 0.7158 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.2182, allocations: 0 / 0.7158 GB, free: 13.75 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001387/0.2184, allocations: 19.92 kB / 0.7159 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.2184, allocations: 3.938 kB / 0.7159 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.2189, allocations: 245.3 kB / 0.7161 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.828e-05/0.2189, allocations: 19.98 kB / 0.7161 GB, free: 13.46 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.0003479/0.2193, allocations: 249.6 kB / 0.7164 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.699e-05/0.2193, allocations: 75.31 kB / 0.7164 GB, free: 13.13 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002734/0.2196, allocations: 74.84 kB / 0.7165 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.968e-06/0.2196, allocations: 0 / 0.7165 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.604e-06/0.2196, allocations: 4 kB / 0.7165 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.2196, allocations: 0 / 0.7165 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000505/0.2201, allocations: 496.7 kB / 0.717 GB, free: 12.52 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.2201, allocations: 4 kB / 0.717 GB, free: 12.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.812e-05/0.2202, allocations: 12.02 kB / 0.717 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2202, allocations: 0 / 0.717 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.566e-05/0.2202, allocations: 4 kB / 0.717 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.2202, allocations: 0 / 0.717 GB, free: 12.5 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.2202, allocations: 3.984 kB / 0.717 GB, free: 12.49 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001082/0.2213, allocations: 1.014 MB / 0.718 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.2215, allocations: 152.5 kB / 0.7181 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.521e-05/0.2215, allocations: 3.984 kB / 0.7181 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001253/0.2216, allocations: 4 kB / 0.7181 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.845e-05/0.2217, allocations: 7.984 kB / 0.7182 GB, free: 11.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.461e-05/0.2217, allocations: 11.98 kB / 0.7182 GB, free: 11.26 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0007662/0.2225, allocations: 0.6648 MB / 0.7188 GB, free: 10.59 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.2225, allocations: 0 / 0.7188 GB, free: 10.59 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001127/0.2236, allocations: 415 kB / 0.7192 GB, free: 10.18 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.002456/0.2261, allocations: 1.923 MB / 0.7211 GB, free: 8.223 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002189/0.2283, allocations: 1.941 MB / 0.723 GB, free: 6.273 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.434e-06/0.2283, allocations: 4.062 kB / 0.723 GB, free: 6.27 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003727/0.2286, allocations: 335.8 kB / 0.7233 GB, free: 5.941 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002997/0.2289, allocations: 37.97 kB / 0.7233 GB, free: 5.906 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01616/0.2451, allocations: 15.06 MB / 0.7381 GB, free: 6.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006534/0.2458, allocations: 0.9679 MB / 0.739 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001478/0.2459, allocations: 32.56 kB / 0.739 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003187/0.2462, allocations: 259.3 kB / 0.7393 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of SimCode: time 1.343e-06/0.2462, allocations: 0 / 0.7393 GB, free: 5.391 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05151/0.2977, allocations: 19.68 MB / 0.7585 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.39/10.68, allocations: 12.66 kB / 0.7585 GB, free: 1.895 MB / 0.5762 GB " [Timeout remaining time 649] (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: 14.616171412635595] Failed to read output from testmodel.py, exit status != 0: 10.763386189006269 11.08427614 10.895329438 Calling exit ...