Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001415/0.001415, allocations: 82.33 kB / 19.77 MB, free: 2.016 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.001402/0.001402, allocations: 152.3 kB / 23.01 MB, free: 4.965 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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.953 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.8513/0.8513, allocations: 101.3 MB / 361.1 MB, free: 9.527 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_1borehole_5meters,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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_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.002051/0.002051, allocations: 67.7 kB / 0.5357 GB, free: 5.23 MB / 446.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.1657/0.1677, allocations: 85.88 MB / 0.6196 GB, free: 1.539 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters): time 0.002689/0.1704, allocations: 1.418 MB / 0.6209 GB, free: 116 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004983/0.1754, allocations: 2.759 MB / 0.6236 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.254e-05/0.1755, allocations: 7.938 kB / 0.6236 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001159/0.1756, allocations: 7.922 kB / 0.6237 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002474/0.1758, allocations: 43.77 kB / 0.6237 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002775/0.1786, allocations: 1.021 MB / 0.6247 GB, free: 12.26 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.000132/0.1787, allocations: 79.69 kB / 0.6248 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.729e-05/0.1788, allocations: 11.98 kB / 0.6248 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 7.084e-05/0.1788, allocations: 39.84 kB / 0.6248 GB, free: 12.13 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002483/0.1791, allocations: 151.6 kB / 0.625 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 4.157e-05/0.1791, allocations: 12 kB / 0.625 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002531/0.1817, allocations: 1.415 MB / 0.6264 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002613/0.1819, allocations: 263.9 kB / 0.6266 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002417/0.1822, allocations: 218.8 kB / 0.6268 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002111/0.1843, allocations: 1.499 MB / 0.6283 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.1843, allocations: 0 / 0.6283 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.472e-06/0.1843, allocations: 0 / 0.6283 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.716e-06/0.1843, allocations: 0 / 0.6283 GB, free: 8.574 MB / 0.5294 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.0103/0.1946, allocations: 1.187 MB / 0.6294 GB, free: 7.352 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.1946, allocations: 8.031 kB / 0.6294 GB, free: 7.344 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004074/0.195, allocations: 88.25 kB / 0.6295 GB, free: 7.258 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004507/0.1955, allocations: 319 kB / 0.6298 GB, free: 6.91 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.1955, allocations: 4.375 kB / 0.6298 GB, free: 6.906 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.886e-05/0.1956, allocations: 11.94 kB / 0.6299 GB, free: 6.895 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005208/0.1961, allocations: 391.2 kB / 0.6302 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.1961, allocations: 0 / 0.6302 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.427e-05/0.1961, allocations: 0 / 0.6302 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.1961, allocations: 0 / 0.6302 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005002/0.1966, allocations: 435.7 kB / 0.6306 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000629/0.1972, allocations: 0.5614 MB / 0.6312 GB, free: 5.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.1978, allocations: 0.5594 MB / 0.6317 GB, free: 4.902 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003513/0.1982, allocations: 337.7 kB / 0.6321 GB, free: 4.566 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007266/0.1989, allocations: 139.7 kB / 0.6322 GB, free: 4.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004656/0.1994, allocations: 404.9 kB / 0.6326 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=8): time 1.302e-06/0.1994, allocations: 0 / 0.6326 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8): time 0.001516/0.2009, allocations: 1.297 MB / 0.6338 GB, free: 2.711 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.559e-05/0.201, allocations: 81.11 kB / 0.6339 GB, free: 2.613 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001314/0.2023, allocations: 1.203 MB / 0.6351 GB, free: 1.395 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.018e-05/0.2023, allocations: 29.7 kB / 0.6351 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002239/0.2025, allocations: 265.9 kB / 0.6354 GB, free: 1.094 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.484e-05/0.2026, allocations: 23.84 kB / 0.6354 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003596/0.2029, allocations: 347.5 kB / 0.6357 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.2031, allocations: 314 kB / 0.636 GB, free: 424 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.2045, allocations: 1.369 MB / 0.6374 GB, free: 15.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001547/0.2061, allocations: 1.497 MB / 0.6388 GB, free: 13.54 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007794/0.2139, allocations: 3.537 MB / 0.6423 GB, free: 9.906 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.2139, allocations: 0 / 0.6423 GB, free: 9.906 MB / 0.545 GB Notification: Performance of matching and sorting (n=317) (initialization): time 0.004825/0.2187, allocations: 3.969 MB / 0.6462 GB, free: 5.902 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.2187, allocations: 11.98 kB / 0.6462 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/0.2188, allocations: 0 / 0.6462 GB, free: 5.891 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.053e-05/0.2188, allocations: 4 kB / 0.6462 GB, free: 5.887 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.2189, allocations: 12 kB / 0.6462 GB, free: 5.875 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.115e-06/0.2189, allocations: 3.984 kB / 0.6462 GB, free: 5.871 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000499/0.2194, allocations: 233.4 kB / 0.6464 GB, free: 5.641 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.626e-05/0.2195, allocations: 27.98 kB / 0.6464 GB, free: 5.613 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.0003245/0.2198, allocations: 244.4 kB / 0.6467 GB, free: 5.367 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.054e-05/0.2199, allocations: 75.28 kB / 0.6467 GB, free: 5.293 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0011/0.221, allocations: 0.9398 MB / 0.6477 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.221, allocations: 4 kB / 0.6477 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.221, allocations: 0 / 0.6477 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.221, allocations: 0 / 0.6477 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.2214, allocations: 439.2 kB / 0.6481 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.2214, allocations: 0 / 0.6481 GB, free: 3.879 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.958e-05/0.2215, allocations: 15.95 kB / 0.6481 GB, free: 3.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.143e-06/0.2215, allocations: 8 kB / 0.6481 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.2215, allocations: 0 / 0.6481 GB, free: 3.855 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.2215, allocations: 3.938 kB / 0.6481 GB, free: 3.852 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.2215, allocations: 4 kB / 0.6481 GB, free: 3.848 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001041/0.2226, allocations: 1.002 MB / 0.6491 GB, free: 2.824 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001002/0.2227, allocations: 83.28 kB / 0.6492 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.2227, allocations: 0 / 0.6492 GB, free: 2.742 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001402/0.2229, allocations: 11.98 kB / 0.6492 GB, free: 2.73 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.2229, allocations: 8 kB / 0.6492 GB, free: 2.723 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.179e-05/0.223, allocations: 15.97 kB / 0.6492 GB, free: 2.707 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.000813/0.2238, allocations: 0.6648 MB / 0.6499 GB, free: 2.035 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.2238, allocations: 0 / 0.6499 GB, free: 2.035 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001125/0.2249, allocations: 407 kB / 0.6502 GB, free: 1.637 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.001175/0.2261, allocations: 486 kB / 0.6507 GB, free: 1.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002223/0.2283, allocations: 1.949 MB / 0.6526 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.885e-06/0.2283, allocations: 0 / 0.6526 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.000387/0.2287, allocations: 339.8 kB / 0.6529 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.229, allocations: 36.59 kB / 0.653 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002297/0.2313, allocations: 1.766 MB / 0.6547 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004016/0.2317, allocations: 376 kB / 0.6551 GB, free: 12.63 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001439/0.2318, allocations: 36.47 kB / 0.6551 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.2319, allocations: 32.47 kB / 0.6551 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of SimCode: time 3.71e-07/0.2319, allocations: 3.938 kB / 0.6551 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.01915/0.2511, allocations: 9.876 MB / 0.6648 GB, free: 2.793 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.HeatTransfer.ThermalResponseFactors.Validation.GFunction_1borehole_5meters.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.960134772001766] Failed to read output from testmodel.py, exit status != 0: 0.258783100056462 0.274481218 0.087004224 Calling exit ...