Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001766/0.001766, allocations: 79.42 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.002169/0.002169, allocations: 165.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.576/1.576, allocations: 177.2 MB / 203.4 MB, free: 8.984 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.7882/0.7882, allocations: 101.3 MB / 361.1 MB, free: 9.578 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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.002082/0.002082, allocations: 66.94 kB / 0.5357 GB, free: 5.277 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.1527/0.1548, allocations: 85.88 MB / 0.6195 GB, free: 1.578 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005717/0.1605, allocations: 3.783 MB / 0.6232 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003563/0.1641, allocations: 2.215 MB / 0.6254 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000221/0.1643, allocations: 12 kB / 0.6254 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.00142/0.1657, allocations: 0.4896 MB / 0.6259 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004793/0.1662, allocations: 262 kB / 0.6261 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002209/0.1664, allocations: 131.9 kB / 0.6263 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0008608/0.1673, allocations: 0.8098 MB / 0.6271 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003736/0.1676, allocations: 223 kB / 0.6273 GB, free: 9.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004068/0.168, allocations: 314.9 kB / 0.6276 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000397/0.1684, allocations: 278.6 kB / 0.6278 GB, free: 9.043 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.912e-05/0.1685, allocations: 76 kB / 0.6279 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.1687, allocations: 76 kB / 0.628 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001809/0.1689, allocations: 163.5 kB / 0.6281 GB, free: 8.734 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003424/0.1692, allocations: 314.7 kB / 0.6284 GB, free: 8.426 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001035/0.1702, allocations: 1.004 MB / 0.6294 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.672e-06/0.1702, allocations: 4 kB / 0.6294 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.653e-06/0.1702, allocations: 0 / 0.6294 GB, free: 7.414 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.546e-06/0.1702, allocations: 0 / 0.6294 GB, free: 7.414 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00151/0.1718, allocations: 0.8976 MB / 0.6303 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/0.1718, allocations: 8.031 kB / 0.6303 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1719, allocations: 80.47 kB / 0.6304 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000705/0.1726, allocations: 400.2 kB / 0.6308 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.1727, allocations: 41.38 kB / 0.6308 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.791e-05/0.1728, allocations: 47.94 kB / 0.6309 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007714/0.1735, allocations: 430.5 kB / 0.6313 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.1736, allocations: 3.953 kB / 0.6313 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.075e-05/0.1736, allocations: 20 kB / 0.6313 GB, free: 5.441 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.47e-05/0.1736, allocations: 12 kB / 0.6313 GB, free: 5.43 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007618/0.1744, allocations: 359.8 kB / 0.6316 GB, free: 5.082 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002003/0.1764, allocations: 1.172 MB / 0.6328 GB, free: 3.875 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005948/0.177, allocations: 322.3 kB / 0.6331 GB, free: 3.551 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.1775, allocations: 295 kB / 0.6334 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.52e-05/0.1775, allocations: 4 kB / 0.6334 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.652e-05/0.1776, allocations: 38.55 kB / 0.6334 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 1.993e-06/0.1776, allocations: 0 / 0.6334 GB, free: 3.211 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.001065/0.1786, allocations: 498.5 kB / 0.6339 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/0.1787, allocations: 59.41 kB / 0.6339 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005571/0.1792, allocations: 438 kB / 0.6344 GB, free: 2.211 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.767e-05/0.1793, allocations: 29.7 kB / 0.6344 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002312/0.1795, allocations: 289.2 kB / 0.6347 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001344/0.1796, allocations: 154.6 kB / 0.6348 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.1797, allocations: 62.08 kB / 0.6349 GB, free: 1.664 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001875/0.1799, allocations: 358.8 kB / 0.6352 GB, free: 1.305 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002632/0.1802, allocations: 116.7 kB / 0.6353 GB, free: 1.191 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002501/0.1804, allocations: 129.2 kB / 0.6355 GB, free: 1.066 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005577/0.181, allocations: 302.2 kB / 0.6357 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.181, allocations: 3.938 kB / 0.6357 GB, free: 0.7656 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007032/0.1817, allocations: 388.7 kB / 0.6361 GB, free: 388 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.1817, allocations: 4 kB / 0.6361 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.1817, allocations: 0 / 0.6361 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.209e-05/0.1817, allocations: 7.984 kB / 0.6361 GB, free: 376 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005326/0.1823, allocations: 127.9 kB / 0.6362 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.903e-06/0.1823, allocations: 0 / 0.6362 GB, free: 248 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000195/0.1825, allocations: 27.84 kB / 0.6363 GB, free: 220 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.1825, allocations: 8 kB / 0.6363 GB, free: 212 kB / 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0002321/0.1827, allocations: 197.8 kB / 0.6365 GB, free: 4 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.387e-05/0.1828, allocations: 51.61 kB / 0.6365 GB, free: 15.95 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.1829, allocations: 64.86 kB / 0.6366 GB, free: 15.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.44e-06/0.183, allocations: 4 kB / 0.6366 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.183, allocations: 0 / 0.6366 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.183, allocations: 4 kB / 0.6366 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005637/0.1835, allocations: 420.8 kB / 0.637 GB, free: 15.44 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.33e-06/0.1835, allocations: 3.938 kB / 0.637 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005278/0.1841, allocations: 123.9 kB / 0.6371 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.1841, allocations: 3.938 kB / 0.6371 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.891e-05/0.1841, allocations: 12 kB / 0.6371 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.954e-06/0.1841, allocations: 0 / 0.6371 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.1841, allocations: 0 / 0.6371 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/0.1852, allocations: 0.6472 MB / 0.6378 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.1853, allocations: 59.62 kB / 0.6378 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.443e-05/0.1853, allocations: 8 kB / 0.6378 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002094/0.1855, allocations: 19.98 kB / 0.6378 GB, free: 14.55 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.169e-05/0.1856, allocations: 23.89 kB / 0.6379 GB, free: 14.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.1856, allocations: 15.94 kB / 0.6379 GB, free: 14.51 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0003909/0.186, allocations: 319.1 kB / 0.6382 GB, free: 14.2 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.186, allocations: 0 / 0.6382 GB, free: 14.2 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.000421/0.1864, allocations: 147.6 kB / 0.6383 GB, free: 14.06 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001486/0.1866, allocations: 115.8 kB / 0.6384 GB, free: 13.94 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006279/0.1872, allocations: 319.4 kB / 0.6387 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1872, allocations: 0 / 0.6387 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003029/0.1875, allocations: 164.2 kB / 0.6389 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005607/0.1881, allocations: 96.22 kB / 0.639 GB, free: 13.37 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.19, allocations: 1.191 MB / 0.6402 GB, free: 12.15 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.1903, allocations: 275.2 kB / 0.6404 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001535/0.1905, allocations: 43.33 kB / 0.6405 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.845e-05/0.1906, allocations: 32.5 kB / 0.6405 GB, free: 11.78 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1906, allocations: 4 kB / 0.6405 GB, free: 11.78 MB / 0.545 GB Notification: Performance of Templates: time 0.01125/0.2018, allocations: 4.991 MB / 0.6454 GB, free: 6.922 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.602498230990022] Failed to read output from testmodel.py, exit status != 0: 0.20981374697294086 0.22588613000000002 0.052468621 Calling exit ...