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.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.00138/0.00138, allocations: 99.64 kB / 18.95 MB, free: 2.676 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.001604/0.001604, allocations: 208.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.556/1.556, allocations: 230.6 MB / 256 MB, free: 7.801 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.8979/0.8979, allocations: 134 MB / 446.4 MB, free: 9.926 MB / 350.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.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(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: IDEAS 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.002111/0.002111, allocations: 62.81 kB / 0.619 GB, free: 6.359 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1639/0.1661, allocations: 85.9 MB / 0.7029 GB, free: 0.5312 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005384/0.1714, allocations: 2.844 MB / 0.7057 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003241/0.1747, allocations: 1.95 MB / 0.7076 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001782/0.1749, allocations: 4 kB / 0.7076 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001529/0.1764, allocations: 468.9 kB / 0.708 GB, free: 11.26 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002832/0.1767, allocations: 150.8 kB / 0.7082 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000136/0.1768, allocations: 59.94 kB / 0.7082 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005669/0.1774, allocations: 449.8 kB / 0.7087 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002514/0.1776, allocations: 103.8 kB / 0.7088 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.1779, allocations: 167.3 kB / 0.7089 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002434/0.1781, allocations: 163.1 kB / 0.7091 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 5.305e-05/0.1782, allocations: 39.94 kB / 0.7091 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.779e-05/0.1783, allocations: 36 kB / 0.7092 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001226/0.1784, allocations: 87.69 kB / 0.7092 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.1786, allocations: 183.1 kB / 0.7094 GB, free: 9.84 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0005968/0.1792, allocations: 0.5525 MB / 0.7099 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.1792, allocations: 0 / 0.7099 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1792, allocations: 0 / 0.7099 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.35e-05/0.1792, allocations: 0 / 0.7099 GB, free: 9.285 MB / 0.5294 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.001135/0.1804, allocations: 0.6406 MB / 0.7106 GB, free: 8.613 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.1804, allocations: 12.03 kB / 0.7106 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.38e-05/0.1805, allocations: 48.66 kB / 0.7106 GB, free: 8.555 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005975/0.1811, allocations: 324.5 kB / 0.7109 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.016e-05/0.1811, allocations: 20.75 kB / 0.711 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.26e-05/0.1812, allocations: 27.94 kB / 0.711 GB, free: 8.164 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004128/0.1816, allocations: 191.3 kB / 0.7112 GB, free: 7.973 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.511e-05/0.1816, allocations: 4 kB / 0.7112 GB, free: 7.969 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.254e-05/0.1816, allocations: 8 kB / 0.7112 GB, free: 7.961 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.1816, allocations: 4 kB / 0.7112 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003951/0.182, allocations: 169.6 kB / 0.7113 GB, free: 7.793 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001129/0.1832, allocations: 0.6321 MB / 0.712 GB, free: 7.125 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.1835, allocations: 146.5 kB / 0.7121 GB, free: 6.973 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002154/0.1837, allocations: 107.3 kB / 0.7122 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.1837, allocations: 0 / 0.7122 GB, free: 6.867 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.679e-05/0.1837, allocations: 34.56 kB / 0.7122 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 9.91e-07/0.1837, allocations: 0 / 0.7122 GB, free: 6.824 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0005966/0.1843, allocations: 255.3 kB / 0.7125 GB, free: 6.57 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.516e-05/0.1844, allocations: 59.41 kB / 0.7125 GB, free: 6.5 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004656/0.1848, allocations: 397.7 kB / 0.7129 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.41e-05/0.1849, allocations: 25.7 kB / 0.7129 GB, free: 6.074 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001549/0.185, allocations: 212.4 kB / 0.7131 GB, free: 5.863 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.676e-05/0.1851, allocations: 67.42 kB / 0.7132 GB, free: 5.797 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.856e-05/0.1851, allocations: 33.7 kB / 0.7132 GB, free: 5.758 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.1853, allocations: 342.8 kB / 0.7136 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.1855, allocations: 51.97 kB / 0.7136 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001426/0.1856, allocations: 66.02 kB / 0.7137 GB, free: 5.301 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003009/0.1859, allocations: 128.8 kB / 0.7138 GB, free: 5.172 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.1859, allocations: 4 kB / 0.7138 GB, free: 5.168 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003943/0.1863, allocations: 207.4 kB / 0.714 GB, free: 4.961 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.634e-05/0.1863, allocations: 7.938 kB / 0.714 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.1863, allocations: 0 / 0.714 GB, free: 4.953 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.698e-05/0.1863, allocations: 7.969 kB / 0.714 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002577/0.1866, allocations: 59.91 kB / 0.7141 GB, free: 4.887 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.094e-06/0.1866, allocations: 7.922 kB / 0.7141 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.1867, allocations: 19.81 kB / 0.7141 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.217e-05/0.1867, allocations: 12 kB / 0.7141 GB, free: 4.848 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.000163/0.1869, allocations: 157.8 kB / 0.7143 GB, free: 4.684 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.906e-05/0.187, allocations: 39.7 kB / 0.7143 GB, free: 4.645 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.945e-05/0.187, allocations: 43.39 kB / 0.7143 GB, free: 4.598 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1871, allocations: 4 kB / 0.7144 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.1871, allocations: 0 / 0.7144 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.1871, allocations: 0 / 0.7144 GB, free: 4.594 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003456/0.1874, allocations: 265.1 kB / 0.7146 GB, free: 4.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.759e-06/0.1874, allocations: 3.984 kB / 0.7146 GB, free: 4.301 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002607/0.1877, allocations: 63.91 kB / 0.7147 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.749e-06/0.1877, allocations: 4 kB / 0.7147 GB, free: 4.234 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.1877, allocations: 3.938 kB / 0.7147 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.1877, allocations: 0 / 0.7147 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.1877, allocations: 0 / 0.7147 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006269/0.1883, allocations: 377.3 kB / 0.715 GB, free: 3.848 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.08e-05/0.1884, allocations: 43.78 kB / 0.7151 GB, free: 3.805 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.045e-05/0.1884, allocations: 3.938 kB / 0.7151 GB, free: 3.801 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001583/0.1886, allocations: 12.06 kB / 0.7151 GB, free: 3.789 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.075e-05/0.1887, allocations: 15.91 kB / 0.7151 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.057e-05/0.1887, allocations: 8 kB / 0.7151 GB, free: 3.766 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003275/0.189, allocations: 287.2 kB / 0.7154 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7.1e-08/0.189, allocations: 0 / 0.7154 GB, free: 3.488 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000307/0.1893, allocations: 71.89 kB / 0.7155 GB, free: 3.418 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.0001396/0.1894, allocations: 103.2 kB / 0.7156 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003765/0.1898, allocations: 143.8 kB / 0.7157 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1898, allocations: 0 / 0.7157 GB, free: 3.168 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001683/0.19, allocations: 71.91 kB / 0.7158 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005088/0.1905, allocations: 79.05 kB / 0.7158 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001373/0.1919, allocations: 0.7638 MB / 0.7166 GB, free: 2.234 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002201/0.1921, allocations: 194 kB / 0.7168 GB, free: 2.027 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001193/0.1922, allocations: 30.97 kB / 0.7168 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.661e-05/0.1923, allocations: 23.44 kB / 0.7168 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of SimCode: time 6.11e-07/0.1923, allocations: 0 / 0.7168 GB, free: 1.973 MB / 0.5294 GB Notification: Performance of Templates: time 0.009069/0.2013, allocations: 4.163 MB / 0.7209 GB, free: 13.93 MB / 0.545 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.742598170414567] Failed to read output from testmodel.py, exit status != 0: 0.20901612378656864 0.22395397699999994 0.041680318 Calling exit ...