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.001347/0.001347, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001577/0.001577, allocations: 213.3 kB / 22.25 MB, free: 4.859 MB / 14.72 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 1.45/1.45, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] 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 1.262/1.262, allocations: 203.8 MB / 0.5041 GB, free: 4.633 MB / 414.1 MB " [Timeout remaining time 178] 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.002144/0.002144, allocations: 63.91 kB / 0.7187 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4739/0.4761, allocations: 102 MB / 0.8183 GB, free: 28.92 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002481/0.4785, allocations: 1.431 MB / 0.8197 GB, free: 27.95 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.005711/0.4843, allocations: 3.844 MB / 0.8235 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.461e-05/0.4843, allocations: 1.031 kB / 0.8235 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 9.848e-05/0.4844, allocations: 13.67 kB / 0.8235 GB, free: 25.59 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.000212/0.4846, allocations: 38.8 kB / 0.8235 GB, free: 25.56 MB / 0.6387 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.004318/0.489, allocations: 1.586 MB / 0.8251 GB, free: 24.98 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0001419/0.4891, allocations: 91.98 kB / 0.8252 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 3.819e-05/0.4891, allocations: 7.156 kB / 0.8252 GB, free: 24.95 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.29e-05/0.4892, allocations: 58.52 kB / 0.8252 GB, free: 24.93 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002185/0.4894, allocations: 146 kB / 0.8254 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 4.444e-05/0.4895, allocations: 13.16 kB / 0.8254 GB, free: 24.89 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004118/0.4936, allocations: 2.395 MB / 0.8277 GB, free: 24.27 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002319/0.4938, allocations: 268.9 kB / 0.828 GB, free: 24.2 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0001906/0.494, allocations: 228.7 kB / 0.8282 GB, free: 24.07 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003784/0.4978, allocations: 2.123 MB / 0.8303 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4978, allocations: 0 / 0.8303 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of FrontEnd: time 2.014e-06/0.4978, allocations: 0.5 kB / 0.8303 GB, free: 23.46 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.171e-05/0.4978, allocations: 0 / 0.8303 GB, free: 23.46 MB / 0.6387 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.008527/0.5063, allocations: 1.274 MB / 0.8315 GB, free: 22.59 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.5064, allocations: 9.422 kB / 0.8315 GB, free: 22.59 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004155/0.5068, allocations: 94.78 kB / 0.8316 GB, free: 22.53 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004059/0.5072, allocations: 310.7 kB / 0.8319 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.5072, allocations: 10.47 kB / 0.8319 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.035e-05/0.5073, allocations: 7.328 kB / 0.8319 GB, free: 22.29 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004924/0.5077, allocations: 389.6 kB / 0.8323 GB, free: 22.23 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5078, allocations: 0 / 0.8323 GB, free: 22.23 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.594e-05/0.5078, allocations: 5.641 kB / 0.8323 GB, free: 22.22 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.5078, allocations: 4.969 kB / 0.8323 GB, free: 22.22 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005338/0.5083, allocations: 436.4 kB / 0.8327 GB, free: 22.21 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005443/0.5089, allocations: 0.5718 MB / 0.8333 GB, free: 21.89 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005445/0.5094, allocations: 0.5573 MB / 0.8338 GB, free: 21.83 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003161/0.5097, allocations: 331.2 kB / 0.8342 GB, free: 21.81 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/0.5104, allocations: 142 kB / 0.8343 GB, free: 21.79 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004346/0.5108, allocations: 406 kB / 0.8347 GB, free: 21.71 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.5108, allocations: 1.125 kB / 0.8347 GB, free: 21.71 MB / 0.6387 GB Notification: Performance of matching and sorting (n=8): time 0.001616/0.5124, allocations: 1.295 MB / 0.8359 GB, free: 21.59 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.863e-05/0.5125, allocations: 80.66 kB / 0.836 GB, free: 21.5 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001228/0.5137, allocations: 1.222 MB / 0.8372 GB, free: 21 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.234e-05/0.5137, allocations: 32.2 kB / 0.8372 GB, free: 20.97 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001551/0.5139, allocations: 267.8 kB / 0.8375 GB, free: 20.76 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 2.997e-05/0.5139, allocations: 21.66 kB / 0.8375 GB, free: 20.75 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003508/0.5143, allocations: 351.5 kB / 0.8379 GB, free: 20.65 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.376e-05/0.5143, allocations: 313.7 kB / 0.8382 GB, free: 20.34 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.5157, allocations: 1.37 MB / 0.8395 GB, free: 19.89 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00141/0.5171, allocations: 1.511 MB / 0.841 GB, free: 19.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007276/0.5244, allocations: 3.553 MB / 0.8444 GB, free: 17.52 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.588e-06/0.5244, allocations: 0 / 0.8444 GB, free: 17.52 MB / 0.6387 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004166/0.5286, allocations: 4.008 MB / 0.8483 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5286, allocations: 8.594 kB / 0.8484 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/0.5286, allocations: 7.188 kB / 0.8484 GB, free: 15.53 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.5286, allocations: 5.188 kB / 0.8484 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.5288, allocations: 19.22 kB / 0.8484 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.5288, allocations: 2.219 kB / 0.8484 GB, free: 15.52 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005571/0.5293, allocations: 240.4 kB / 0.8486 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.429e-05/0.5294, allocations: 27.95 kB / 0.8486 GB, free: 15.32 MB / 0.6387 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.0003172/0.5297, allocations: 241.1 kB / 0.8489 GB, free: 15.2 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.102e-05/0.5298, allocations: 78.47 kB / 0.8489 GB, free: 15.14 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001042/0.5308, allocations: 0.946 MB / 0.8499 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.5308, allocations: 1.375 kB / 0.8499 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.5308, allocations: 1.375 kB / 0.8499 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/0.5308, allocations: 0.75 kB / 0.8499 GB, free: 15.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004697/0.5313, allocations: 440.2 kB / 0.8503 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.5313, allocations: 0 / 0.8503 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.8e-05/0.5314, allocations: 7.516 kB / 0.8503 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.645e-06/0.5314, allocations: 1.031 kB / 0.8503 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.573e-05/0.5314, allocations: 16.3 kB / 0.8503 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.5314, allocations: 0.8438 kB / 0.8503 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.774e-06/0.5314, allocations: 1.062 kB / 0.8503 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009685/0.5323, allocations: 1.002 MB / 0.8513 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 7.46e-05/0.5324, allocations: 82.42 kB / 0.8514 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.357e-05/0.5325, allocations: 7.188 kB / 0.8514 GB, free: 14.62 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001544/0.5326, allocations: 8.75 kB / 0.8514 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.5327, allocations: 6.094 kB / 0.8514 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.76e-05/0.5327, allocations: 17.23 kB / 0.8514 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007774/0.5335, allocations: 0.67 MB / 0.8521 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5335, allocations: 1.375 kB / 0.8521 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002121/0.5356, allocations: 0.5841 MB / 0.8526 GB, free: 14.27 MB / 0.6387 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.001994/0.5376, allocations: 0.7105 MB / 0.8533 GB, free: 14.01 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.5396, allocations: 2.003 MB / 0.8553 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5396, allocations: 1.375 kB / 0.8553 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003223/0.54, allocations: 333.7 kB / 0.8556 GB, free: 13.25 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003566/0.5403, allocations: 38.64 kB / 0.8556 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.5422, allocations: 1.775 MB / 0.8574 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003258/0.5426, allocations: 370.4 kB / 0.8577 GB, free: 12.21 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001477/0.5427, allocations: 36.06 kB / 0.8578 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001063/0.5428, allocations: 31.44 kB / 0.8578 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of SimCode: time 7.91e-07/0.5428, allocations: 3.938 kB / 0.8578 GB, free: 12.17 MB / 0.6387 GB Notification: Performance of Templates: time 0.02079/0.5636, allocations: 14.94 MB / 0.8724 GB, free: 14.72 MB / 0.6544 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.608233666047454] Failed to read output from testmodel.py, exit status != 0: 0.5726562608033419 0.588868637 0.08766549900000001 Calling exit ...