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.00135/0.00135, allocations: 107.2 kB / 17.54 MB, free: 4.641 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.001374/0.001374, allocations: 189.9 kB / 20.71 MB, free: 1.484 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.269/1.269, allocations: 225.6 MB / 249.3 MB, free: 3.164 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9587/0.9587, allocations: 175.7 MB / 480.1 MB, free: 2.738 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: "" <> buildModelFMU(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,fileNamePrefix="IDEAS_dev_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_dev_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.001814/0.001814, allocations: 76.25 kB / 0.6678 GB, free: 10.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1483, allocations: 94.52 MB / 0.7601 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002147/0.1504, allocations: 1.446 MB / 0.7616 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.005794/0.1562, allocations: 4.261 MB / 0.7657 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.38e-05/0.1562, allocations: 0 / 0.7657 GB, free: 11 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.958e-05/0.1563, allocations: 11.86 kB / 0.7657 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1565, allocations: 39.77 kB / 0.7658 GB, free: 10.95 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.003338/0.1599, allocations: 1.504 MB / 0.7672 GB, free: 9.441 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001376/0.16, allocations: 103.7 kB / 0.7673 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.51e-05/0.16, allocations: 4 kB / 0.7673 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.693e-05/0.1601, allocations: 43.83 kB / 0.7674 GB, free: 9.293 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002086/0.1603, allocations: 151.6 kB / 0.7675 GB, free: 9.145 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.94e-05/0.1603, allocations: 16 kB / 0.7675 GB, free: 9.129 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00318/0.1635, allocations: 2.313 MB / 0.7698 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001995/0.1637, allocations: 259.9 kB / 0.77 GB, free: 6.555 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002302/0.164, allocations: 286.2 kB / 0.7703 GB, free: 6.273 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002268/0.1662, allocations: 2.119 MB / 0.7724 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.1662, allocations: 0 / 0.7724 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1662, allocations: 0 / 0.7724 GB, free: 4.148 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.402e-06/0.1662, allocations: 7.938 kB / 0.7724 GB, free: 4.141 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.009212/0.1754, allocations: 1.344 MB / 0.7737 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.397e-05/0.1755, allocations: 9.109 kB / 0.7737 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.494e-05/0.1755, allocations: 38.67 kB / 0.7738 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003348/0.1758, allocations: 92.25 kB / 0.7738 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003558/0.1762, allocations: 361 kB / 0.7742 GB, free: 2.195 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.1762, allocations: 12.12 kB / 0.7742 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.024e-05/0.1763, allocations: 8 kB / 0.7742 GB, free: 2.176 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000409/0.1767, allocations: 395.1 kB / 0.7746 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.1767, allocations: 3.938 kB / 0.7746 GB, free: 1.773 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.1767, allocations: 3.938 kB / 0.7746 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1767, allocations: 4 kB / 0.7746 GB, free: 1.766 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.1771, allocations: 435.7 kB / 0.775 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005503/0.1777, allocations: 0.641 MB / 0.7756 GB, free: 0.6484 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004927/0.1782, allocations: 0.5593 MB / 0.7762 GB, free: 72 kB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003174/0.1785, allocations: 337.7 kB / 0.7765 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001/0.1795, allocations: 1.032 MB / 0.7775 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003808/0.1799, allocations: 404.8 kB / 0.7779 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=8): time 1.172e-06/0.1799, allocations: 0 / 0.7779 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=8): time 0.001275/0.1811, allocations: 1.289 MB / 0.7792 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.1812, allocations: 89.03 kB / 0.7792 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001095/0.1823, allocations: 1.215 MB / 0.7804 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.87e-05/0.1823, allocations: 33.69 kB / 0.7805 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.1825, allocations: 266.1 kB / 0.7807 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.993e-05/0.1825, allocations: 19.89 kB / 0.7807 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003136/0.1829, allocations: 355.6 kB / 0.7811 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.183, allocations: 310 kB / 0.7814 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001207/0.1842, allocations: 1.369 MB / 0.7827 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001296/0.1855, allocations: 1.505 MB / 0.7842 GB, free: 7.562 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006669/0.1921, allocations: 3.564 MB / 0.7877 GB, free: 3.906 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.467e-06/0.1921, allocations: 3.938 kB / 0.7877 GB, free: 3.902 MB / 0.5919 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004151/0.1963, allocations: 4.007 MB / 0.7916 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.1963, allocations: 4 kB / 0.7916 GB, free: 15.86 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.1963, allocations: 8.031 kB / 0.7916 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.1963, allocations: 0 / 0.7916 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001198/0.1965, allocations: 19.92 kB / 0.7916 GB, free: 15.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.1965, allocations: 4 kB / 0.7916 GB, free: 15.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000455/0.1969, allocations: 241.3 kB / 0.7918 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.676e-05/0.197, allocations: 27.98 kB / 0.7919 GB, free: 15.56 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.0002826/0.1972, allocations: 240.9 kB / 0.7921 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.856e-05/0.1973, allocations: 71.34 kB / 0.7922 GB, free: 15.25 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009398/0.1982, allocations: 0.9399 MB / 0.7931 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/0.1982, allocations: 0 / 0.7931 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.298e-06/0.1983, allocations: 4 kB / 0.7931 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1983, allocations: 0 / 0.7931 GB, free: 14.29 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004133/0.1987, allocations: 0.5007 MB / 0.7936 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1987, allocations: 0 / 0.7936 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.1987, allocations: 7.984 kB / 0.7936 GB, free: 13.74 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.1987, allocations: 8.031 kB / 0.7936 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1988, allocations: 7.938 kB / 0.7936 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.412e-06/0.1988, allocations: 0 / 0.7936 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.976e-06/0.1988, allocations: 4 kB / 0.7936 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008794/0.1996, allocations: 0.998 MB / 0.7946 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.1997, allocations: 160.5 kB / 0.7947 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.073e-05/0.1998, allocations: 0 / 0.7947 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001329/0.1999, allocations: 11.98 kB / 0.7947 GB, free: 12.51 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.321e-05/0.2, allocations: 8 kB / 0.7947 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.386e-05/0.2, allocations: 15.97 kB / 0.7948 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0006753/0.2007, allocations: 0.665 MB / 0.7954 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2007, allocations: 7.938 kB / 0.7954 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001328/0.202, allocations: 0.5844 MB / 0.796 GB, free: 11.22 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.002635/0.2046, allocations: 2.152 MB / 0.7981 GB, free: 9.055 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00191/0.2065, allocations: 1.997 MB / 0.8 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2065, allocations: 0 / 0.8 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003181/0.2069, allocations: 339.7 kB / 0.8004 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002646/0.2071, allocations: 36.61 kB / 0.8004 GB, free: 6.672 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.2211, allocations: 15.28 MB / 0.8153 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005173/0.2217, allocations: 0.964 MB / 0.8163 GB, free: 6.227 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.2218, allocations: 36.55 kB / 0.8163 GB, free: 6.188 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002953/0.2221, allocations: 263.3 kB / 0.8165 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of SimCode: time 5.61e-07/0.2221, allocations: 0 / 0.8165 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3264/0.5485, allocations: 23.9 MB / 0.8399 GB, free: 71.36 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.073/9.621, allocations: 2.656 kB / 0.8399 GB, free: 71.36 MB / 0.6387 GB " [Timeout remaining time 650] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters_fmu --startTime=0 --stopTime=4.12e+08 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Geothermal_Borefields_BaseClasses_HeatTransfer_ThermalResponseFactors_Validation_GFunction_1borehole_5meters.fmu > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.119655853995937]