Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001328/0.001328, allocations: 71.77 kB / 20.51 MB, free: 1.125 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.001458/0.001458, allocations: 163.7 kB / 23.76 MB, free: 4.195 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.419/1.419, allocations: 177.2 MB / 204.1 MB, free: 8.984 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9355/0.9355, allocations: 113.9 MB / 374.5 MB, free: 12.87 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [Timeout 660] "Notification: IBPSA 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.002078/0.002078, allocations: 63.89 kB / 0.5551 GB, free: 2.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1577, allocations: 89.15 MB / 0.6421 GB, free: 9.496 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005335/0.1631, allocations: 3.772 MB / 0.6458 GB, free: 5.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003447/0.1665, allocations: 2.211 MB / 0.648 GB, free: 3.488 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002241/0.1667, allocations: 12 kB / 0.648 GB, free: 3.477 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001526/0.1683, allocations: 0.5209 MB / 0.6485 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004595/0.1687, allocations: 250 kB / 0.6487 GB, free: 2.707 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.1689, allocations: 139.8 kB / 0.6489 GB, free: 2.57 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008441/0.1698, allocations: 0.8084 MB / 0.6497 GB, free: 1.758 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003744/0.1702, allocations: 215 kB / 0.6499 GB, free: 1.543 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004377/0.1706, allocations: 303 kB / 0.6502 GB, free: 1.246 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004088/0.171, allocations: 282.6 kB / 0.6504 GB, free: 0.9688 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.448e-05/0.1711, allocations: 76 kB / 0.6505 GB, free: 0.8945 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001244/0.1712, allocations: 76 kB / 0.6506 GB, free: 0.8203 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001782/0.1714, allocations: 171.4 kB / 0.6507 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0003291/0.1717, allocations: 318.6 kB / 0.651 GB, free: 348 kB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.1728, allocations: 0.9963 MB / 0.652 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.1728, allocations: 0 / 0.652 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.313e-06/0.1728, allocations: 0 / 0.652 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.538e-06/0.1728, allocations: 3.938 kB / 0.652 GB, free: 15.34 MB / 0.5606 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.001489/0.1743, allocations: 0.8938 MB / 0.6529 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.1743, allocations: 12.03 kB / 0.6529 GB, free: 14.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.1744, allocations: 76.47 kB / 0.653 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006669/0.1751, allocations: 404.2 kB / 0.6534 GB, free: 13.9 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.565e-05/0.1751, allocations: 37.38 kB / 0.6534 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.75e-05/0.1752, allocations: 51.94 kB / 0.6535 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007795/0.176, allocations: 426.5 kB / 0.6539 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.176, allocations: 0 / 0.6539 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.11e-05/0.176, allocations: 20 kB / 0.6539 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.378e-05/0.1761, allocations: 12 kB / 0.6539 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007504/0.1768, allocations: 367.8 kB / 0.6542 GB, free: 13 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001963/0.1788, allocations: 1.172 MB / 0.6554 GB, free: 11.8 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005414/0.1793, allocations: 303.5 kB / 0.6557 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004906/0.1798, allocations: 289.5 kB / 0.6559 GB, free: 11.21 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.455e-05/0.1798, allocations: 4 kB / 0.656 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.348e-05/0.1799, allocations: 39.25 kB / 0.656 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.624e-06/0.1799, allocations: 0 / 0.656 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.001004/0.1809, allocations: 0.4888 MB / 0.6565 GB, free: 10.66 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.34e-05/0.1809, allocations: 59.34 kB / 0.6565 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005372/0.1814, allocations: 442 kB / 0.6569 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.192e-05/0.1815, allocations: 33.7 kB / 0.657 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.1817, allocations: 276.5 kB / 0.6572 GB, free: 9.832 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001309/0.1818, allocations: 150.7 kB / 0.6574 GB, free: 9.684 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000103/0.1819, allocations: 62.08 kB / 0.6574 GB, free: 9.613 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.1821, allocations: 358.8 kB / 0.6578 GB, free: 9.254 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002667/0.1824, allocations: 120.7 kB / 0.6579 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002569/0.1826, allocations: 125.4 kB / 0.658 GB, free: 9.016 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005602/0.1832, allocations: 302 kB / 0.6583 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1832, allocations: 4 kB / 0.6583 GB, free: 8.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006908/0.1839, allocations: 396.4 kB / 0.6587 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.1839, allocations: 7.984 kB / 0.6587 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1839, allocations: 0 / 0.6587 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1839, allocations: 8 kB / 0.6587 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.1844, allocations: 123.9 kB / 0.6588 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1844, allocations: 0 / 0.6588 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002025/0.1846, allocations: 31.78 kB / 0.6589 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.1847, allocations: 8 kB / 0.6589 GB, free: 8.145 MB / 0.5606 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.000228/0.1849, allocations: 197.8 kB / 0.659 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.815e-05/0.185, allocations: 47.66 kB / 0.6591 GB, free: 7.895 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001141/0.1851, allocations: 64.8 kB / 0.6592 GB, free: 7.832 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.942e-06/0.1851, allocations: 4 kB / 0.6592 GB, free: 7.828 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.1851, allocations: 7.938 kB / 0.6592 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1851, allocations: 0 / 0.6592 GB, free: 7.82 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005624/0.1857, allocations: 416.8 kB / 0.6596 GB, free: 7.383 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.1857, allocations: 7.938 kB / 0.6596 GB, free: 7.375 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005449/0.1862, allocations: 127.8 kB / 0.6597 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.1862, allocations: 0 / 0.6597 GB, free: 7.25 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.615e-05/0.1862, allocations: 12 kB / 0.6597 GB, free: 7.238 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.1862, allocations: 7.938 kB / 0.6597 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1862, allocations: 0 / 0.6597 GB, free: 7.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001056/0.1873, allocations: 0.6445 MB / 0.6603 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.553e-05/0.1874, allocations: 59.62 kB / 0.6604 GB, free: 6.512 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.046e-05/0.1874, allocations: 4 kB / 0.6604 GB, free: 6.508 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.1877, allocations: 11.98 kB / 0.6604 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.77e-05/0.1877, allocations: 27.95 kB / 0.6604 GB, free: 6.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.958e-05/0.1877, allocations: 8 kB / 0.6605 GB, free: 6.461 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003837/0.1881, allocations: 323.1 kB / 0.6608 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.1881, allocations: 0 / 0.6608 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004214/0.1885, allocations: 151.6 kB / 0.6609 GB, free: 5.996 MB / 0.5606 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.000136/0.1887, allocations: 111.2 kB / 0.661 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0006453/0.1893, allocations: 303.7 kB / 0.6613 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.1893, allocations: 0 / 0.6613 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.1896, allocations: 171.8 kB / 0.6615 GB, free: 5.414 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005536/0.1902, allocations: 95.72 kB / 0.6616 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001923/0.1921, allocations: 1.196 MB / 0.6627 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.1924, allocations: 267.2 kB / 0.663 GB, free: 3.805 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001693/0.1926, allocations: 51.36 kB / 0.663 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.748e-05/0.1927, allocations: 36.5 kB / 0.6631 GB, free: 3.719 MB / 0.5606 GB Notification: Performance of SimCode: time 5.11e-07/0.1927, allocations: 3.938 kB / 0.6631 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of Templates: time 0.01092/0.2036, allocations: 4.977 MB / 0.6679 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.444900547037832] Failed to read output from testmodel.py, exit status != 0: 0.21216354507487267 0.226315015 0.050453072 Calling exit ...