Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001756/0.001756, 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.001826/0.001826, allocations: 161.5 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.442/1.442, allocations: 177.2 MB / 204.1 MB, free: 8.918 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.9683/0.9683, allocations: 113.9 MB / 374.5 MB, free: 12.86 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [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.002104/0.002104, allocations: 70.16 kB / 0.5551 GB, free: 2.684 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.159/0.1611, allocations: 89.15 MB / 0.6421 GB, free: 9.5 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.0052/0.1663, allocations: 2.822 MB / 0.6449 GB, free: 6.664 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.003324/0.1696, allocations: 1.958 MB / 0.6468 GB, free: 4.699 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002819/0.1699, allocations: 4 kB / 0.6468 GB, free: 4.695 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001667/0.1716, allocations: 481.8 kB / 0.6473 GB, free: 4.223 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0003866/0.172, allocations: 150.8 kB / 0.6474 GB, free: 4.074 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.1721, allocations: 55.94 kB / 0.6475 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0005949/0.1727, allocations: 445.8 kB / 0.6479 GB, free: 3.582 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000228/0.1729, allocations: 95.83 kB / 0.648 GB, free: 3.484 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003198/0.1733, allocations: 159.4 kB / 0.6481 GB, free: 3.328 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002604/0.1735, allocations: 163.1 kB / 0.6483 GB, free: 3.168 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 4.962e-05/0.1736, allocations: 39.94 kB / 0.6483 GB, free: 3.129 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.124e-05/0.1736, allocations: 36 kB / 0.6484 GB, free: 3.094 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001221/0.1738, allocations: 91.67 kB / 0.6485 GB, free: 3.004 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0002022/0.174, allocations: 175.1 kB / 0.6486 GB, free: 2.832 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006092/0.1746, allocations: 0.5564 MB / 0.6492 GB, free: 2.273 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.1746, allocations: 0 / 0.6492 GB, free: 2.273 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.183e-06/0.1746, allocations: 0 / 0.6492 GB, free: 2.273 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.105e-06/0.1746, allocations: 0 / 0.6492 GB, free: 2.273 MB / 0.545 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.001093/0.1757, allocations: 0.6291 MB / 0.6498 GB, free: 1.613 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.614e-05/0.1757, allocations: 16.03 kB / 0.6498 GB, free: 1.598 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.394e-05/0.1758, allocations: 48.61 kB / 0.6498 GB, free: 1.551 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005785/0.1764, allocations: 320.6 kB / 0.6502 GB, free: 1.211 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.563e-05/0.1764, allocations: 16.88 kB / 0.6502 GB, free: 1.191 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.149e-05/0.1765, allocations: 19.94 kB / 0.6502 GB, free: 1.172 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004327/0.1769, allocations: 212 kB / 0.6504 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/0.1769, allocations: 0 / 0.6504 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.441e-05/0.1769, allocations: 12 kB / 0.6504 GB, free: 0.9492 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.1769, allocations: 4 kB / 0.6504 GB, free: 0.9453 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000417/0.1774, allocations: 165.9 kB / 0.6506 GB, free: 0.7852 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001158/0.1785, allocations: 0.6324 MB / 0.6512 GB, free: 120 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003409/0.1789, allocations: 138.7 kB / 0.6513 GB, free: 15.97 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002311/0.1791, allocations: 107.6 kB / 0.6514 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.634e-05/0.1791, allocations: 0 / 0.6514 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.39e-05/0.1791, allocations: 42.47 kB / 0.6515 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.032e-06/0.1791, allocations: 0 / 0.6515 GB, free: 15.82 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.000649/0.1798, allocations: 254.5 kB / 0.6517 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.1798, allocations: 51.41 kB / 0.6517 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000492/0.1803, allocations: 397.7 kB / 0.6521 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/0.1803, allocations: 29.7 kB / 0.6522 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000167/0.1805, allocations: 208.4 kB / 0.6524 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.122e-05/0.1806, allocations: 71.42 kB / 0.6524 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.096e-05/0.1806, allocations: 33.7 kB / 0.6525 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001698/0.1808, allocations: 342.8 kB / 0.6528 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001637/0.181, allocations: 59.95 kB / 0.6528 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001507/0.1811, allocations: 59.97 kB / 0.6529 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003283/0.1815, allocations: 134.9 kB / 0.653 GB, free: 14.16 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.1815, allocations: 4 kB / 0.653 GB, free: 14.15 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004319/0.1819, allocations: 205.3 kB / 0.6532 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.1819, allocations: 7.938 kB / 0.6532 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.1819, allocations: 3.984 kB / 0.6532 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.033e-05/0.1819, allocations: 0 / 0.6532 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002707/0.1822, allocations: 55.97 kB / 0.6533 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.012e-06/0.1822, allocations: 3.938 kB / 0.6533 GB, free: 13.88 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001381/0.1824, allocations: 15.88 kB / 0.6533 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.621e-05/0.1824, allocations: 15.94 kB / 0.6533 GB, free: 13.84 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 (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.0001728/0.1825, allocations: 157.8 kB / 0.6535 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.634e-05/0.1826, allocations: 39.7 kB / 0.6535 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.854e-05/0.1827, allocations: 43.33 kB / 0.6536 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1827, allocations: 0 / 0.6536 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.1827, allocations: 4 kB / 0.6536 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.1827, allocations: 0 / 0.6536 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003696/0.1831, allocations: 265.1 kB / 0.6538 GB, free: 13.3 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.123e-06/0.1831, allocations: 7.969 kB / 0.6538 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002797/0.1834, allocations: 59.91 kB / 0.6539 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.885e-06/0.1834, allocations: 0 / 0.6539 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.757e-05/0.1834, allocations: 7.938 kB / 0.6539 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1834, allocations: 0 / 0.6539 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1834, allocations: 0 / 0.6539 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006682/0.184, allocations: 377.3 kB / 0.6542 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.407e-05/0.1841, allocations: 43.72 kB / 0.6543 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.114e-05/0.1842, allocations: 7.938 kB / 0.6543 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001743/0.1843, allocations: 12.06 kB / 0.6543 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.485e-05/0.1844, allocations: 11.97 kB / 0.6543 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.025e-05/0.1844, allocations: 4 kB / 0.6543 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003437/0.1847, allocations: 287.2 kB / 0.6546 GB, free: 12.49 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1847, allocations: 7.938 kB / 0.6546 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003271/0.1851, allocations: 71.89 kB / 0.6547 GB, free: 12.41 MB / 0.5606 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.0001341/0.1852, allocations: 99.25 kB / 0.6548 GB, free: 12.3 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.1856, allocations: 139.9 kB / 0.6549 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.1856, allocations: 0 / 0.6549 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001844/0.1858, allocations: 71.91 kB / 0.655 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005265/0.1863, allocations: 84.98 kB / 0.655 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001335/0.1877, allocations: 0.7539 MB / 0.6558 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002112/0.1879, allocations: 194.2 kB / 0.656 GB, free: 11.03 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.000112/0.188, allocations: 26.97 kB / 0.656 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.443e-05/0.188, allocations: 28.48 kB / 0.656 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of SimCode: time 3.41e-07/0.188, allocations: 0 / 0.656 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of Templates: time 0.008705/0.1967, allocations: 3.664 MB / 0.6596 GB, free: 7.445 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.46641690004617] Failed to read output from testmodel.py, exit status != 0: 0.20545219501946121 0.220481526 0.042633539000000005 Calling exit ...