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.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.0009732/0.0009732, allocations: 81.95 kB / 19.87 MB, free: 4.617 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.001099/0.001099, allocations: 173.7 kB / 23.28 MB, free: 1.219 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.9334/0.9334, allocations: 177.1 MB / 203.7 MB, free: 5.527 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.7476/0.7476, allocations: 154.9 MB / 415.1 MB, free: 244 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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.5212 GB, free: 1.457 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.156e-05/1.311e-05, allocations: 4.141 kB / 0.5212 GB, free: 1.453 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001617/0.00163, allocations: 1.456 MB / 0.5226 GB, free: 12 kB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.004347/0.005977, allocations: 3.961 MB / 0.5265 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.006032, allocations: 3.938 kB / 0.5265 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 9.395e-05/0.006126, allocations: 12.61 kB / 0.5265 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001949/0.006321, allocations: 33 kB / 0.5266 GB, free: 12 MB / 0.4948 GB [/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.002774/0.009095, allocations: 1.627 MB / 0.5281 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.009204, allocations: 91.67 kB / 0.5282 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 3.037e-05/0.009234, allocations: 9.016 kB / 0.5282 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/0.009307, allocations: 55.88 kB / 0.5283 GB, free: 10.22 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.02e-05/0.009397, allocations: 49.69 kB / 0.5283 GB, free: 10.18 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 1.479e-05/0.009412, allocations: 6.594 kB / 0.5283 GB, free: 10.17 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002506/0.01192, allocations: 2.42 MB / 0.5307 GB, free: 7.766 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001343/0.01205, allocations: 243.3 kB / 0.5309 GB, free: 7.527 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.547e-05/0.01214, allocations: 127.4 kB / 0.5311 GB, free: 7.402 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.001902/0.01404, allocations: 2.335 MB / 0.5333 GB, free: 5.062 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.723e-06/0.01404, allocations: 3.938 kB / 0.5333 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.72e-07/0.01404, allocations: 0 / 0.5333 GB, free: 5.059 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.759e-06/0.01405, allocations: 0 / 0.5333 GB, free: 5.059 MB / 0.4948 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.001137/0.01518, allocations: 1.362 MB / 0.5347 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.464e-05/0.01522, allocations: 8.031 kB / 0.5347 GB, free: 3.648 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002158/0.01543, allocations: 101.5 kB / 0.5348 GB, free: 3.551 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002268/0.01566, allocations: 305.2 kB / 0.5351 GB, free: 3.215 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.109e-05/0.01567, allocations: 9.875 kB / 0.5351 GB, free: 3.207 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/0.0157, allocations: 4.375 kB / 0.5351 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000196/0.01589, allocations: 235.1 kB / 0.5353 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.0159, allocations: 192 / 0.5353 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.283e-06/0.0159, allocations: 384 / 0.5353 GB, free: 2.957 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.01591, allocations: 4.531 kB / 0.5353 GB, free: 2.953 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.01603, allocations: 196.5 kB / 0.5355 GB, free: 2.762 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003077/0.01634, allocations: 493.8 kB / 0.536 GB, free: 2.25 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.01652, allocations: 302.6 kB / 0.5363 GB, free: 1.93 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.838e-05/0.01662, allocations: 172 kB / 0.5364 GB, free: 1.754 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002841/0.01691, allocations: 131.3 kB / 0.5365 GB, free: 1.633 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001706/0.01708, allocations: 242.6 kB / 0.5368 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.01708, allocations: 0 / 0.5368 GB, free: 1.375 MB / 0.4948 GB Notification: Performance of matching and sorting (n=8): time 0.000545/0.01762, allocations: 0.7544 MB / 0.5375 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.073e-05/0.01766, allocations: 81.11 kB / 0.5376 GB, free: 0.5156 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007519/0.01841, allocations: 1.198 MB / 0.5388 GB, free: 15.3 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.526e-05/0.01844, allocations: 30.61 kB / 0.5388 GB, free: 15.27 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001463/0.01859, allocations: 352.5 kB / 0.5391 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/0.01861, allocations: 32.58 kB / 0.5392 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000245/0.01886, allocations: 426.2 kB / 0.5396 GB, free: 14.46 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.843e-05/0.01896, allocations: 484.4 kB / 0.54 GB, free: 13.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002912/0.01925, allocations: 496.3 kB / 0.5405 GB, free: 13.5 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003773/0.01963, allocations: 0.66 MB / 0.5411 GB, free: 12.82 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.02119, allocations: 2.263 MB / 0.5434 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.02119, allocations: 0 / 0.5434 GB, free: 10.47 MB / 0.5105 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003181/0.02437, allocations: 3.849 MB / 0.5471 GB, free: 6.586 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.02439, allocations: 4 kB / 0.5471 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.349e-05/0.0244, allocations: 4 kB / 0.5471 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.02441, allocations: 1.219 kB / 0.5471 GB, free: 6.578 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.86e-05/0.02451, allocations: 23.98 kB / 0.5471 GB, free: 6.555 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.929e-06/0.02452, allocations: 5.531 kB / 0.5472 GB, free: 6.551 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003105/0.02483, allocations: 241.3 kB / 0.5474 GB, free: 6.312 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.673e-05/0.02486, allocations: 23.98 kB / 0.5474 GB, free: 6.289 MB / 0.5105 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 (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.0001346/0.025, allocations: 170 kB / 0.5476 GB, free: 6.113 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.154e-05/0.02505, allocations: 71.34 kB / 0.5476 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005154/0.02556, allocations: 0.578 MB / 0.5482 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.225e-06/0.02557, allocations: 0 / 0.5482 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.02557, allocations: 4 kB / 0.5482 GB, free: 5.453 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.02557, allocations: 6.406 kB / 0.5482 GB, free: 5.449 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002984/0.02587, allocations: 362.7 kB / 0.5486 GB, free: 5.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.02588, allocations: 4 kB / 0.5486 GB, free: 5.066 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.518e-05/0.02591, allocations: 11.98 kB / 0.5486 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.02591, allocations: 0 / 0.5486 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.02592, allocations: 0 / 0.5486 GB, free: 5.055 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.02592, allocations: 5.031 kB / 0.5486 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.02592, allocations: 0 / 0.5486 GB, free: 5.051 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004855/0.02641, allocations: 0.6588 MB / 0.5492 GB, free: 4.367 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 6.387e-05/0.02647, allocations: 83.28 kB / 0.5493 GB, free: 4.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.139e-05/0.02651, allocations: 4 kB / 0.5493 GB, free: 4.281 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.0266, allocations: 4 kB / 0.5493 GB, free: 4.277 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-05/0.02662, allocations: 7.984 kB / 0.5493 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.631e-05/0.02665, allocations: 17.25 kB / 0.5493 GB, free: 4.254 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0003821/0.02703, allocations: 0.5282 MB / 0.5498 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of sort global known variables: time 6.1e-08/0.02703, allocations: 0 / 0.5498 GB, free: 3.719 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0009841/0.02801, allocations: 0.5888 MB / 0.5504 GB, free: 3.129 MB / 0.5105 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.001376/0.02939, allocations: 0.7874 MB / 0.5512 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0009412/0.03033, allocations: 1.088 MB / 0.5523 GB, free: 1.27 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.03033, allocations: 5.438 kB / 0.5523 GB, free: 1.266 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0001309/0.03046, allocations: 163.5 kB / 0.5524 GB, free: 1.102 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.03072, allocations: 46.31 kB / 0.5525 GB, free: 1.059 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.03203, allocations: 1.448 MB / 0.5539 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001316/0.03216, allocations: 192 kB / 0.5541 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 9.189e-05/0.03225, allocations: 26.58 kB / 0.5541 GB, free: 15.35 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001378/0.03239, allocations: 94.17 kB / 0.5542 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of SimCode: time 6.32e-07/0.03239, allocations: 0 / 0.5542 GB, free: 15.25 MB / 0.5261 GB Notification: Performance of Templates: time 0.02079/0.05318, allocations: 15.71 MB / 0.5695 GB, free: 15.75 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.167595247738063]