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.00125/0.00125, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001415/0.001415, allocations: 168.5 kB / 22.46 MB, free: 5.359 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.421/1.421, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.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.209/1.209, allocations: 154.5 MB / 413.7 MB, free: 5.289 MB / 382.1 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 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_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.653e-06/1.653e-06, allocations: 0 / 0.6186 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.584e-05/2.749e-05, allocations: 2.281 kB / 0.6186 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003296/0.003324, allocations: 1.735 MB / 0.6203 GB, free: 2.828 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.008606/0.01193, allocations: 4.883 MB / 0.6251 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001371/0.01207, allocations: 3.938 kB / 0.6251 GB, free: 13.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001483/0.01355, allocations: 342.4 kB / 0.6254 GB, free: 13.58 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0001792/0.01373, allocations: 63.61 kB / 0.6255 GB, free: 13.52 MB / 0.545 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.004561/0.01829, allocations: 1.605 MB / 0.627 GB, free: 11.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003242/0.01861, allocations: 167.3 kB / 0.6272 GB, free: 11.75 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.159e-05/0.01867, allocations: 5.812 kB / 0.6272 GB, free: 11.74 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001467/0.01881, allocations: 83.78 kB / 0.6273 GB, free: 11.66 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002615/0.01907, allocations: 151.6 kB / 0.6274 GB, free: 11.51 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 6.138e-05/0.01914, allocations: 16 kB / 0.6274 GB, free: 11.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004244/0.02338, allocations: 2.401 MB / 0.6298 GB, free: 9.09 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002847/0.02366, allocations: 291.8 kB / 0.6301 GB, free: 8.805 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002444/0.02391, allocations: 164 kB / 0.6302 GB, free: 8.645 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00418/0.02809, allocations: 2.521 MB / 0.6327 GB, free: 6.117 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.02809, allocations: 0 / 0.6327 GB, free: 6.117 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.042e-06/0.02809, allocations: 0 / 0.6327 GB, free: 6.117 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.73e-05/0.02811, allocations: 0 / 0.6327 GB, free: 6.117 MB / 0.545 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.01156/0.03967, allocations: 1.346 MB / 0.634 GB, free: 4.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.03971, allocations: 9.469 kB / 0.634 GB, free: 4.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004375/0.04015, allocations: 100.2 kB / 0.6341 GB, free: 4.629 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006397/0.04079, allocations: 351.8 kB / 0.6344 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.484e-05/0.0408, allocations: 4.375 kB / 0.6344 GB, free: 4.246 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.075e-05/0.04084, allocations: 4.375 kB / 0.6344 GB, free: 4.242 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004874/0.04133, allocations: 391.7 kB / 0.6348 GB, free: 3.848 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.04134, allocations: 4.125 kB / 0.6348 GB, free: 3.844 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.04136, allocations: 4.375 kB / 0.6348 GB, free: 3.84 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.04136, allocations: 7.875 kB / 0.6348 GB, free: 3.832 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004918/0.04185, allocations: 431.8 kB / 0.6352 GB, free: 3.41 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000697/0.04255, allocations: 0.5898 MB / 0.6358 GB, free: 2.789 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/0.04317, allocations: 0.5632 MB / 0.6364 GB, free: 2.207 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.04353, allocations: 337.7 kB / 0.6367 GB, free: 1.871 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006411/0.04417, allocations: 135.7 kB / 0.6368 GB, free: 1.738 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004831/0.04466, allocations: 404.8 kB / 0.6372 GB, free: 1.324 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.653e-06/0.04466, allocations: 0 / 0.6372 GB, free: 1.324 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001516/0.04617, allocations: 1.309 MB / 0.6385 GB, free: 8 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.04626, allocations: 88.98 kB / 0.6386 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001438/0.0477, allocations: 1.294 MB / 0.6398 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.871e-05/0.04775, allocations: 25.7 kB / 0.6399 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002501/0.048, allocations: 293.9 kB / 0.6401 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.474e-05/0.04804, allocations: 23.83 kB / 0.6402 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003706/0.04841, allocations: 347.6 kB / 0.6405 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.04856, allocations: 314 kB / 0.6408 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.04999, allocations: 1.377 MB / 0.6421 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001536/0.05153, allocations: 1.503 MB / 0.6436 GB, free: 10.7 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007687/0.05922, allocations: 3.564 MB / 0.6471 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.359e-06/0.05922, allocations: 0 / 0.6471 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=319) (initialization): time 0.004871/0.06409, allocations: 4.011 MB / 0.651 GB, free: 3 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.313e-05/0.06411, allocations: 8 kB / 0.651 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.06413, allocations: 0 / 0.651 GB, free: 2.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.06415, allocations: 4 kB / 0.651 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001354/0.06429, allocations: 23.86 kB / 0.651 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.06429, allocations: 0 / 0.651 GB, free: 2.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005722/0.06487, allocations: 241.4 kB / 0.6513 GB, free: 2.727 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.648e-05/0.06492, allocations: 19.98 kB / 0.6513 GB, free: 2.707 MB / 0.5606 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.0003515/0.06528, allocations: 246.7 kB / 0.6515 GB, free: 2.457 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.29e-05/0.06536, allocations: 83.31 kB / 0.6516 GB, free: 2.375 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001159/0.06652, allocations: 0.9446 MB / 0.6525 GB, free: 1.418 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.909e-06/0.06653, allocations: 4 kB / 0.6525 GB, free: 1.414 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.06653, allocations: 3.938 kB / 0.6525 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.06654, allocations: 0 / 0.6525 GB, free: 1.41 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005001/0.06704, allocations: 468.4 kB / 0.653 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.06704, allocations: 0 / 0.653 GB, free: 0.9258 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.696e-05/0.06712, allocations: 8.016 kB / 0.653 GB, free: 0.918 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.06712, allocations: 11.94 kB / 0.653 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.413e-05/0.06714, allocations: 4 kB / 0.653 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.06714, allocations: 0 / 0.653 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.06714, allocations: 3.938 kB / 0.653 GB, free: 0.8984 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001059/0.0682, allocations: 1.01 MB / 0.654 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001287/0.06833, allocations: 99.12 kB / 0.6541 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.231e-05/0.06841, allocations: 3.984 kB / 0.6541 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001618/0.06857, allocations: 8 kB / 0.6541 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.718e-05/0.06862, allocations: 11.92 kB / 0.6541 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.099e-05/0.06866, allocations: 11.98 kB / 0.6541 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009348/0.06959, allocations: 0.7222 MB / 0.6548 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.0696, allocations: 4 kB / 0.6548 GB, free: 15 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001583/0.07118, allocations: 0.5884 MB / 0.6554 GB, free: 14.41 MB / 0.5762 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.002401/0.07358, allocations: 0.7858 MB / 0.6562 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002317/0.0759, allocations: 2.003 MB / 0.6581 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.0759, allocations: 3.938 kB / 0.6581 GB, free: 11.62 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003789/0.07628, allocations: 335.8 kB / 0.6584 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004249/0.0767, allocations: 56.47 kB / 0.6585 GB, free: 11.25 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002464/0.07917, allocations: 1.884 MB / 0.6603 GB, free: 9.328 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004114/0.07958, allocations: 397.8 kB / 0.6607 GB, free: 8.918 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001598/0.07974, allocations: 41.45 kB / 0.6608 GB, free: 8.871 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001172/0.07985, allocations: 28.48 kB / 0.6608 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.07986, allocations: 0 / 0.6608 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of Templates: time 0.02751/0.1074, allocations: 14.73 MB / 0.6752 GB, free: 10.27 MB / 0.5919 GB " [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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8639827482402325] Failed to read output from testmodel.py, exit status != 0: 0.11673940345644951 0.132305738 0.100965645 Calling exit ...