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.000995/0.000995, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001319/0.002314, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001011/0.001011, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001227/0.002238, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.8548/0.8548, allocations: 177.2 MB / 189.6 MB, free: 5.32 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07121/0.926, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001265/0.001265, allocations: 237.5 kB / 244.2 MB, free: 14.64 MB / 250.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009447/0.00221, allocations: 471.5 kB / 244.7 MB, free: 14.18 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.6416/0.6416, allocations: 138.7 MB / 384.1 MB, free: 496 kB / 362.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.058/0.6996, allocations: 42.4 MB / 426.5 MB, free: 5.945 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 427.8 MB, free: 4.598 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.167e-06/1.036e-05, allocations: 2.312 kB / 427.8 MB, free: 4.594 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002564/0.002575, allocations: 3.117 MB / 430.9 MB, free: 1.457 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.1603/0.1629, allocations: 2.171 MB / 433.1 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002636/0.1631, allocations: 8.859 kB / 433.1 MB, free: 1.168 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001062/0.1642, allocations: 480 kB / 433.6 MB, free: 1.164 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.1645, allocations: 156.6 kB / 433.7 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 9.93e-05/0.1646, allocations: 63.66 kB / 433.8 MB, free: 1.141 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003598/0.1649, allocations: 472.5 kB / 434.3 MB, free: 1 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001582/0.1651, allocations: 101 kB / 434.4 MB, free: 0.9844 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003492/0.1654, allocations: 326.3 kB / 434.7 MB, free: 0.9375 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001629/0.1656, allocations: 138.1 kB / 434.8 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 3.535e-05/0.1656, allocations: 36.41 kB / 434.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.741e-05/0.1657, allocations: 32.53 kB / 434.9 MB, free: 0.9219 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 7.409e-05/0.1657, allocations: 84.72 kB / 435 MB, free: 0.9023 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001051/0.1658, allocations: 122.2 kB / 435.1 MB, free: 0.8867 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003454/0.1662, allocations: 275.3 kB / 435.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.455e-05/0.1662, allocations: 0.75 kB / 435.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.092e-06/0.1662, allocations: 0 / 435.4 MB, free: 0.8359 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.733e-05/0.1662, allocations: 0 / 435.4 MB, free: 0.8359 MB / 410.7 MB 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.0007408/0.167, allocations: 0.6849 MB / 436 MB, free: 16.44 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.284e-05/0.167, allocations: 11.81 kB / 436.1 MB, free: 16.44 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.326e-05/0.1671, allocations: 45.34 kB / 436.1 MB, free: 16.44 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002631/0.1673, allocations: 258.2 kB / 436.4 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.1673, allocations: 12.19 kB / 436.4 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.878e-05/0.1674, allocations: 26.94 kB / 436.4 MB, free: 16.26 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001871/0.1676, allocations: 147.7 kB / 436.5 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.1676, allocations: 1.531 kB / 436.5 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.158e-05/0.1676, allocations: 10.06 kB / 436.5 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1676, allocations: 11.19 kB / 436.6 MB, free: 16.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.037e-05/0.1677, allocations: 63.75 kB / 436.6 MB, free: 16.2 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005482/0.1682, allocations: 450 kB / 437.1 MB, free: 16.01 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.1683, allocations: 81.59 kB / 437.1 MB, free: 15.99 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.216e-05/0.1684, allocations: 53.11 kB / 437.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.1684, allocations: 3.625 kB / 437.2 MB, free: 15.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.1684, allocations: 33.62 kB / 437.2 MB, free: 15.94 MB / 426.7 MB Notification: Performance of pre-optimization done (n=18): time 1.593e-06/0.1684, allocations: 0 / 437.2 MB, free: 15.94 MB / 426.7 MB Notification: Performance of matching and sorting (n=18): time 0.0001716/0.1686, allocations: 119.9 kB / 437.3 MB, free: 15.91 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.6e-05/0.1686, allocations: 54.69 kB / 437.4 MB, free: 15.85 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002006/0.1688, allocations: 310.7 kB / 437.7 MB, free: 15.74 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.1688, allocations: 30.52 kB / 437.7 MB, free: 15.71 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.981e-05/0.1689, allocations: 166.5 kB / 437.9 MB, free: 15.59 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.942e-05/0.1689, allocations: 67.5 kB / 438 MB, free: 15.55 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.169, allocations: 33.08 kB / 438 MB, free: 15.54 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 9.159e-05/0.1691, allocations: 352.2 kB / 438.3 MB, free: 15.22 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.359e-05/0.1691, allocations: 15.22 kB / 438.4 MB, free: 15.22 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.1691, allocations: 19.58 kB / 438.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.506e-05/0.1692, allocations: 58.17 kB / 438.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.1692, allocations: 0 / 438.4 MB, free: 15.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0001045/0.1693, allocations: 101.5 kB / 438.5 MB, free: 15.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.1693, allocations: 6.078 kB / 438.5 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.1693, allocations: 1.781 kB / 438.5 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.724e-06/0.1693, allocations: 2.109 kB / 438.5 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002495/0.1695, allocations: 88.17 kB / 438.6 MB, free: 15.18 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.276e-06/0.1695, allocations: 3.938 kB / 438.6 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.1696, allocations: 13.02 kB / 438.6 MB, free: 15.17 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.1696, allocations: 3.375 kB / 438.6 MB, free: 15.17 MB / 426.7 MB 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 6.832e-05/0.1697, allocations: 122.4 kB / 438.8 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.1697, allocations: 22.17 kB / 438.8 MB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.314e-05/0.1698, allocations: 40.06 kB / 438.8 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1698, allocations: 2.156 kB / 438.8 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.1698, allocations: 5.469 kB / 438.8 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1698, allocations: 2.297 kB / 438.8 MB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001912/0.17, allocations: 188.7 kB / 439 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.17, allocations: 0 / 439 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001884/0.1701, allocations: 82.2 kB / 439.1 MB, free: 14.95 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.644e-05/0.1702, allocations: 37.5 kB / 439.1 MB, free: 14.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1702, allocations: 7.406 kB / 439.1 MB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.1702, allocations: 5.938 kB / 439.1 MB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1702, allocations: 0.5625 kB / 439.1 MB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1702, allocations: 0.625 kB / 439.1 MB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001932/0.1704, allocations: 232.8 kB / 439.4 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.411e-05/0.1704, allocations: 4.25 kB / 439.4 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.056e-05/0.1705, allocations: 12.8 kB / 439.4 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.165e-05/0.1705, allocations: 13.62 kB / 439.4 MB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.539e-06/0.1705, allocations: 2.344 kB / 439.4 MB, free: 14.79 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.1706, allocations: 131.2 kB / 439.5 MB, free: 14.77 MB / 426.7 MB Notification: Performance of sort global known variables: time 6e-08/0.1706, allocations: 0.625 kB / 439.5 MB, free: 14.77 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001777/0.1708, allocations: 77.72 kB / 439.6 MB, free: 14.76 MB / 426.7 MB 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 9.244e-05/0.1709, allocations: 91.98 kB / 439.7 MB, free: 14.69 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001005/0.171, allocations: 69.94 kB / 439.8 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.102e-05/0.171, allocations: 4.781 kB / 439.8 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 4.19e-05/0.1711, allocations: 46.42 kB / 439.8 MB, free: 14.68 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000293/0.1713, allocations: 106 kB / 439.9 MB, free: 14.67 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003406/0.1748, allocations: 0.6409 MB / 440.6 MB, free: 14.32 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.42e-05/0.1748, allocations: 101.7 kB / 440.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001164/0.1749, allocations: 32.62 kB / 440.7 MB, free: 14.25 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001496/0.1751, allocations: 119.4 kB / 440.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of SimCode: time 9.82e-07/0.1751, allocations: 0 / 440.8 MB, free: 14.2 MB / 426.7 MB Notification: Performance of Templates: time 0.007077/0.1822, allocations: 4.49 MB / 445.3 MB, free: 13.36 MB / 426.7 MB " [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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.0528719825670123]