Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.002122/0.002122, allocations: 78.72 kB / 19.76 MB, free: 1.875 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.002612/0.002612, allocations: 158.6 kB / 23.01 MB, free: 4.598 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.521/1.521, allocations: 177.2 MB / 203.4 MB, free: 8.902 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8057/0.8057, allocations: 101.3 MB / 361.1 MB, free: 8.762 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation") [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.002231/0.002231, allocations: 68.45 kB / 0.5357 GB, free: 12.6 MB / 462.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1563/0.1586, allocations: 85.89 MB / 0.6196 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation): time 0.003384/0.162, allocations: 1.702 MB / 0.6212 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00693/0.1689, allocations: 3.798 MB / 0.6249 GB, free: 1.156 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001565/0.169, allocations: 3.938 kB / 0.6249 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001298/0.1703, allocations: 330.6 kB / 0.6253 GB, free: 0.8281 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001567/0.1705, allocations: 59.67 kB / 0.6253 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.1733, allocations: 1.016 MB / 0.6263 GB, free: 15.75 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0003048/0.1736, allocations: 151.3 kB / 0.6264 GB, free: 15.6 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 5.044e-05/0.1736, allocations: 9.797 kB / 0.6265 GB, free: 15.59 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.917e-05/0.1737, allocations: 51.73 kB / 0.6265 GB, free: 15.54 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002564/0.174, allocations: 167.4 kB / 0.6267 GB, free: 15.38 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.849e-05/0.174, allocations: 12 kB / 0.6267 GB, free: 15.37 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002613/0.1766, allocations: 1.423 MB / 0.6281 GB, free: 13.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0002937/0.1769, allocations: 275.8 kB / 0.6283 GB, free: 13.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003135/0.1772, allocations: 234.8 kB / 0.6286 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.002405/0.1796, allocations: 1.575 MB / 0.6301 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1796, allocations: 0 / 0.6301 GB, free: 11.86 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1796, allocations: 0 / 0.6301 GB, free: 11.86 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.1796, allocations: 0 / 0.6301 GB, free: 11.86 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.01046/0.1901, allocations: 1.257 MB / 0.6313 GB, free: 10.57 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.1901, allocations: 15.97 kB / 0.6313 GB, free: 10.55 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003974/0.1905, allocations: 104.2 kB / 0.6314 GB, free: 10.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006309/0.1912, allocations: 340.3 kB / 0.6318 GB, free: 10.08 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.619e-05/0.1912, allocations: 8.359 kB / 0.6318 GB, free: 10.07 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.1912, allocations: 11.94 kB / 0.6318 GB, free: 10.06 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004726/0.1917, allocations: 391.1 kB / 0.6322 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.1917, allocations: 0 / 0.6322 GB, free: 9.668 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1917, allocations: 3.984 kB / 0.6322 GB, free: 9.664 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.1917, allocations: 4 kB / 0.6322 GB, free: 9.66 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004828/0.1922, allocations: 435.7 kB / 0.6326 GB, free: 9.234 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006372/0.1928, allocations: 0.5858 MB / 0.6331 GB, free: 8.617 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000594/0.1934, allocations: 0.5633 MB / 0.6337 GB, free: 8.035 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003504/0.1938, allocations: 337.7 kB / 0.634 GB, free: 7.699 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006098/0.1944, allocations: 139.8 kB / 0.6342 GB, free: 7.562 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00045/0.1948, allocations: 400.8 kB / 0.6345 GB, free: 7.152 MB / 0.545 GB Notification: Performance of pre-optimization done (n=8): time 1.272e-06/0.1948, allocations: 0 / 0.6345 GB, free: 7.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=8): time 0.001461/0.1963, allocations: 1.305 MB / 0.6358 GB, free: 5.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.276e-05/0.1964, allocations: 85.09 kB / 0.6359 GB, free: 5.738 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001421/0.1978, allocations: 1.285 MB / 0.6371 GB, free: 4.441 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.529e-05/0.1978, allocations: 25.7 kB / 0.6372 GB, free: 4.41 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002407/0.1981, allocations: 289.8 kB / 0.6374 GB, free: 4.121 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.554e-05/0.1981, allocations: 19.89 kB / 0.6375 GB, free: 4.102 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003657/0.1985, allocations: 347.5 kB / 0.6378 GB, free: 3.758 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001478/0.1986, allocations: 322 kB / 0.6381 GB, free: 3.438 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/0.2, allocations: 1.361 MB / 0.6394 GB, free: 2.074 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.2015, allocations: 1.497 MB / 0.6409 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.3013/0.5028, allocations: 3.539 MB / 0.6444 GB, free: 25.69 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.182e-06/0.5028, allocations: 0.5469 kB / 0.6444 GB, free: 25.69 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.003548/0.5063, allocations: 3.974 MB / 0.6482 GB, free: 24.14 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.251e-05/0.5064, allocations: 5.656 kB / 0.6482 GB, free: 24.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.5064, allocations: 4.375 kB / 0.6482 GB, free: 24.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.5064, allocations: 0.9375 kB / 0.6482 GB, free: 24.14 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001406/0.5065, allocations: 22.64 kB / 0.6483 GB, free: 24.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.5065, allocations: 1.625 kB / 0.6483 GB, free: 24.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004578/0.507, allocations: 237.9 kB / 0.6485 GB, free: 24.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.5071, allocations: 26.03 kB / 0.6485 GB, free: 24.04 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 (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 (16): * Single equations (assignments): 13 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 1 * 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.0002821/0.5073, allocations: 248.2 kB / 0.6488 GB, free: 23.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.638e-05/0.5074, allocations: 83.03 kB / 0.6488 GB, free: 23.85 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001253/0.5086, allocations: 0.9474 MB / 0.6498 GB, free: 23.78 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.739e-06/0.5086, allocations: 3.312 kB / 0.6498 GB, free: 23.78 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.5087, allocations: 0.75 kB / 0.6498 GB, free: 23.78 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.028e-06/0.5087, allocations: 1.219 kB / 0.6498 GB, free: 23.78 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004953/0.5092, allocations: 464.8 kB / 0.6502 GB, free: 23.57 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5092, allocations: 2.594 kB / 0.6502 GB, free: 23.57 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.666e-05/0.5092, allocations: 7.625 kB / 0.6502 GB, free: 23.57 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.5092, allocations: 1.422 kB / 0.6502 GB, free: 23.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.629e-05/0.5093, allocations: 12.22 kB / 0.6502 GB, free: 23.56 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.176e-06/0.5093, allocations: 1.328 kB / 0.6502 GB, free: 23.56 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.5093, allocations: 2.031 kB / 0.6502 GB, free: 23.56 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001195/0.5105, allocations: 1.015 MB / 0.6512 GB, free: 23.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.823e-05/0.5106, allocations: 92.19 kB / 0.6513 GB, free: 23.34 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.526e-05/0.5106, allocations: 3.047 kB / 0.6513 GB, free: 23.34 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.5108, allocations: 5.453 kB / 0.6513 GB, free: 23.34 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.776e-05/0.5108, allocations: 7.312 kB / 0.6513 GB, free: 23.34 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.72e-05/0.5109, allocations: 15.12 kB / 0.6513 GB, free: 23.34 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001007/0.5119, allocations: 0.7244 MB / 0.6521 GB, free: 23.1 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.5119, allocations: 0 / 0.6521 GB, free: 23.1 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001356/0.5132, allocations: 412.7 kB / 0.6524 GB, free: 23.04 MB / 0.545 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.001293/0.5145, allocations: 485.8 kB / 0.6529 GB, free: 22.89 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002144/0.5167, allocations: 1.945 MB / 0.6548 GB, free: 22.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.5167, allocations: 3.938 kB / 0.6548 GB, free: 22.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000362/0.517, allocations: 340.9 kB / 0.6551 GB, free: 22.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004022/0.5174, allocations: 51.97 kB / 0.6552 GB, free: 22.34 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.5196, allocations: 1.89 MB / 0.657 GB, free: 21.71 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003925/0.5199, allocations: 389.6 kB / 0.6574 GB, free: 21.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001468/0.5201, allocations: 41.53 kB / 0.6574 GB, free: 21.62 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001074/0.5202, allocations: 32.58 kB / 0.6575 GB, free: 21.61 MB / 0.545 GB Notification: Performance of SimCode: time 7.32e-07/0.5202, allocations: 2.719 kB / 0.6575 GB, free: 21.61 MB / 0.545 GB Notification: Performance of Templates: time 0.02018/0.5404, allocations: 10.61 MB / 0.6678 GB, free: 19.88 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_SmallScaleValidation.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 6.477529008989222] Failed to read output from testmodel.py, exit status != 0: 0.5487671530572698 0.558449746 0.37657084999999996 Calling exit ...