Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001406/0.001406, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001513/0.001513, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.448/1.448, allocations: 230.6 MB / 256 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002594/0.002594, allocations: 292.1 kB / 312.7 MB, free: 2.582 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.198/1.198, allocations: 180.6 MB / 0.5369 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003009/0.003009, allocations: 105.2 kB / 0.74 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1485/0.1515, allocations: 95.39 MB / 0.8332 GB, free: 7.801 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004355/0.1559, allocations: 2.848 MB / 0.836 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002779/0.1587, allocations: 1.95 MB / 0.8379 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001399/0.1588, allocations: 4 kB / 0.8379 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001252/0.1601, allocations: 462.7 kB / 0.8383 GB, free: 2.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002629/0.1603, allocations: 154.8 kB / 0.8385 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001131/0.1604, allocations: 59.88 kB / 0.8385 GB, free: 2.309 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004918/0.1609, allocations: 446.5 kB / 0.8389 GB, free: 1.871 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000209/0.1611, allocations: 99.84 kB / 0.839 GB, free: 1.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002501/0.1614, allocations: 175.3 kB / 0.8392 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002269/0.1616, allocations: 159.2 kB / 0.8394 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.742e-05/0.1617, allocations: 36 kB / 0.8394 GB, free: 1.406 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 8.318e-05/0.1618, allocations: 32 kB / 0.8394 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.1619, allocations: 95.62 kB / 0.8395 GB, free: 1.281 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001814/0.1621, allocations: 175.2 kB / 0.8397 GB, free: 1.109 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005524/0.1626, allocations: 0.5486 MB / 0.8402 GB, free: 0.5586 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.1626, allocations: 3.938 kB / 0.8402 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1626, allocations: 4 kB / 0.8402 GB, free: 0.5508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.1626, allocations: 0 / 0.8402 GB, free: 0.5508 MB / 0.5762 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.001041/0.1637, allocations: 0.6369 MB / 0.8408 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1637, allocations: 9.219 kB / 0.8409 GB, free: 15.87 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.049e-05/0.1638, allocations: 56.59 kB / 0.8409 GB, free: 15.81 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005179/0.1643, allocations: 324.5 kB / 0.8412 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.122e-05/0.1643, allocations: 16.81 kB / 0.8412 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.738e-05/0.1643, allocations: 16.38 kB / 0.8412 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004105/0.1648, allocations: 207.5 kB / 0.8414 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.1648, allocations: 0 / 0.8414 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.269e-05/0.1648, allocations: 15.94 kB / 0.8415 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.003e-06/0.1648, allocations: 4 kB / 0.8415 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004046/0.1652, allocations: 165.6 kB / 0.8416 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00111/0.1663, allocations: 0.6361 MB / 0.8422 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.1666, allocations: 142.5 kB / 0.8424 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002161/0.1668, allocations: 100.8 kB / 0.8425 GB, free: 14.13 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.665e-05/0.1669, allocations: 11.98 kB / 0.8425 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.838e-05/0.1669, allocations: 34.56 kB / 0.8425 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=18): time 1.332e-06/0.1669, allocations: 0 / 0.8425 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=18): time 0.0006/0.1675, allocations: 251.3 kB / 0.8428 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.064e-05/0.1675, allocations: 59.28 kB / 0.8428 GB, free: 13.76 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004687/0.168, allocations: 397.7 kB / 0.8432 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.29e-05/0.168, allocations: 29.7 kB / 0.8432 GB, free: 13.33 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001562/0.1682, allocations: 208.4 kB / 0.8434 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 6.333e-05/0.1682, allocations: 71.42 kB / 0.8435 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.064e-05/0.1683, allocations: 33.7 kB / 0.8435 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.1685, allocations: 342.8 kB / 0.8439 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.1686, allocations: 55.97 kB / 0.8439 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001464/0.1688, allocations: 61.97 kB / 0.844 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003084/0.1691, allocations: 132.8 kB / 0.8441 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1691, allocations: 0 / 0.8441 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004232/0.1695, allocations: 207.9 kB / 0.8443 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.1695, allocations: 8 kB / 0.8443 GB, free: 12.21 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.911e-06/0.1695, allocations: 3.984 kB / 0.8443 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.129e-05/0.1695, allocations: 0 / 0.8443 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002504/0.1698, allocations: 51.91 kB / 0.8444 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.1698, allocations: 7.938 kB / 0.8444 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001333/0.1699, allocations: 19.88 kB / 0.8444 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.1699, allocations: 4 kB / 0.8444 GB, free: 12.12 MB / 0.5919 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.0001664/0.1701, allocations: 166.4 kB / 0.8445 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.147e-05/0.1702, allocations: 35.77 kB / 0.8446 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.793e-05/0.1702, allocations: 43.39 kB / 0.8446 GB, free: 11.87 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.807e-06/0.1702, allocations: 3.938 kB / 0.8446 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.1702, allocations: 0 / 0.8446 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.1702, allocations: 0 / 0.8446 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003566/0.1706, allocations: 273.1 kB / 0.8449 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1706, allocations: 0 / 0.8449 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002583/0.1709, allocations: 47.97 kB / 0.8449 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.1709, allocations: 4 kB / 0.8449 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.767e-05/0.1709, allocations: 8 kB / 0.8449 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.512e-06/0.1709, allocations: 3.938 kB / 0.8449 GB, free: 11.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1709, allocations: 11.88 kB / 0.845 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006346/0.1715, allocations: 377.5 kB / 0.8453 GB, free: 11.11 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 7.926e-05/0.1716, allocations: 39.72 kB / 0.8453 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.067e-05/0.1716, allocations: 8 kB / 0.8454 GB, free: 11.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001595/0.1718, allocations: 8 kB / 0.8454 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1718, allocations: 19.97 kB / 0.8454 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.1719, allocations: 4 kB / 0.8454 GB, free: 11.03 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003266/0.1722, allocations: 291.2 kB / 0.8457 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.1722, allocations: 0 / 0.8457 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003175/0.1725, allocations: 71.89 kB / 0.8457 GB, free: 10.68 MB / 0.5919 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.0001222/0.1726, allocations: 107.2 kB / 0.8458 GB, free: 10.56 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003767/0.173, allocations: 131.8 kB / 0.846 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.173, allocations: 7.938 kB / 0.846 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001745/0.1732, allocations: 75.91 kB / 0.846 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005028/0.1737, allocations: 77.38 kB / 0.8461 GB, free: 10.28 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001277/0.175, allocations: 0.7696 MB / 0.8469 GB, free: 9.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002097/0.1752, allocations: 190.2 kB / 0.847 GB, free: 9.273 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001029/0.1753, allocations: 26.97 kB / 0.8471 GB, free: 9.25 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.308e-05/0.1753, allocations: 27.44 kB / 0.8471 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.1753, allocations: 0 / 0.8471 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of Templates: time 0.008559/0.1839, allocations: 4.173 MB / 0.8512 GB, free: 5.191 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.933239011093974] Failed to read output from testmodel.py, exit status != 0: 0.19082633033394814 0.20594653200000002 0.040379537 Calling exit ...