Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.001316/0.001316, 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.001451/0.001451, allocations: 164.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.426/1.426, allocations: 177.2 MB / 203.4 MB, free: 8.949 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.7865/0.7865, allocations: 101.3 MB / 361.1 MB, free: 9.551 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [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.002084/0.002084, allocations: 64.38 kB / 0.5357 GB, free: 5.418 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.1542/0.1563, allocations: 85.88 MB / 0.6195 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004398/0.1607, allocations: 2.838 MB / 0.6223 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002984/0.1637, allocations: 1.958 MB / 0.6242 GB, free: 12.89 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001556/0.1638, allocations: 4 kB / 0.6242 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001356/0.1652, allocations: 465.8 kB / 0.6247 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0003073/0.1655, allocations: 146.9 kB / 0.6248 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001264/0.1656, allocations: 59.92 kB / 0.6249 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005343/0.1661, allocations: 457.7 kB / 0.6253 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002289/0.1664, allocations: 99.84 kB / 0.6254 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002781/0.1666, allocations: 171.4 kB / 0.6256 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002463/0.1669, allocations: 159.1 kB / 0.6257 GB, free: 11.35 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.258e-05/0.1669, allocations: 36 kB / 0.6257 GB, free: 11.32 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.463e-05/0.167, allocations: 32 kB / 0.6258 GB, free: 11.29 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001283/0.1671, allocations: 103.6 kB / 0.6259 GB, free: 11.18 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.1673, allocations: 171.2 kB / 0.626 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005916/0.1679, allocations: 0.5563 MB / 0.6266 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1679, allocations: 0 / 0.6266 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.1679, allocations: 0 / 0.6266 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.143e-06/0.1679, allocations: 4 kB / 0.6266 GB, free: 10.45 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001076/0.169, allocations: 0.6407 MB / 0.6272 GB, free: 9.781 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.369e-05/0.169, allocations: 12.03 kB / 0.6272 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.57e-05/0.1691, allocations: 44.66 kB / 0.6273 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005674/0.1697, allocations: 328.5 kB / 0.6276 GB, free: 9.379 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.1697, allocations: 16.88 kB / 0.6276 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.711e-05/0.1698, allocations: 23.94 kB / 0.6276 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004103/0.1702, allocations: 196.1 kB / 0.6278 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.472e-05/0.1702, allocations: 0 / 0.6278 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.206e-05/0.1702, allocations: 12 kB / 0.6278 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.1702, allocations: 4 kB / 0.6278 GB, free: 9.129 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004039/0.1706, allocations: 165.9 kB / 0.628 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001101/0.1717, allocations: 0.6363 MB / 0.6286 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003279/0.172, allocations: 146.6 kB / 0.6287 GB, free: 8.145 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000223/0.1723, allocations: 107.3 kB / 0.6288 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.946e-05/0.1723, allocations: 4 kB / 0.6288 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.823e-05/0.1723, allocations: 34.5 kB / 0.6289 GB, free: 7.992 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.253e-06/0.1723, allocations: 4 kB / 0.6289 GB, free: 7.988 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006157/0.1729, allocations: 257.5 kB / 0.6291 GB, free: 7.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.173, allocations: 55.41 kB / 0.6292 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004818/0.1734, allocations: 393.7 kB / 0.6296 GB, free: 7.273 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.233e-05/0.1735, allocations: 29.7 kB / 0.6296 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001639/0.1736, allocations: 208.4 kB / 0.6298 GB, free: 7.031 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.534e-05/0.1737, allocations: 63.44 kB / 0.6298 GB, free: 6.969 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.948e-05/0.1738, allocations: 29.7 kB / 0.6299 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001693/0.1739, allocations: 350.8 kB / 0.6302 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001605/0.1741, allocations: 63.89 kB / 0.6303 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1742, allocations: 55.91 kB / 0.6303 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000326/0.1746, allocations: 135 kB / 0.6304 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.1746, allocations: 0 / 0.6304 GB, free: 6.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004128/0.175, allocations: 213.3 kB / 0.6306 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.175, allocations: 11.94 kB / 0.6307 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.228e-06/0.175, allocations: 0 / 0.6307 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.175, allocations: 0 / 0.6307 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002571/0.1753, allocations: 51.91 kB / 0.6307 GB, free: 6.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1753, allocations: 4 kB / 0.6307 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001361/0.1754, allocations: 19.88 kB / 0.6307 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.1754, allocations: 4 kB / 0.6307 GB, free: 6.027 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 (20): * Single equations (assignments): 20 * 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.0001681/0.1756, allocations: 158.9 kB / 0.6309 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.51e-05/0.1757, allocations: 47.69 kB / 0.6309 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.481e-05/0.1757, allocations: 39.41 kB / 0.631 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.474e-06/0.1757, allocations: 0 / 0.631 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1757, allocations: 0 / 0.631 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.1757, allocations: 4 kB / 0.631 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.1761, allocations: 273.1 kB / 0.6312 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1761, allocations: 0 / 0.6312 GB, free: 5.473 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002618/0.1764, allocations: 47.97 kB / 0.6313 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.1764, allocations: 0 / 0.6313 GB, free: 5.426 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.867e-05/0.1764, allocations: 11.94 kB / 0.6313 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.1764, allocations: 4 kB / 0.6313 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.1764, allocations: 0 / 0.6313 GB, free: 5.41 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006511/0.177, allocations: 380.9 kB / 0.6317 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.473e-05/0.1771, allocations: 47.72 kB / 0.6317 GB, free: 4.977 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.846e-05/0.1772, allocations: 3.938 kB / 0.6317 GB, free: 4.973 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001587/0.1773, allocations: 8 kB / 0.6317 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.262e-05/0.1774, allocations: 15.97 kB / 0.6317 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.658e-06/0.1774, allocations: 7.938 kB / 0.6317 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000328/0.1777, allocations: 291.2 kB / 0.632 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1777, allocations: 0 / 0.632 GB, free: 4.66 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003139/0.178, allocations: 71.89 kB / 0.6321 GB, free: 4.59 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.000124/0.1781, allocations: 103.2 kB / 0.6322 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003707/0.1785, allocations: 141.8 kB / 0.6323 GB, free: 4.344 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1785, allocations: 3.938 kB / 0.6323 GB, free: 4.34 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001754/0.1787, allocations: 79.91 kB / 0.6324 GB, free: 4.262 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.1792, allocations: 69.75 kB / 0.6325 GB, free: 4.199 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.1805, allocations: 0.7617 MB / 0.6332 GB, free: 3.41 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001967/0.1807, allocations: 194.1 kB / 0.6334 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001222/0.1808, allocations: 30.97 kB / 0.6334 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.44e-05/0.1808, allocations: 24.5 kB / 0.6334 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of SimCode: time 6.21e-07/0.1808, allocations: 0 / 0.6334 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of Templates: time 0.008317/0.1892, allocations: 3.661 MB / 0.637 GB, free: 15.61 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.307961154030636] Failed to read output from testmodel.py, exit status != 0: 0.19702834903728217 0.212826641 0.041652328 Calling exit ...