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.0007232/0.0007232, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.0007362/0.0007362, allocations: 211.2 kB / 23 MB, free: 2.977 MB / 13.93 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.83/0.83, allocations: 230.6 MB / 256.8 MB, free: 9.605 MB / 202.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.7011/0.7011, allocations: 203.8 MB / 0.5049 GB, free: 10.44 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009236/0.0009236, allocations: 70.78 kB / 0.7195 GB, free: 3.465 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4795/0.4804, allocations: 102 MB / 0.8191 GB, free: 1.316 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.001741/0.4822, allocations: 1.43 MB / 0.8205 GB, free: 332 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004658/0.4868, allocations: 3.848 MB / 0.8242 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.665e-05/0.4869, allocations: 9.031 kB / 0.8242 GB, free: 13.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001144/0.487, allocations: 13.22 kB / 0.8243 GB, free: 13.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.000221/0.4872, allocations: 29.17 kB / 0.8243 GB, free: 13.92 MB / 0.6198 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.00272/0.4899, allocations: 1.592 MB / 0.8258 GB, free: 13.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.49, allocations: 103.5 kB / 0.8259 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.4901, allocations: 3.406 kB / 0.8259 GB, free: 13.28 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.734e-05/0.4901, allocations: 39.59 kB / 0.826 GB, free: 13.27 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001975/0.4903, allocations: 156 kB / 0.8261 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.4904, allocations: 12.28 kB / 0.8261 GB, free: 13.23 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002902/0.4933, allocations: 2.39 MB / 0.8285 GB, free: 12.61 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.4935, allocations: 269.2 kB / 0.8287 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001718/0.4937, allocations: 229 kB / 0.829 GB, free: 12.41 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002842/0.4965, allocations: 2.137 MB / 0.831 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4965, allocations: 0 / 0.831 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4965, allocations: 0 / 0.831 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.134e-05/0.4965, allocations: 1.094 kB / 0.831 GB, free: 11.79 MB / 0.6198 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.004719/0.5013, allocations: 1.268 MB / 0.8323 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.5013, allocations: 9.875 kB / 0.8323 GB, free: 10.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002639/0.5016, allocations: 94.47 kB / 0.8324 GB, free: 10.86 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002998/0.5019, allocations: 306.8 kB / 0.8327 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.243e-05/0.5019, allocations: 3.438 kB / 0.8327 GB, free: 10.63 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.462e-05/0.5019, allocations: 9.969 kB / 0.8327 GB, free: 10.62 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003901/0.5023, allocations: 394 kB / 0.8331 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.777e-06/0.5023, allocations: 1.531 kB / 0.8331 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.5023, allocations: 0 / 0.8331 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.5023, allocations: 6.281 kB / 0.8331 GB, free: 10.56 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004354/0.5027, allocations: 431.2 kB / 0.8335 GB, free: 10.55 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004348/0.5032, allocations: 0.5825 MB / 0.834 GB, free: 10.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004428/0.5036, allocations: 0.5552 MB / 0.8346 GB, free: 10 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002432/0.5039, allocations: 336.5 kB / 0.8349 GB, free: 9.93 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004204/0.5043, allocations: 137.2 kB / 0.835 GB, free: 9.879 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003197/0.5046, allocations: 408.7 kB / 0.8354 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=8): time 1.092e-06/0.5046, allocations: 0 / 0.8354 GB, free: 9.738 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8): time 0.001141/0.5057, allocations: 1.301 MB / 0.8367 GB, free: 9.434 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.086e-05/0.5058, allocations: 80.36 kB / 0.8368 GB, free: 9.34 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00103/0.5068, allocations: 1.222 MB / 0.838 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.167e-05/0.5068, allocations: 28.23 kB / 0.838 GB, free: 8.594 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001445/0.507, allocations: 270.4 kB / 0.8383 GB, free: 8.355 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.729e-05/0.507, allocations: 18.73 kB / 0.8383 GB, free: 8.34 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002508/0.5073, allocations: 350.8 kB / 0.8386 GB, free: 8.176 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.21e-05/0.5073, allocations: 312.1 kB / 0.8389 GB, free: 7.867 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009494/0.5083, allocations: 1.37 MB / 0.8402 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.5093, allocations: 1.508 MB / 0.8417 GB, free: 6.613 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004705/0.514, allocations: 3.561 MB / 0.8452 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.514, allocations: 0 / 0.8452 GB, free: 4.531 MB / 0.6198 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.003086/0.5171, allocations: 4.004 MB / 0.8491 GB, free: 2.293 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.902e-05/0.5171, allocations: 8.906 kB / 0.8491 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.5171, allocations: 6.688 kB / 0.8491 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/0.5171, allocations: 1.75 kB / 0.8491 GB, free: 2.285 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.614e-05/0.5172, allocations: 18.8 kB / 0.8491 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.5172, allocations: 1.625 kB / 0.8491 GB, free: 2.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003573/0.5176, allocations: 248.2 kB / 0.8494 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.5176, allocations: 22.42 kB / 0.8494 GB, free: 2.07 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.0002054/0.5178, allocations: 238.8 kB / 0.8496 GB, free: 1.91 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.205e-05/0.5179, allocations: 80.97 kB / 0.8497 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007471/0.5186, allocations: 0.9427 MB / 0.8506 GB, free: 1.621 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.5186, allocations: 9.594 kB / 0.8506 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.5186, allocations: 0 / 0.8506 GB, free: 1.613 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.5186, allocations: 5.469 kB / 0.8506 GB, free: 1.609 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004436/0.5191, allocations: 444.2 kB / 0.8511 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.5191, allocations: 0 / 0.8511 GB, free: 1.332 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.908e-05/0.5191, allocations: 8.969 kB / 0.8511 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.5191, allocations: 1.188 kB / 0.8511 GB, free: 1.328 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.5191, allocations: 14.3 kB / 0.8511 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.5191, allocations: 1.375 kB / 0.8511 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.5191, allocations: 0 / 0.8511 GB, free: 1.316 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007072/0.5198, allocations: 0.9977 MB / 0.8521 GB, free: 1.039 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.5199, allocations: 76.62 kB / 0.8521 GB, free: 0.9844 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.801e-05/0.5199, allocations: 10.3 kB / 0.8521 GB, free: 0.9766 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-05/0.52, allocations: 6.562 kB / 0.8522 GB, free: 0.9727 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.52, allocations: 6.953 kB / 0.8522 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.705e-05/0.5201, allocations: 19.92 kB / 0.8522 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005219/0.5206, allocations: 0.6719 MB / 0.8528 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of sort global known variables: time 8e-08/0.5206, allocations: 1.312 kB / 0.8528 GB, free: 0.5977 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.001737/0.5223, allocations: 0.5831 MB / 0.8534 GB, free: 480 kB / 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.001304/0.5236, allocations: 0.7007 MB / 0.8541 GB, free: 148 kB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.5251, allocations: 2.001 MB / 0.856 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.5251, allocations: 0 / 0.856 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001962/0.5253, allocations: 339.7 kB / 0.8564 GB, free: 15.01 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000217/0.5255, allocations: 40.47 kB / 0.8564 GB, free: 14.97 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001376/0.5269, allocations: 1.819 MB / 0.8582 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/0.5271, allocations: 368.1 kB / 0.8585 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.817e-05/0.5272, allocations: 27.41 kB / 0.8586 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of SimCode: time 5.51e-07/0.5272, allocations: 4 kB / 0.8586 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of Templates: time 0.0117/0.5389, allocations: 14.31 MB / 0.8725 GB, free: 14.39 MB / 0.6511 GB " [Timeout remaining time 659] 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: 7.754724232014269] Failed to read output from testmodel.py, exit status != 0: 0.5444359732791781 0.552097567 0.053993766000000006 Calling exit ...