Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001336/0.001336, allocations: 111.2 kB / 17.61 MB, free: 4.703 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.001297/0.001297, allocations: 186 kB / 20.78 MB, free: 1.547 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.452/1.452, allocations: 225.6 MB / 249.4 MB, free: 3.141 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.1/1.1, allocations: 175.7 MB / 480.2 MB, free: 2.777 MB / 366.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-master/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: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002118/0.002118, allocations: 64.44 kB / 0.6685 GB, free: 10.67 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1767, allocations: 94.53 MB / 0.7608 GB, free: 268 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.00289/0.1796, allocations: 1.439 MB / 0.7622 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007264/0.1868, allocations: 4.265 MB / 0.7663 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.063e-05/0.1869, allocations: 3.938 kB / 0.7663 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001124/0.187, allocations: 11.92 kB / 0.7663 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002619/0.1873, allocations: 35.77 kB / 0.7664 GB, free: 10.48 MB / 0.5762 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Math/Random.mo:1057:5-1146:31:writable] Warning: Pure function 'Modelica.Math.Random.Utilities.initializeImpureRandom' contains a call to impure function 'Modelica.Math.Random.Utilities.initializeImpureRandom.setInternalState'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Utilities/Clustering/KMeans.mo:96:7-96:35:writable] Warning: inertia was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of NFTyping.typeClassSections: time 0.004504/0.1918, allocations: 1.503 MB / 0.7679 GB, free: 8.977 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002154/0.192, allocations: 103.7 kB / 0.768 GB, free: 8.875 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.304e-05/0.192, allocations: 4 kB / 0.768 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001011/0.1921, allocations: 43.84 kB / 0.768 GB, free: 8.828 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002846/0.1924, allocations: 155.6 kB / 0.7681 GB, free: 8.676 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.543e-05/0.1925, allocations: 16 kB / 0.7682 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004224/0.1967, allocations: 2.309 MB / 0.7704 GB, free: 6.348 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002563/0.197, allocations: 259.9 kB / 0.7707 GB, free: 6.09 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003169/0.1973, allocations: 286.2 kB / 0.7709 GB, free: 5.809 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003824/0.2011, allocations: 2.122 MB / 0.773 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.2011, allocations: 0 / 0.773 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.634e-06/0.2011, allocations: 0 / 0.773 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.787e-05/0.2011, allocations: 0 / 0.773 GB, free: 3.68 MB / 0.5762 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.009335/0.2105, allocations: 1.343 MB / 0.7743 GB, free: 2.281 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2105, allocations: 9.109 kB / 0.7743 GB, free: 2.273 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004461/0.211, allocations: 96.23 kB / 0.7744 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004941/0.2115, allocations: 365 kB / 0.7748 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.2115, allocations: 8.375 kB / 0.7748 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.265e-05/0.2115, allocations: 7.938 kB / 0.7748 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005174/0.212, allocations: 391.2 kB / 0.7752 GB, free: 1.363 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.212, allocations: 11.88 kB / 0.7752 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.2121, allocations: 0 / 0.7752 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.2121, allocations: 0 / 0.7752 GB, free: 1.352 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000503/0.2126, allocations: 435.7 kB / 0.7756 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007711/0.2133, allocations: 0.6371 MB / 0.7762 GB, free: 244 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.214, allocations: 0.571 MB / 0.7768 GB, free: 15.65 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003675/0.2143, allocations: 333.7 kB / 0.7771 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/0.2156, allocations: 1.021 MB / 0.7781 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004961/0.2161, allocations: 412.8 kB / 0.7785 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.903e-06/0.2161, allocations: 0 / 0.7785 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001578/0.2177, allocations: 1.289 MB / 0.7797 GB, free: 12.36 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.29e-05/0.2178, allocations: 89.17 kB / 0.7798 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001404/0.2192, allocations: 1.219 MB / 0.781 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.397e-05/0.2192, allocations: 29.7 kB / 0.781 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002428/0.2195, allocations: 269.9 kB / 0.7813 GB, free: 10.71 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.2195, allocations: 19.89 kB / 0.7813 GB, free: 10.69 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004019/0.2199, allocations: 355.5 kB / 0.7817 GB, free: 10.34 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.22, allocations: 306 kB / 0.7819 GB, free: 10.04 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001393/0.2214, allocations: 1.373 MB / 0.7833 GB, free: 8.66 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001488/0.2229, allocations: 1.509 MB / 0.7848 GB, free: 7.141 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00747/0.2304, allocations: 3.56 MB / 0.7882 GB, free: 3.488 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.214e-06/0.2304, allocations: 7.875 kB / 0.7882 GB, free: 3.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004698/0.2351, allocations: 4.011 MB / 0.7922 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.2351, allocations: 4 kB / 0.7922 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.2351, allocations: 4 kB / 0.7922 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.663e-05/0.2352, allocations: 0 / 0.7922 GB, free: 15.43 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001392/0.2353, allocations: 19.92 kB / 0.7922 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.2353, allocations: 0 / 0.7922 GB, free: 15.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004963/0.2358, allocations: 245.3 kB / 0.7924 GB, free: 15.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.564e-05/0.2359, allocations: 28.02 kB / 0.7924 GB, free: 15.14 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (cluSiz[1],labels[1],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 (17): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 2 * 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.0003209/0.2362, allocations: 241.6 kB / 0.7927 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.368e-05/0.2363, allocations: 71.34 kB / 0.7927 GB, free: 14.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001114/0.2374, allocations: 0.9441 MB / 0.7937 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.2374, allocations: 0 / 0.7937 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.2374, allocations: 0 / 0.7937 GB, free: 13.87 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/0.2374, allocations: 4.031 kB / 0.7937 GB, free: 13.86 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004938/0.2379, allocations: 0.5008 MB / 0.7942 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.2379, allocations: 0 / 0.7942 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.397e-05/0.238, allocations: 7.984 kB / 0.7942 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.238, allocations: 0 / 0.7942 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.207e-05/0.238, allocations: 7.938 kB / 0.7942 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.238, allocations: 0 / 0.7942 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.238, allocations: 0 / 0.7942 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001013/0.239, allocations: 1.006 MB / 0.7952 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.2391, allocations: 156.5 kB / 0.7953 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.976e-05/0.2392, allocations: 4 kB / 0.7953 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001375/0.2393, allocations: 7.984 kB / 0.7953 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.795e-05/0.2393, allocations: 7.984 kB / 0.7953 GB, free: 12.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.644e-05/0.2394, allocations: 15.97 kB / 0.7953 GB, free: 12.07 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007654/0.2401, allocations: 0.6689 MB / 0.796 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2401, allocations: 3.938 kB / 0.796 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001532/0.2417, allocations: 0.5884 MB / 0.7966 GB, free: 10.8 MB / 0.6075 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.001844/0.2435, allocations: 0.694 MB / 0.7972 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002222/0.2457, allocations: 2.005 MB / 0.7992 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.106e-06/0.2457, allocations: 0 / 0.7992 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003629/0.2461, allocations: 327.8 kB / 0.7995 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003163/0.2464, allocations: 50.03 kB / 0.7996 GB, free: 7.719 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002257/0.2487, allocations: 1.77 MB / 0.8013 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.2493, allocations: 0.9679 MB / 0.8022 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001438/0.2494, allocations: 32.56 kB / 0.8023 GB, free: 4.887 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001102/0.2496, allocations: 31.41 kB / 0.8023 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of SimCode: time 9.82e-07/0.2496, allocations: 8 kB / 0.8023 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of Templates: time 0.02505/0.2746, allocations: 13.7 MB / 0.8157 GB, free: 7.191 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.970460622571409]