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.001636/0.001635, allocations: 104.1 kB / 16.4 MB, free: 6.02 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.001666/0.001666, allocations: 194.8 kB / 19.35 MB, free: 3.598 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.443/1.443, allocations: 222.9 MB / 245 MB, free: 15 MB / 206.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.122/1.122, allocations: 173.4 MB / 470.6 MB, free: 13.64 MB / 382.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.001996/0.001997, allocations: 71.73 kB / 0.6483 GB, free: 11.21 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1764/0.1784, allocations: 89.5 MB / 0.7357 GB, free: 1.703 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003004/0.1815, allocations: 1.746 MB / 0.7375 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.007985/0.1895, allocations: 5.403 MB / 0.7427 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.806e-05/0.1896, allocations: 0 / 0.7427 GB, free: 10.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001145/0.1908, allocations: 370.4 kB / 0.7431 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001239/0.1909, allocations: 51.67 kB / 0.7431 GB, free: 10.11 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.003593/0.1945, allocations: 1.513 MB / 0.7446 GB, free: 8.598 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002651/0.1948, allocations: 163.3 kB / 0.7448 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.4e-05/0.1948, allocations: 9.562 kB / 0.7448 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 8.31e-05/0.1949, allocations: 59.72 kB / 0.7448 GB, free: 8.371 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002579/0.1952, allocations: 159.5 kB / 0.745 GB, free: 8.215 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.038e-05/0.1952, allocations: 16 kB / 0.745 GB, free: 8.199 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003324/0.1986, allocations: 2.208 MB / 0.7472 GB, free: 5.988 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.1988, allocations: 283.8 kB / 0.7474 GB, free: 5.707 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003041/0.1992, allocations: 298.2 kB / 0.7477 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.202, allocations: 2.204 MB / 0.7499 GB, free: 3.203 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2021, allocations: 3.938 kB / 0.7499 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.203e-06/0.2021, allocations: 0 / 0.7499 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.2021, allocations: 0 / 0.7499 GB, free: 3.199 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.01101/0.2131, allocations: 1.414 MB / 0.7512 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.2131, allocations: 8.031 kB / 0.7513 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003803/0.2135, allocations: 100.2 kB / 0.7513 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005726/0.2141, allocations: 410.4 kB / 0.7517 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.2141, allocations: 12.3 kB / 0.7517 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.066e-05/0.2142, allocations: 11.94 kB / 0.7518 GB, free: 1.152 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004804/0.2147, allocations: 383.2 kB / 0.7521 GB, free: 0.7656 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/0.2147, allocations: 4 kB / 0.7521 GB, free: 0.7617 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.2147, allocations: 3.938 kB / 0.7521 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.2147, allocations: 0 / 0.7521 GB, free: 0.7578 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005089/0.2152, allocations: 435.7 kB / 0.7525 GB, free: 340 kB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3127/0.528, allocations: 0.672 MB / 0.7532 GB, free: 17.87 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007676/0.5288, allocations: 0.5639 MB / 0.7538 GB, free: 17.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003639/0.5291, allocations: 337.6 kB / 0.7541 GB, free: 17.81 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007402/0.5299, allocations: 1.028 MB / 0.7551 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004029/0.5303, allocations: 407.1 kB / 0.7555 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=8): time 1.603e-06/0.5303, allocations: 0 / 0.7555 GB, free: 16.62 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8): time 0.001447/0.5318, allocations: 1.299 MB / 0.7567 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.5318, allocations: 86.64 kB / 0.7568 GB, free: 16.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001336/0.5332, allocations: 1.294 MB / 0.7581 GB, free: 16.26 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.911e-05/0.5332, allocations: 33.84 kB / 0.7581 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002268/0.5335, allocations: 290 kB / 0.7584 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.769e-05/0.5335, allocations: 18.94 kB / 0.7584 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003836/0.5339, allocations: 354.2 kB / 0.7587 GB, free: 16.07 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.139e-05/0.534, allocations: 323.4 kB / 0.7591 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00101/0.535, allocations: 1.37 MB / 0.7604 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001152/0.5362, allocations: 1.502 MB / 0.7619 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006498/0.5427, allocations: 3.562 MB / 0.7653 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.5427, allocations: 1.906 kB / 0.7653 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004498/0.5472, allocations: 4.014 MB / 0.7693 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/0.5472, allocations: 6.234 kB / 0.7693 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.936e-05/0.5473, allocations: 4.344 kB / 0.7693 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.5473, allocations: 1.156 kB / 0.7693 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.5474, allocations: 24.33 kB / 0.7693 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.5475, allocations: 1.656 kB / 0.7693 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004918/0.548, allocations: 242.8 kB / 0.7695 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.605e-05/0.548, allocations: 23.44 kB / 0.7696 GB, free: 13.57 MB / 0.5762 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.0003468/0.5484, allocations: 248.4 kB / 0.7698 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.858e-05/0.5485, allocations: 81.17 kB / 0.7699 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002798/0.5487, allocations: 83.95 kB / 0.7699 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.5488, allocations: 5.031 kB / 0.77 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.5488, allocations: 1.969 kB / 0.77 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.5488, allocations: 1.047 kB / 0.77 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006964/0.5495, allocations: 0.515 MB / 0.7705 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.5495, allocations: 0.5938 kB / 0.7705 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.349e-05/0.5496, allocations: 12.39 kB / 0.7705 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.5496, allocations: 1.062 kB / 0.7705 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/0.5496, allocations: 3.578 kB / 0.7705 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.5496, allocations: 5 kB / 0.7705 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.5496, allocations: 1.266 kB / 0.7705 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001027/0.5506, allocations: 1.011 MB / 0.7715 GB, free: 13.01 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.151e-05/0.5508, allocations: 169.1 kB / 0.7716 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.767e-05/0.5508, allocations: 7.219 kB / 0.7716 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001437/0.551, allocations: 8.594 kB / 0.7716 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.387e-05/0.551, allocations: 8.656 kB / 0.7717 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.448e-05/0.5511, allocations: 13.11 kB / 0.7717 GB, free: 12.85 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008402/0.5519, allocations: 0.7252 MB / 0.7724 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5519, allocations: 0.9844 kB / 0.7724 GB, free: 12.74 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001537/0.5534, allocations: 0.5939 MB / 0.773 GB, free: 12.66 MB / 0.5762 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.001737/0.5552, allocations: 0.6948 MB / 0.7736 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002151/0.5574, allocations: 2.546 MB / 0.7761 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5574, allocations: 3.594 kB / 0.7761 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003592/0.5577, allocations: 341.9 kB / 0.7764 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004223/0.5582, allocations: 65.28 kB / 0.7765 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.5602, allocations: 1.883 MB / 0.7783 GB, free: 11.83 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004302/0.5606, allocations: 0.99 MB / 0.7793 GB, free: 11.14 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001531/0.5608, allocations: 49 kB / 0.7794 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001058/0.5609, allocations: 27.7 kB / 0.7794 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of SimCode: time 6.01e-07/0.5609, allocations: 0 / 0.7794 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.02357/0.5845, allocations: 14.19 MB / 0.7932 GB, free: 6.918 MB / 0.5762 GB " [Timeout remaining time 659] 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: 7.348027557134628]