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_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.001301/0.001301, allocations: 113.8 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.001311/0.001311, 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.434/1.434, allocations: 225.6 MB / 249.4 MB, free: 3.172 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.128/1.128, allocations: 175.7 MB / 480.2 MB, free: 3.172 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_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001914/0.001914, allocations: 73.42 kB / 0.6685 GB, free: 10.51 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1658, allocations: 94.52 MB / 0.7608 GB, free: 292 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003055/0.1689, allocations: 1.778 MB / 0.7625 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008212/0.1771, allocations: 5.458 MB / 0.7678 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.014e-05/0.1772, allocations: 0 / 0.7678 GB, free: 9.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001124/0.1783, allocations: 374.4 kB / 0.7682 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001192/0.1784, allocations: 59.66 kB / 0.7682 GB, free: 8.598 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.003529/0.1819, allocations: 1.515 MB / 0.7697 GB, free: 7.078 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002388/0.1822, allocations: 163.4 kB / 0.7699 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.174e-05/0.1822, allocations: 9.5 kB / 0.7699 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.362e-05/0.1823, allocations: 59.72 kB / 0.7699 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002248/0.1825, allocations: 167.5 kB / 0.7701 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.453e-05/0.1826, allocations: 19.92 kB / 0.7701 GB, free: 6.668 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003292/0.1859, allocations: 2.309 MB / 0.7724 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002447/0.1861, allocations: 275.8 kB / 0.7726 GB, free: 4.082 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002762/0.1864, allocations: 310.1 kB / 0.7729 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002744/0.1891, allocations: 2.196 MB / 0.7751 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1891, allocations: 0 / 0.7751 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.383e-06/0.1891, allocations: 0 / 0.7751 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.634e-06/0.1891, allocations: 0 / 0.7751 GB, free: 1.574 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.008979/0.1981, allocations: 1.41 MB / 0.7765 GB, free: 112 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.296e-05/0.1982, allocations: 12.03 kB / 0.7765 GB, free: 100 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004133/0.1986, allocations: 109.5 kB / 0.7766 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005625/0.1991, allocations: 406.3 kB / 0.777 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.538e-05/0.1991, allocations: 10.94 kB / 0.777 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.273e-05/0.1992, allocations: 11.98 kB / 0.777 GB, free: 15.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004592/0.1997, allocations: 391.2 kB / 0.7774 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/0.1997, allocations: 3.984 kB / 0.7774 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.209e-05/0.1997, allocations: 0 / 0.7774 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1997, allocations: 4 kB / 0.7774 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000472/0.2001, allocations: 427.8 kB / 0.7778 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007028/0.2009, allocations: 0.6775 MB / 0.7784 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005749/0.2014, allocations: 0.5594 MB / 0.779 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003482/0.2018, allocations: 337.7 kB / 0.7793 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001103/0.2029, allocations: 1.028 MB / 0.7803 GB, free: 11.81 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004441/0.2033, allocations: 404.8 kB / 0.7807 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.183e-06/0.2033, allocations: 0 / 0.7807 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001482/0.2048, allocations: 1.309 MB / 0.782 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.677e-05/0.2049, allocations: 77.11 kB / 0.782 GB, free: 9.988 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.2062, allocations: 1.298 MB / 0.7833 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.2063, allocations: 33.7 kB / 0.7833 GB, free: 8.641 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.2065, allocations: 285.9 kB / 0.7836 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.428e-05/0.2065, allocations: 23.84 kB / 0.7836 GB, free: 8.332 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003684/0.2069, allocations: 351.6 kB / 0.784 GB, free: 7.984 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.207, allocations: 321.9 kB / 0.7843 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001379/0.2084, allocations: 1.373 MB / 0.7856 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/0.2099, allocations: 1.507 MB / 0.7871 GB, free: 4.773 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007662/0.2176, allocations: 3.556 MB / 0.7906 GB, free: 1.125 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.2176, allocations: 4 kB / 0.7906 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004783/0.2224, allocations: 4.019 MB / 0.7945 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.2224, allocations: 4 kB / 0.7945 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.756e-05/0.2224, allocations: 4 kB / 0.7945 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.2224, allocations: 0 / 0.7945 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001306/0.2225, allocations: 15.98 kB / 0.7945 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2225, allocations: 4 kB / 0.7945 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.223, allocations: 245.3 kB / 0.7948 GB, free: 12.8 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.61e-05/0.2231, allocations: 23.98 kB / 0.7948 GB, free: 12.77 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.000328/0.2234, allocations: 249.6 kB / 0.795 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.032e-05/0.2235, allocations: 91.19 kB / 0.7951 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001089/0.2246, allocations: 0.9446 MB / 0.796 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/0.2246, allocations: 4.031 kB / 0.796 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2246, allocations: 4 kB / 0.796 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.2246, allocations: 3.938 kB / 0.796 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005076/0.2251, allocations: 0.5179 MB / 0.7965 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.2251, allocations: 0 / 0.7965 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.309e-05/0.2252, allocations: 7.984 kB / 0.7965 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.2252, allocations: 0 / 0.7965 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.521e-05/0.2252, allocations: 4 kB / 0.7966 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2252, allocations: 0 / 0.7966 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.2252, allocations: 4.375 kB / 0.7966 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.2262, allocations: 1.022 MB / 0.7976 GB, free: 9.844 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001381/0.2264, allocations: 164.4 kB / 0.7977 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.618e-05/0.2264, allocations: 3.984 kB / 0.7977 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001497/0.2266, allocations: 4 kB / 0.7977 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.767e-05/0.2266, allocations: 11.92 kB / 0.7977 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.218e-05/0.2267, allocations: 15.98 kB / 0.7977 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0008574/0.2275, allocations: 0.7222 MB / 0.7985 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2275, allocations: 0 / 0.7985 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001441/0.229, allocations: 0.5923 MB / 0.799 GB, free: 8.309 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.001762/0.2307, allocations: 0.69 MB / 0.7997 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.002167/0.2329, allocations: 2.005 MB / 0.8017 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.2329, allocations: 0 / 0.8017 GB, free: 5.609 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/0.2332, allocations: 339.7 kB / 0.802 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003834/0.2336, allocations: 57.42 kB / 0.802 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002375/0.236, allocations: 1.895 MB / 0.8039 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006332/0.2366, allocations: 0.9956 MB / 0.8049 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001469/0.2368, allocations: 37.42 kB / 0.8049 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001013/0.2369, allocations: 27.42 kB / 0.8049 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of SimCode: time 4.11e-07/0.2369, allocations: 0 / 0.8049 GB, free: 2.199 MB / 0.6075 GB Notification: Performance of Templates: time 0.02493/0.2618, allocations: 14.35 MB / 0.8189 GB, free: 3.914 MB / 0.6231 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.882872200571001]