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.001475/0.001475, 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.001822/0.001822, allocations: 181 kB / 23.36 MB, free: 1.133 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.992/0.992, allocations: 177.1 MB / 203.8 MB, free: 5.461 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.7893/0.7893, allocations: 154.9 MB / 415.1 MB, free: 220 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.413e-06/1.413e-06, allocations: 0 / 480.5 MB, free: 6.395 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.181e-05/2.322e-05, allocations: 4.422 kB / 480.5 MB, free: 6.391 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003504/0.003527, allocations: 1.828 MB / 482.3 MB, free: 4.59 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.007985/0.01151, allocations: 5.212 MB / 487.5 MB, free: 15.4 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001648/0.01168, allocations: 4.625 kB / 487.5 MB, free: 15.4 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.01305, allocations: 369.4 kB / 487.9 MB, free: 15.04 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001734/0.01322, allocations: 63.59 kB / 488 MB, free: 14.98 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.00314/0.01636, allocations: 1.442 MB / 489.4 MB, free: 13.54 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002577/0.01662, allocations: 156.2 kB / 489.6 MB, free: 13.39 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.761e-05/0.01667, allocations: 6.469 kB / 489.6 MB, free: 13.38 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.519e-05/0.01676, allocations: 88.88 kB / 489.7 MB, free: 13.3 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001063/0.01687, allocations: 57.12 kB / 489.7 MB, free: 13.24 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.523e-05/0.01688, allocations: 4 kB / 489.7 MB, free: 13.24 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003257/0.02014, allocations: 2.589 MB / 492.3 MB, free: 10.66 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001794/0.02032, allocations: 263.2 kB / 492.6 MB, free: 10.41 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001286/0.02045, allocations: 136.6 kB / 492.7 MB, free: 10.27 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003464/0.02391, allocations: 2.368 MB / 495.1 MB, free: 7.898 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.02392, allocations: 1 kB / 495.1 MB, free: 7.898 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.02392, allocations: 0 / 495.1 MB, free: 7.898 MB / 458.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/0.02393, allocations: 0.7812 kB / 495.1 MB, free: 7.898 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.001675/0.0256, allocations: 1.274 MB / 496.3 MB, free: 6.598 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.02564, allocations: 9.906 kB / 496.4 MB, free: 6.59 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002432/0.02588, allocations: 32.89 kB / 496.4 MB, free: 6.559 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003311/0.02621, allocations: 328.4 kB / 496.7 MB, free: 6.203 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.132e-05/0.02622, allocations: 12.31 kB / 496.7 MB, free: 6.191 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.02625, allocations: 4.906 kB / 496.7 MB, free: 6.188 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000229/0.02648, allocations: 231.3 kB / 496.9 MB, free: 5.949 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.142e-06/0.02648, allocations: 192 / 496.9 MB, free: 5.949 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.578e-06/0.02649, allocations: 384 / 496.9 MB, free: 5.949 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.871e-06/0.0265, allocations: 4.781 kB / 497 MB, free: 5.945 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001261/0.02663, allocations: 195.9 kB / 497.1 MB, free: 5.754 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002236/0.02685, allocations: 265.1 kB / 497.4 MB, free: 5.477 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.02705, allocations: 285.2 kB / 497.7 MB, free: 5.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.976e-05/0.02715, allocations: 154.3 kB / 497.8 MB, free: 5.023 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003361/0.02749, allocations: 137.3 kB / 498 MB, free: 4.895 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002046/0.02769, allocations: 228.5 kB / 498.2 MB, free: 4.656 MB / 458.7 MB Notification: Performance of pre-optimization done (n=8): time 1.623e-06/0.02769, allocations: 0 / 498.2 MB, free: 4.656 MB / 458.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004234/0.02812, allocations: 498.7 kB / 498.7 MB, free: 4.164 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.919e-05/0.02815, allocations: 82.3 kB / 498.8 MB, free: 4.066 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006389/0.02879, allocations: 1.057 MB / 499.8 MB, free: 3 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 2.963e-05/0.02882, allocations: 29.7 kB / 499.8 MB, free: 2.965 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.02894, allocations: 273 kB / 0.4884 GB, free: 2.695 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.02898, allocations: 27.83 kB / 0.4884 GB, free: 2.668 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/0.02919, allocations: 336.2 kB / 0.4887 GB, free: 2.336 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.562e-05/0.02927, allocations: 314 kB / 0.489 GB, free: 2.023 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003444/0.02961, allocations: 0.5097 MB / 0.4895 GB, free: 1.512 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003698/0.02998, allocations: 0.6083 MB / 0.4901 GB, free: 0.8945 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001595/0.03158, allocations: 2.236 MB / 0.4923 GB, free: 14.57 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.03158, allocations: 0 / 0.4923 GB, free: 14.57 MB / 474.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.002958/0.03454, allocations: 3.731 MB / 0.496 GB, free: 10.81 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.67e-05/0.03457, allocations: 11.94 kB / 0.496 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.018e-05/0.03459, allocations: 0.8906 kB / 0.496 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.0346, allocations: 0 / 0.496 GB, free: 10.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001248/0.03473, allocations: 28.77 kB / 0.496 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.03473, allocations: 3.984 kB / 0.496 GB, free: 10.77 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003118/0.03504, allocations: 247.4 kB / 0.4962 GB, free: 10.52 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.675e-05/0.03508, allocations: 19.98 kB / 0.4963 GB, free: 10.5 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.0001798/0.03526, allocations: 124.6 kB / 0.4964 GB, free: 10.37 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.03529, allocations: 11.98 kB / 0.4964 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003407/0.03563, allocations: 369.3 kB / 0.4967 GB, free: 9.996 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.03564, allocations: 0 / 0.4967 GB, free: 9.996 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.03564, allocations: 4 kB / 0.4967 GB, free: 9.992 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.03564, allocations: 7.922 kB / 0.4967 GB, free: 9.984 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002463/0.03589, allocations: 303.8 kB / 0.497 GB, free: 9.672 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.03589, allocations: 5.219 kB / 0.497 GB, free: 9.668 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.03595, allocations: 7.984 kB / 0.497 GB, free: 9.66 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.03595, allocations: 0 / 0.497 GB, free: 9.66 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.03596, allocations: 4.719 kB / 0.4971 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.03596, allocations: 0 / 0.4971 GB, free: 9.656 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.03597, allocations: 5.766 kB / 0.4971 GB, free: 9.652 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.03623, allocations: 375.4 kB / 0.4974 GB, free: 9.266 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.091e-05/0.03629, allocations: 87.28 kB / 0.4975 GB, free: 9.18 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.702e-05/0.03632, allocations: 4 kB / 0.4975 GB, free: 9.176 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.755e-05/0.0364, allocations: 5.375 kB / 0.4975 GB, free: 9.172 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.949e-05/0.03643, allocations: 11.92 kB / 0.4975 GB, free: 9.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.714e-05/0.03646, allocations: 7.984 kB / 0.4975 GB, free: 9.152 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002875/0.03674, allocations: 435.7 kB / 0.4979 GB, free: 8.723 MB / 474.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.03675, allocations: 0 / 0.4979 GB, free: 8.723 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001137/0.03788, allocations: 0.5862 MB / 0.4985 GB, free: 8.137 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.00153/0.03941, allocations: 0.8099 MB / 0.4993 GB, free: 7.375 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007862/0.0402, allocations: 0.9691 MB / 0.5003 GB, free: 6.387 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.434e-05/0.04021, allocations: 12 kB / 0.5003 GB, free: 6.375 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001155/0.04033, allocations: 165.6 kB / 0.5004 GB, free: 6.211 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.04061, allocations: 66.56 kB / 0.5005 GB, free: 6.145 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.04197, allocations: 1.544 MB / 0.502 GB, free: 4.57 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001166/0.04209, allocations: 191.6 kB / 0.5022 GB, free: 4.363 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001127/0.0422, allocations: 39.81 kB / 0.5022 GB, free: 4.336 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001542/0.04235, allocations: 87.34 kB / 0.5023 GB, free: 4.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.402e-06/0.04235, allocations: 0 / 0.5023 GB, free: 4.25 MB / 474.7 MB Notification: Performance of Templates: time 0.02019/0.06254, allocations: 16.23 MB / 0.5181 GB, free: 4.438 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 -s gbode -gbm=radauIIA3 -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.198298525996506]