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.0007735/0.0007735, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0007225/0.0007225, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8233/0.8233, allocations: 177.1 MB / 203.5 MB, free: 5.734 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-531:190: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-531:198: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.6756/0.6756, allocations: 154.6 MB / 414.5 MB, free: 0.8281 MB / 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.693e-06/1.693e-06, allocations: 0 / 0.6194 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.818e-05/2.988e-05, allocations: 4.812 kB / 0.6194 GB, free: 13.17 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001879/0.001909, allocations: 1.419 MB / 0.6208 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.004695/0.006604, allocations: 3.858 MB / 0.6245 GB, free: 7.863 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.457e-05/0.006669, allocations: 3.938 kB / 0.6245 GB, free: 7.859 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.006785, allocations: 11.92 kB / 0.6245 GB, free: 7.848 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 0.0002436/0.007029, allocations: 39.7 kB / 0.6246 GB, free: 7.809 MB / 0.5886 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.00318/0.01021, allocations: 1.593 MB / 0.6261 GB, free: 6.211 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001516/0.01036, allocations: 95.66 kB / 0.6262 GB, free: 6.117 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 4.934e-05/0.01041, allocations: 4 kB / 0.6262 GB, free: 6.113 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 8.808e-05/0.0105, allocations: 55.86 kB / 0.6263 GB, free: 6.059 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001865/0.01068, allocations: 147.7 kB / 0.6264 GB, free: 5.914 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.01071, allocations: 12 kB / 0.6264 GB, free: 5.902 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003251/0.01397, allocations: 2.405 MB / 0.6288 GB, free: 3.492 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0001795/0.01415, allocations: 275.9 kB / 0.629 GB, free: 3.219 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0001295/0.01427, allocations: 152 kB / 0.6292 GB, free: 3.07 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003137/0.01741, allocations: 2.451 MB / 0.6316 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.01742, allocations: 0 / 0.6316 GB, free: 0.6133 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.793e-06/0.01742, allocations: 4 kB / 0.6316 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 8.306e-06/0.01743, allocations: 0 / 0.6316 GB, free: 0.6094 MB / 0.5886 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.004331/0.02176, allocations: 1.264 MB / 0.6328 GB, free: 15.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.088e-05/0.0218, allocations: 8.031 kB / 0.6328 GB, free: 15.3 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002743/0.02207, allocations: 88.25 kB / 0.6329 GB, free: 15.21 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002997/0.02237, allocations: 314.4 kB / 0.6332 GB, free: 14.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.02239, allocations: 8.375 kB / 0.6332 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.649e-05/0.02241, allocations: 4.375 kB / 0.6332 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003201/0.02273, allocations: 395.7 kB / 0.6336 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.02274, allocations: 4.125 kB / 0.6336 GB, free: 14.46 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.02275, allocations: 4.562 kB / 0.6336 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.66e-06/0.02276, allocations: 3.938 kB / 0.6336 GB, free: 14.45 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002741/0.02303, allocations: 431.7 kB / 0.634 GB, free: 14.03 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003985/0.02343, allocations: 0.5693 MB / 0.6346 GB, free: 13.43 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006213/0.02405, allocations: 0.5671 MB / 0.6351 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001936/0.02425, allocations: 333.7 kB / 0.6355 GB, free: 12.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004587/0.02471, allocations: 139.9 kB / 0.6356 GB, free: 12.37 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002705/0.02498, allocations: 404.8 kB / 0.636 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=8): time 1.533e-06/0.02498, allocations: 0 / 0.636 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8): time 0.0009059/0.02588, allocations: 1.293 MB / 0.6372 GB, free: 10.66 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.947e-05/0.02593, allocations: 89.03 kB / 0.6373 GB, free: 10.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007741/0.02671, allocations: 1.215 MB / 0.6385 GB, free: 9.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.02674, allocations: 33.69 kB / 0.6385 GB, free: 9.281 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001399/0.02688, allocations: 261.9 kB / 0.6388 GB, free: 9.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.498e-05/0.02691, allocations: 27.83 kB / 0.6388 GB, free: 8.992 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002244/0.02714, allocations: 339.6 kB / 0.6391 GB, free: 8.656 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.806e-05/0.02721, allocations: 318.1 kB / 0.6394 GB, free: 8.34 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007821/0.028, allocations: 1.365 MB / 0.6408 GB, free: 6.973 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001108/0.0291, allocations: 1.505 MB / 0.6422 GB, free: 5.457 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004411/0.03351, allocations: 3.564 MB / 0.6457 GB, free: 1.797 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.03352, allocations: 0 / 0.6457 GB, free: 1.797 MB / 0.6042 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003154/0.03667, allocations: 4.007 MB / 0.6496 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.15e-05/0.03669, allocations: 4 kB / 0.6496 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.051e-05/0.03672, allocations: 4 kB / 0.6496 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/0.03673, allocations: 0 / 0.6496 GB, free: 13.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001079/0.03684, allocations: 19.98 kB / 0.6497 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.03685, allocations: 7.938 kB / 0.6497 GB, free: 13.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.03715, allocations: 241.3 kB / 0.6499 GB, free: 13.48 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.648e-05/0.03718, allocations: 28.28 kB / 0.6499 GB, free: 13.45 MB / 0.6198 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.0002336/0.03742, allocations: 245.8 kB / 0.6502 GB, free: 13.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.03747, allocations: 71.34 kB / 0.6502 GB, free: 13.14 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006623/0.03813, allocations: 0.9439 MB / 0.6512 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.681e-06/0.03813, allocations: 7.984 kB / 0.6512 GB, free: 12.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.635e-06/0.03814, allocations: 3.938 kB / 0.6512 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.03814, allocations: 0 / 0.6512 GB, free: 12.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002805/0.03842, allocations: 443.3 kB / 0.6516 GB, free: 11.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.03843, allocations: 8.031 kB / 0.6516 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.748e-05/0.03847, allocations: 7.984 kB / 0.6516 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.727e-06/0.03848, allocations: 0 / 0.6516 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.085e-05/0.03849, allocations: 4 kB / 0.6516 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.03849, allocations: 0 / 0.6516 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.03849, allocations: 3.938 kB / 0.6516 GB, free: 11.69 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005894/0.03908, allocations: 1.01 MB / 0.6526 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.375e-05/0.03914, allocations: 75.34 kB / 0.6527 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.486e-05/0.03917, allocations: 12 kB / 0.6527 GB, free: 10.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.998e-05/0.03924, allocations: 7.984 kB / 0.6527 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.03928, allocations: 7.875 kB / 0.6527 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.88e-05/0.0393, allocations: 15.97 kB / 0.6527 GB, free: 10.54 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004619/0.03977, allocations: 0.6689 MB / 0.6534 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6e-08/0.03977, allocations: 0 / 0.6534 GB, free: 9.863 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001283/0.04105, allocations: 0.5923 MB / 0.6539 GB, free: 9.27 MB / 0.6198 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.001302/0.04235, allocations: 0.7902 MB / 0.6547 GB, free: 8.5 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001516/0.04387, allocations: 1.993 MB / 0.6567 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.04387, allocations: 0 / 0.6567 GB, free: 6.492 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000202/0.04407, allocations: 331.8 kB / 0.657 GB, free: 6.168 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002383/0.04431, allocations: 41.47 kB / 0.657 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001453/0.04576, allocations: 1.805 MB / 0.6588 GB, free: 4.277 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002123/0.04598, allocations: 368.1 kB / 0.6591 GB, free: 3.895 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.381e-05/0.04605, allocations: 28.47 kB / 0.6592 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of SimCode: time 9.52e-07/0.04605, allocations: 0 / 0.6592 GB, free: 3.867 MB / 0.6198 GB Notification: Performance of Templates: time 0.01904/0.06509, allocations: 14.4 MB / 0.6732 GB, free: 5.484 MB / 0.6355 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.447149232961237] Failed to read output from testmodel.py, exit status != 0: 0.07213585637509823 0.35257215599999997 0.33353881299999993 Calling exit ...