Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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.001354/0.001354, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.001713/0.001713, allocations: 163 kB / 23.01 MB, free: 4.594 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.454/1.454, allocations: 177.2 MB / 203.4 MB, free: 9.012 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.8272/0.8272, allocations: 101.3 MB / 361.1 MB, free: 9.57 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.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") [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.002097/0.002097, allocations: 60.81 kB / 0.5357 GB, free: 5.242 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.1666/0.1687, allocations: 85.89 MB / 0.6196 GB, free: 1.559 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002819/0.1715, allocations: 1.436 MB / 0.621 GB, free: 120 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004661/0.1762, allocations: 2.654 MB / 0.6236 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.005e-05/0.1762, allocations: 0 / 0.6236 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.362e-05/0.1763, allocations: 7.922 kB / 0.6236 GB, free: 13.44 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.975e-05/0.1764, allocations: 19.86 kB / 0.6236 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.004589/0.1809, allocations: 1.639 MB / 0.6252 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001099/0.1811, allocations: 39.73 kB / 0.6252 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.824e-05/0.1811, allocations: 8 kB / 0.6252 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.931e-05/0.1811, allocations: 11.94 kB / 0.6253 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.8e-05/0.1812, allocations: 19.86 kB / 0.6253 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.163e-05/0.1812, allocations: 0 / 0.6253 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.1837, allocations: 1.478 MB / 0.6267 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 1.863e-05/0.1837, allocations: 11.92 kB / 0.6267 GB, free: 10.23 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.983e-05/0.1837, allocations: 11.94 kB / 0.6267 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001661/0.1854, allocations: 1.087 MB / 0.6278 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1854, allocations: 0 / 0.6278 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1854, allocations: 0 / 0.6278 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.1854, allocations: 0 / 0.6278 GB, free: 9.129 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00069/0.1861, allocations: 468 kB / 0.6282 GB, free: 8.641 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.1862, allocations: 12.03 kB / 0.6283 GB, free: 8.629 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.795e-05/0.1862, allocations: 76.22 kB / 0.6283 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.1864, allocations: 201.6 kB / 0.6285 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.895e-05/0.1865, allocations: 158.7 kB / 0.6287 GB, free: 8.176 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.23e-05/0.1866, allocations: 154.6 kB / 0.6288 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001508/0.1867, allocations: 101 kB / 0.6289 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.829e-05/0.1867, allocations: 83.22 kB / 0.629 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.896e-05/0.1868, allocations: 150.6 kB / 0.6291 GB, free: 7.688 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-05/0.1869, allocations: 150.6 kB / 0.6293 GB, free: 7.539 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.503e-05/0.187, allocations: 154.6 kB / 0.6294 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.1873, allocations: 425.5 kB / 0.6298 GB, free: 6.941 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/0.1874, allocations: 165.1 kB / 0.63 GB, free: 6.77 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.011e-05/0.1874, allocations: 84.08 kB / 0.6301 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1875, allocations: 75.28 kB / 0.6301 GB, free: 6.609 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.835e-05/0.1875, allocations: 117.8 kB / 0.6303 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.02e-07/0.1875, allocations: 0 / 0.6303 GB, free: 6.484 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.59e-05/0.1876, allocations: 29.64 kB / 0.6303 GB, free: 6.449 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.04e-05/0.1877, allocations: 130.7 kB / 0.6304 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000157/0.1878, allocations: 136.1 kB / 0.6305 GB, free: 6.168 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.799e-05/0.1879, allocations: 29.7 kB / 0.6306 GB, free: 6.133 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.109e-05/0.1879, allocations: 92.12 kB / 0.6307 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.934e-06/0.1879, allocations: 0 / 0.6307 GB, free: 6.039 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.522e-05/0.188, allocations: 17.72 kB / 0.6307 GB, free: 6.016 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001559/0.1881, allocations: 318.8 kB / 0.631 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.679e-05/0.1881, allocations: 12 kB / 0.631 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.945e-05/0.1882, allocations: 4 kB / 0.631 GB, free: 5.68 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.73e-05/0.1882, allocations: 12.86 kB / 0.631 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1882, allocations: 0 / 0.631 GB, free: 5.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001401/0.1883, allocations: 61.52 kB / 0.6311 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.1884, allocations: 4 kB / 0.6311 GB, free: 5.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.966e-05/0.1884, allocations: 4 kB / 0.6311 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.1884, allocations: 0 / 0.6311 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.02e-07/0.1884, allocations: 0 / 0.6311 GB, free: 5.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.1884, allocations: 3.938 kB / 0.6311 GB, free: 5.586 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.368e-05/0.1884, allocations: 4 kB / 0.6311 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1884, allocations: 4.062 kB / 0.6311 GB, free: 5.578 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * 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.0001514/0.1886, allocations: 185.1 kB / 0.6313 GB, free: 5.387 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.644e-05/0.1887, allocations: 108.9 kB / 0.6314 GB, free: 5.273 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.732e-05/0.1887, allocations: 120.7 kB / 0.6315 GB, free: 5.145 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.172e-05/0.1888, allocations: 176.3 kB / 0.6316 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.932e-05/0.1889, allocations: 180.2 kB / 0.6318 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.897e-05/0.189, allocations: 180.3 kB / 0.632 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/0.1892, allocations: 368.8 kB / 0.6323 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.935e-05/0.1893, allocations: 108.9 kB / 0.6324 GB, free: 4.086 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.085e-05/0.1893, allocations: 101 kB / 0.6325 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-05/0.1894, allocations: 188.3 kB / 0.6327 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.081e-05/0.1895, allocations: 180.3 kB / 0.6329 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-05/0.1896, allocations: 184.2 kB / 0.6331 GB, free: 3.418 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001302/0.1897, allocations: 192.2 kB / 0.6333 GB, free: 3.223 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001793/0.1899, allocations: 303.7 kB / 0.6335 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.045e-05/0.19, allocations: 116.9 kB / 0.6337 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001032/0.1901, allocations: 184.2 kB / 0.6338 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.831e-05/0.1902, allocations: 105 kB / 0.6339 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.1903, allocations: 180.2 kB / 0.6341 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.041e-05/0.1903, allocations: 104.9 kB / 0.6342 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 9.346e-05/0.1904, allocations: 105.6 kB / 0.6343 GB, free: 2.09 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1904, allocations: 4 kB / 0.6343 GB, free: 2.086 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008593/0.1913, allocations: 294.9 kB / 0.6346 GB, free: 1.797 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * 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.001098/0.1924, allocations: 0.5464 MB / 0.6351 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001159/0.1925, allocations: 37.7 kB / 0.6352 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1925, allocations: 4.062 kB / 0.6352 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.1925, allocations: 352 / 0.6352 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004943/0.193, allocations: 475.5 kB / 0.6356 GB, free: 0.7266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004164/0.1934, allocations: 236.5 kB / 0.6358 GB, free: 480 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.237e-05/0.1935, allocations: 71.33 kB / 0.6359 GB, free: 388 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 1.442e-05/0.1935, allocations: 0 / 0.6359 GB, free: 388 kB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.555e-05/0.1935, allocations: 12.5 kB / 0.6359 GB, free: 376 kB / 0.5294 GB Notification: Performance of SimCode: time 3.7e-07/0.1935, allocations: 0 / 0.6359 GB, free: 376 kB / 0.5294 GB Notification: Performance of Templates: time 0.01143/0.2049, allocations: 5.834 MB / 0.6416 GB, free: 10.59 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.916059085982852] Failed to read output from testmodel.py, exit status != 0: 0.21300044294912368 0.228284919 0.039720706 Calling exit ...