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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 80.75 kB / 19.94 MB, free: 4.547 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001295/0.001295, allocations: 181 kB / 23.36 MB, free: 1.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9441/0.9441, allocations: 177.1 MB / 203.8 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7624/0.7624, allocations: 154.9 MB / 415.1 MB, free: 260 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.813e-06/1.813e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.512 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.856e-05, allocations: 7.438 kB / 480.4 MB, free: 6.508 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003273/0.003302, allocations: 1.797 MB / 482.2 MB, free: 4.738 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.008691/0.01199, allocations: 5.204 MB / 487.4 MB, free: 15.56 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001445/0.01214, allocations: 3.938 kB / 487.5 MB, free: 15.55 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001399/0.01354, allocations: 352.1 kB / 487.8 MB, free: 15.21 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001815/0.01372, allocations: 65.41 kB / 487.9 MB, free: 15.15 MB / 458.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.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'. Notification: Performance of NFTyping.typeClassSections: time 0.004748/0.01847, allocations: 1.625 MB / 489.5 MB, free: 13.53 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003552/0.01882, allocations: 164.7 kB / 489.6 MB, free: 13.37 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.701e-05/0.01889, allocations: 14.41 kB / 489.7 MB, free: 13.36 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001581/0.01905, allocations: 79.8 kB / 489.7 MB, free: 13.28 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001482/0.01919, allocations: 58.92 kB / 489.8 MB, free: 13.22 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.01922, allocations: 7.938 kB / 489.8 MB, free: 13.21 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004742/0.02396, allocations: 2.394 MB / 492.2 MB, free: 10.84 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000228/0.02419, allocations: 263.2 kB / 492.5 MB, free: 10.58 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001767/0.02436, allocations: 135.3 kB / 492.6 MB, free: 10.45 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003898/0.02826, allocations: 2.366 MB / 495 MB, free: 8.074 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.02827, allocations: 0 / 495 MB, free: 8.074 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.974e-06/0.02827, allocations: 1.344 kB / 495 MB, free: 8.074 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.02828, allocations: 0 / 495 MB, free: 8.074 MB / 458.7 MB 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.002145/0.03043, allocations: 1.277 MB / 496.2 MB, free: 6.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.776e-05/0.03047, allocations: 8.656 kB / 496.2 MB, free: 6.762 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003135/0.03078, allocations: 34.92 kB / 496.3 MB, free: 6.73 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004424/0.03122, allocations: 327.8 kB / 496.6 MB, free: 6.375 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.03124, allocations: 11.66 kB / 496.6 MB, free: 6.367 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.215e-05/0.03128, allocations: 4.875 kB / 496.6 MB, free: 6.363 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002932/0.03157, allocations: 229.4 kB / 496.8 MB, free: 6.125 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.03158, allocations: 0.9062 kB / 496.8 MB, free: 6.125 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.271e-05/0.0316, allocations: 4.375 kB / 496.8 MB, free: 6.121 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.903e-06/0.0316, allocations: 4.969 kB / 496.8 MB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001986/0.0318, allocations: 195.8 kB / 497 MB, free: 5.926 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.03213, allocations: 265 kB / 497.3 MB, free: 5.648 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002796/0.03241, allocations: 283.1 kB / 497.6 MB, free: 5.355 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001468/0.03255, allocations: 157.7 kB / 497.7 MB, free: 5.195 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004439/0.033, allocations: 132.2 kB / 497.9 MB, free: 5.07 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002585/0.03326, allocations: 222.6 kB / 498.1 MB, free: 4.836 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.913e-06/0.03326, allocations: 0 / 498.1 MB, free: 4.836 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.00079/0.03405, allocations: 498.6 kB / 498.6 MB, free: 4.344 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.0341, allocations: 85.05 kB / 498.6 MB, free: 4.242 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009433/0.03504, allocations: 1.064 MB / 499.7 MB, free: 3.168 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.917e-05/0.03508, allocations: 25.7 kB / 499.7 MB, free: 3.137 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001799/0.03526, allocations: 274.6 kB / 500 MB, free: 2.863 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.583e-05/0.03531, allocations: 27.83 kB / 0.4883 GB, free: 2.836 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003319/0.03564, allocations: 333.2 kB / 0.4886 GB, free: 2.508 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.03574, allocations: 325.9 kB / 0.4889 GB, free: 2.184 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005228/0.03626, allocations: 0.5058 MB / 0.4894 GB, free: 1.676 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005578/0.03682, allocations: 0.5992 MB / 0.49 GB, free: 1.066 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.03899, allocations: 2.237 MB / 0.4922 GB, free: 14.74 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.039, allocations: 0 / 0.4922 GB, free: 14.74 MB / 474.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002886/0.04188, allocations: 3.738 MB / 0.4958 GB, free: 10.97 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.0419, allocations: 4 kB / 0.4959 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.551e-05/0.04191, allocations: 1.094 kB / 0.4959 GB, free: 10.97 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.308e-05/0.04193, allocations: 4 kB / 0.4959 GB, free: 10.96 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.04204, allocations: 23.92 kB / 0.4959 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.007e-06/0.04205, allocations: 0.9688 kB / 0.4959 GB, free: 10.94 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002618/0.04231, allocations: 246 kB / 0.4961 GB, free: 10.7 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.107e-05/0.04234, allocations: 19.98 kB / 0.4961 GB, free: 10.68 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 13 (labels[1],cluSiz[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.0001485/0.04249, allocations: 118.3 kB / 0.4962 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.677e-05/0.04251, allocations: 11.98 kB / 0.4963 GB, free: 10.54 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003048/0.04282, allocations: 381.6 kB / 0.4966 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.04282, allocations: 0 / 0.4966 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.04282, allocations: 0 / 0.4966 GB, free: 10.17 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.04283, allocations: 3.938 kB / 0.4966 GB, free: 10.16 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002299/0.04306, allocations: 311.2 kB / 0.4969 GB, free: 9.844 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.04306, allocations: 2.656 kB / 0.4969 GB, free: 9.844 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.711e-05/0.04311, allocations: 7.984 kB / 0.4969 GB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.04311, allocations: 0 / 0.4969 GB, free: 9.836 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.654e-06/0.04312, allocations: 4 kB / 0.4969 GB, free: 9.832 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.04312, allocations: 0 / 0.4969 GB, free: 9.832 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.04312, allocations: 3.938 kB / 0.4969 GB, free: 9.828 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002413/0.04336, allocations: 380.2 kB / 0.4973 GB, free: 9.438 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.032e-05/0.04342, allocations: 84.94 kB / 0.4974 GB, free: 9.355 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.798e-05/0.04346, allocations: 8.766 kB / 0.4974 GB, free: 9.348 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.283e-05/0.04353, allocations: 4 kB / 0.4974 GB, free: 9.344 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.614e-05/0.04356, allocations: 9.422 kB / 0.4974 GB, free: 9.336 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.598e-05/0.04358, allocations: 11.98 kB / 0.4974 GB, free: 9.324 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002765/0.04386, allocations: 430.8 kB / 0.4978 GB, free: 8.898 MB / 474.7 MB Notification: Performance of sort global known variables: time 6e-08/0.04386, allocations: 1.031 kB / 0.4978 GB, free: 8.898 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001142/0.045, allocations: 0.5845 MB / 0.4984 GB, free: 8.312 MB / 474.7 MB 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.00136/0.04636, allocations: 0.818 MB / 0.4992 GB, free: 7.543 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006804/0.04704, allocations: 0.9652 MB / 0.5001 GB, free: 6.559 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.279e-05/0.04706, allocations: 13.19 kB / 0.5002 GB, free: 6.547 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001034/0.04716, allocations: 156.9 kB / 0.5003 GB, free: 6.391 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.04739, allocations: 66.73 kB / 0.5004 GB, free: 6.324 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001546/0.04893, allocations: 1.545 MB / 0.5019 GB, free: 4.75 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001125/0.04905, allocations: 199.6 kB / 0.5021 GB, free: 4.535 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 8.782e-05/0.04913, allocations: 34.27 kB / 0.5021 GB, free: 4.512 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001356/0.04927, allocations: 88.05 kB / 0.5022 GB, free: 4.426 MB / 474.7 MB Notification: Performance of SimCode: time 6.61e-07/0.04927, allocations: 0 / 0.5022 GB, free: 4.426 MB / 474.7 MB Notification: Performance of Templates: time 0.02007/0.06934, allocations: 16.21 MB / 0.518 GB, free: 4.629 MB / 490.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.145711957942694]