Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.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.0013/0.0013, allocations: 110 kB / 18.94 MB, free: 2.949 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.00142/0.00142, allocations: 187.9 kB / 22.23 MB, free: 5.137 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.439/1.439, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8437/0.8437, allocations: 134 MB / 440.3 MB, free: 284 kB / 334.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 68.39 kB / 0.6108 GB, free: 13.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1623, allocations: 84.73 MB / 0.6935 GB, free: 9.035 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004856/0.1671, allocations: 3.06 MB / 0.6965 GB, free: 5.953 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00341/0.1706, allocations: 2.156 MB / 0.6986 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002497/0.1708, allocations: 8 kB / 0.6986 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001643/0.1724, allocations: 0.4977 MB / 0.6991 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0003343/0.1728, allocations: 158.8 kB / 0.6993 GB, free: 3.125 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001612/0.1729, allocations: 59.94 kB / 0.6993 GB, free: 3.066 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.000533/0.1735, allocations: 453.8 kB / 0.6998 GB, free: 2.621 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002284/0.1737, allocations: 111.6 kB / 0.6999 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002269/0.1739, allocations: 159.4 kB / 0.7 GB, free: 2.352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002545/0.1742, allocations: 183.1 kB / 0.7002 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 5.687e-05/0.1742, allocations: 32 kB / 0.7002 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.102e-05/0.1743, allocations: 36 kB / 0.7003 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001403/0.1745, allocations: 107.6 kB / 0.7004 GB, free: 2 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002342/0.1747, allocations: 214.9 kB / 0.7006 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0006655/0.1754, allocations: 0.5486 MB / 0.7011 GB, free: 1.238 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.294e-06/0.1754, allocations: 4 kB / 0.7011 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1754, allocations: 0 / 0.7011 GB, free: 1.234 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.205e-06/0.1754, allocations: 0 / 0.7011 GB, free: 1.234 MB / 0.5137 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.001176/0.1765, allocations: 0.6407 MB / 0.7017 GB, free: 0.5625 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.1766, allocations: 8.031 kB / 0.7017 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.087e-05/0.1767, allocations: 48.61 kB / 0.7018 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000596/0.1773, allocations: 312.7 kB / 0.7021 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.577e-05/0.1773, allocations: 16.81 kB / 0.7021 GB, free: 164 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.826e-05/0.1774, allocations: 27.89 kB / 0.7021 GB, free: 136 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004658/0.1778, allocations: 211.3 kB / 0.7023 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.1778, allocations: 0 / 0.7023 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.465e-05/0.1779, allocations: 8 kB / 0.7023 GB, free: 15.91 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/0.1779, allocations: 8 kB / 0.7023 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003946/0.1783, allocations: 157.7 kB / 0.7025 GB, free: 15.75 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001282/0.1795, allocations: 0.8277 MB / 0.7033 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003256/0.1799, allocations: 146.5 kB / 0.7034 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002207/0.1801, allocations: 99.91 kB / 0.7035 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.965e-05/0.1801, allocations: 4 kB / 0.7035 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.975e-05/0.1802, allocations: 46.44 kB / 0.7036 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.182e-06/0.1802, allocations: 0 / 0.7036 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006583/0.1808, allocations: 253.5 kB / 0.7038 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.53e-05/0.1809, allocations: 55.41 kB / 0.7039 GB, free: 14.23 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005154/0.1814, allocations: 417.7 kB / 0.7043 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.601e-05/0.1814, allocations: 29.7 kB / 0.7043 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001679/0.1816, allocations: 216.4 kB / 0.7045 GB, free: 13.56 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.805e-05/0.1816, allocations: 67.42 kB / 0.7046 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.743e-05/0.1817, allocations: 29.72 kB / 0.7046 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001777/0.1819, allocations: 350.8 kB / 0.7049 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001537/0.182, allocations: 51.97 kB / 0.705 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001435/0.1822, allocations: 55.95 kB / 0.705 GB, free: 13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003096/0.1825, allocations: 138.9 kB / 0.7052 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1825, allocations: 0 / 0.7052 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004076/0.1829, allocations: 216 kB / 0.7054 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/0.1829, allocations: 4 kB / 0.7054 GB, free: 12.65 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.506e-06/0.1829, allocations: 3.984 kB / 0.7054 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.1829, allocations: 0 / 0.7054 GB, free: 12.64 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000259/0.1832, allocations: 51.97 kB / 0.7054 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.132e-06/0.1832, allocations: 4 kB / 0.7054 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.1833, allocations: 19.88 kB / 0.7055 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.1834, allocations: 4 kB / 0.7055 GB, free: 12.57 MB / 0.5294 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.0001941/0.1836, allocations: 161.8 kB / 0.7056 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.739e-05/0.1836, allocations: 47.69 kB / 0.7057 GB, free: 12.35 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.992e-05/0.1837, allocations: 43.52 kB / 0.7057 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1837, allocations: 0 / 0.7057 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/0.1837, allocations: 0 / 0.7057 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1837, allocations: 4 kB / 0.7057 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004242/0.1841, allocations: 352.4 kB / 0.706 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.1841, allocations: 0 / 0.706 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002674/0.1844, allocations: 59.83 kB / 0.7061 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.1844, allocations: 3.938 kB / 0.7061 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.07e-05/0.1844, allocations: 12 kB / 0.7061 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.442e-06/0.1844, allocations: 0 / 0.7061 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.1844, allocations: 0 / 0.7061 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006531/0.1851, allocations: 385.9 kB / 0.7065 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.528e-05/0.1852, allocations: 43.72 kB / 0.7065 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.629e-05/0.1852, allocations: 4 kB / 0.7065 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001562/0.1854, allocations: 4 kB / 0.7065 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.26e-05/0.1854, allocations: 15.97 kB / 0.7065 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.929e-06/0.1854, allocations: 4 kB / 0.7066 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003593/0.1858, allocations: 307.2 kB / 0.7068 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1858, allocations: 3.938 kB / 0.7068 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003267/0.1861, allocations: 71.89 kB / 0.7069 GB, free: 11.01 MB / 0.5294 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.000149/0.1863, allocations: 111.2 kB / 0.707 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003817/0.1867, allocations: 131.8 kB / 0.7071 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1867, allocations: 0 / 0.7071 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001711/0.1868, allocations: 83.89 kB / 0.7072 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005383/0.1874, allocations: 80.03 kB / 0.7073 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001296/0.1887, allocations: 0.7657 MB / 0.7081 GB, free: 9.812 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004281/0.1891, allocations: 0.8028 MB / 0.7088 GB, free: 8.984 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001217/0.1892, allocations: 38.91 kB / 0.7089 GB, free: 8.949 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.645e-05/0.1893, allocations: 23.44 kB / 0.7089 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of SimCode: time 3.21e-07/0.1893, allocations: 0 / 0.7089 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of Templates: time 0.009214/0.1985, allocations: 4.109 MB / 0.7129 GB, free: 4.93 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.474937765859067] Failed to read output from testmodel.py, exit status != 0: 0.20586037542670965 0.22117607900000003 0.04274113 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f5eddb917b0>