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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001411/0.001411, allocations: 114.6 kB / 19.69 MB, free: 2.199 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001577/0.001577, allocations: 190.6 kB / 22.98 MB, free: 5.062 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.285/1.285, allocations: 225.6 MB / 251.8 MB, free: 13 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8668/0.8668, allocations: 149.6 MB / 456.6 MB, free: 1.18 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 68.17 kB / 0.6329 GB, free: 8.906 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1553, allocations: 87.88 MB / 0.7187 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005337/0.1606, allocations: 4.167 MB / 0.7228 GB, free: 12.75 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0036/0.1642, allocations: 2.421 MB / 0.7252 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000249/0.1645, allocations: 12 kB / 0.7252 GB, free: 10.31 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001492/0.166, allocations: 0.5675 MB / 0.7257 GB, free: 9.742 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0004397/0.1664, allocations: 242 kB / 0.726 GB, free: 9.504 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.1667, allocations: 135.9 kB / 0.7261 GB, free: 9.371 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0008212/0.1675, allocations: 0.8126 MB / 0.7269 GB, free: 8.555 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003687/0.1679, allocations: 231 kB / 0.7271 GB, free: 8.328 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000358/0.1682, allocations: 310.9 kB / 0.7274 GB, free: 8.023 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003708/0.1686, allocations: 326.6 kB / 0.7277 GB, free: 7.703 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 8.277e-05/0.1687, allocations: 75.98 kB / 0.7278 GB, free: 7.629 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001066/0.1688, allocations: 79.94 kB / 0.7279 GB, free: 7.551 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001632/0.1689, allocations: 167.4 kB / 0.728 GB, free: 7.387 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.000332/0.1693, allocations: 390.2 kB / 0.7284 GB, free: 7.004 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0009461/0.1702, allocations: 0.9962 MB / 0.7294 GB, free: 6.004 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1702, allocations: 0 / 0.7294 GB, free: 6.004 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1702, allocations: 4 kB / 0.7294 GB, free: 6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 9.918e-06/0.1702, allocations: 0 / 0.7294 GB, free: 6 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001378/0.1716, allocations: 0.8899 MB / 0.7302 GB, free: 5.078 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.543e-05/0.1717, allocations: 8.625 kB / 0.7302 GB, free: 5.07 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001119/0.1718, allocations: 76.47 kB / 0.7303 GB, free: 4.996 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006163/0.1724, allocations: 392.3 kB / 0.7307 GB, free: 4.586 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.467e-05/0.1724, allocations: 45.36 kB / 0.7307 GB, free: 4.543 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.486e-05/0.1725, allocations: 55.89 kB / 0.7308 GB, free: 4.488 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007373/0.1732, allocations: 422.5 kB / 0.7312 GB, free: 4.066 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.916e-05/0.1732, allocations: 4 kB / 0.7312 GB, free: 4.062 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.1733, allocations: 16 kB / 0.7312 GB, free: 4.047 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.281e-05/0.1733, allocations: 12 kB / 0.7312 GB, free: 4.035 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006797/0.174, allocations: 367.8 kB / 0.7316 GB, free: 3.676 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001965/0.1759, allocations: 1.476 MB / 0.733 GB, free: 2.137 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000507/0.1764, allocations: 310.9 kB / 0.7333 GB, free: 1.82 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004476/0.1769, allocations: 292.2 kB / 0.7336 GB, free: 1.535 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 2.495e-05/0.1769, allocations: 4 kB / 0.7336 GB, free: 1.531 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.177, allocations: 46.28 kB / 0.7336 GB, free: 1.477 MB / 0.545 GB Notification: Performance of pre-optimization done (n=42): time 1.623e-06/0.177, allocations: 0 / 0.7336 GB, free: 1.477 MB / 0.545 GB Notification: Performance of matching and sorting (n=42): time 0.0009201/0.1779, allocations: 496.6 kB / 0.7341 GB, free: 0.9844 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.014e-05/0.1779, allocations: 55.41 kB / 0.7342 GB, free: 0.918 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005389/0.1785, allocations: 493.9 kB / 0.7346 GB, free: 436 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.554e-05/0.1785, allocations: 29.7 kB / 0.7347 GB, free: 400 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001947/0.1787, allocations: 284.7 kB / 0.7349 GB, free: 108 kB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001332/0.1788, allocations: 150.8 kB / 0.7351 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.398e-05/0.1789, allocations: 66.06 kB / 0.7351 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.1791, allocations: 358.8 kB / 0.7355 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002312/0.1793, allocations: 116.7 kB / 0.7356 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.1795, allocations: 137.4 kB / 0.7357 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004929/0.18, allocations: 290.2 kB / 0.736 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.18, allocations: 3.75 kB / 0.736 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006215/0.1806, allocations: 392.5 kB / 0.7364 GB, free: 14.6 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.1807, allocations: 8 kB / 0.7364 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.1807, allocations: 0 / 0.7364 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.723e-05/0.1807, allocations: 4 kB / 0.7364 GB, free: 14.59 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004687/0.1812, allocations: 123.9 kB / 0.7365 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.1812, allocations: 7.984 kB / 0.7365 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002166/0.1814, allocations: 43.67 kB / 0.7366 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.001e-05/0.1814, allocations: 12 kB / 0.7366 GB, free: 14.4 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.0002116/0.1816, allocations: 201.6 kB / 0.7368 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.452e-05/0.1817, allocations: 51.67 kB / 0.7368 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.1818, allocations: 65.09 kB / 0.7369 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-06/0.1818, allocations: 4 kB / 0.7369 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.1818, allocations: 0 / 0.7369 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.1818, allocations: 0 / 0.7369 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006321/0.1824, allocations: 0.5508 MB / 0.7374 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-06/0.1824, allocations: 0 / 0.7374 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.1829, allocations: 127.8 kB / 0.7375 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.1829, allocations: 4 kB / 0.7375 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.258e-05/0.1829, allocations: 8 kB / 0.7375 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.1829, allocations: 8 kB / 0.7375 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.1829, allocations: 0 / 0.7375 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009492/0.1839, allocations: 0.6483 MB / 0.7382 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.255e-05/0.184, allocations: 63.58 kB / 0.7382 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.601e-05/0.184, allocations: 8 kB / 0.7382 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002043/0.1842, allocations: 19.98 kB / 0.7383 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.1843, allocations: 19.95 kB / 0.7383 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.689e-05/0.1843, allocations: 12 kB / 0.7383 GB, free: 12.55 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000383/0.1847, allocations: 351.1 kB / 0.7386 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.1847, allocations: 0 / 0.7386 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004002/0.1851, allocations: 147.7 kB / 0.7388 GB, free: 12.07 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.0001425/0.1852, allocations: 111.3 kB / 0.7389 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0005644/0.1858, allocations: 307.7 kB / 0.7392 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.1858, allocations: 0 / 0.7392 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002698/0.1861, allocations: 167.6 kB / 0.7393 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006075/0.1867, allocations: 144.7 kB / 0.7395 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001972/0.1887, allocations: 1.196 MB / 0.7406 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005156/0.1892, allocations: 0.8704 MB / 0.7415 GB, free: 9.227 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001877/0.1894, allocations: 52.34 kB / 0.7415 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.233e-05/0.1895, allocations: 35.44 kB / 0.7416 GB, free: 9.137 MB / 0.5606 GB Notification: Performance of SimCode: time 4.81e-07/0.1895, allocations: 4 kB / 0.7416 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of Templates: time 0.01139/0.2008, allocations: 6.266 MB / 0.7477 GB, free: 3.008 MB / 0.5606 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 -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.343345858156681] Failed to read output from testmodel.py, exit status != 0: 0.20872398559004068 0.454834944 0.28219288000000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc8104497b0>