Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001377/0.001377, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001912/0.001912, allocations: 211.1 kB / 22.24 MB, free: 4.855 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.524/1.524, allocations: 230.6 MB / 256 MB, free: 7.789 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.8865/0.8865, allocations: 134 MB / 446.4 MB, free: 9.875 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [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.002094/0.002094, allocations: 75.41 kB / 0.619 GB, free: 6.344 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.176, allocations: 85.9 MB / 0.7029 GB, free: 0.5156 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006418/0.1824, allocations: 3.783 MB / 0.7066 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004019/0.1864, allocations: 2.234 MB / 0.7088 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002882/0.1867, allocations: 12 kB / 0.7088 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001594/0.1883, allocations: 489.4 kB / 0.7093 GB, free: 9.977 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006276/0.1889, allocations: 254 kB / 0.7095 GB, free: 9.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002408/0.1891, allocations: 139.8 kB / 0.7096 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001081/0.1902, allocations: 0.8167 MB / 0.7104 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003827/0.1906, allocations: 219 kB / 0.7106 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005135/0.1911, allocations: 314.9 kB / 0.7109 GB, free: 8.25 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003687/0.1915, allocations: 278.6 kB / 0.7112 GB, free: 7.977 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.877e-05/0.1916, allocations: 76 kB / 0.7113 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001281/0.1917, allocations: 76 kB / 0.7114 GB, free: 7.828 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001796/0.1919, allocations: 167.4 kB / 0.7115 GB, free: 7.664 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0003536/0.1922, allocations: 322.6 kB / 0.7118 GB, free: 7.348 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001026/0.1933, allocations: 0.9963 MB / 0.7128 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.433e-06/0.1933, allocations: 4 kB / 0.7128 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.623e-06/0.1933, allocations: 0 / 0.7128 GB, free: 6.344 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.1933, allocations: 0 / 0.7128 GB, free: 6.344 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.00175/0.195, allocations: 0.8938 MB / 0.7137 GB, free: 5.414 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.1951, allocations: 8.031 kB / 0.7137 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002296/0.1953, allocations: 80.47 kB / 0.7138 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007991/0.1961, allocations: 400.2 kB / 0.7141 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.802e-05/0.1961, allocations: 33.38 kB / 0.7142 GB, free: 4.879 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.394e-05/0.1962, allocations: 51.94 kB / 0.7142 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008399/0.1971, allocations: 426.4 kB / 0.7146 GB, free: 4.406 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.655e-05/0.1971, allocations: 15.95 kB / 0.7146 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.939e-05/0.1971, allocations: 16 kB / 0.7147 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.362e-05/0.1971, allocations: 12 kB / 0.7147 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000775/0.1979, allocations: 359.8 kB / 0.715 GB, free: 4.016 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002337/0.2003, allocations: 1.176 MB / 0.7162 GB, free: 2.805 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005687/0.2008, allocations: 311.2 kB / 0.7165 GB, free: 2.488 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006202/0.2014, allocations: 290.7 kB / 0.7167 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.2015, allocations: 12 kB / 0.7167 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.537e-05/0.2015, allocations: 34.56 kB / 0.7168 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 2.906e-06/0.2015, allocations: 0 / 0.7168 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.001143/0.2027, allocations: 499.3 kB / 0.7173 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.2e-05/0.2027, allocations: 59.34 kB / 0.7173 GB, free: 1.586 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000603/0.2033, allocations: 442 kB / 0.7177 GB, free: 1.145 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.238e-05/0.2033, allocations: 29.7 kB / 0.7178 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002434/0.2036, allocations: 284.5 kB / 0.718 GB, free: 0.8242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000158/0.2037, allocations: 158.6 kB / 0.7182 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001077/0.2039, allocations: 62.08 kB / 0.7182 GB, free: 0.5977 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002307/0.2041, allocations: 362.7 kB / 0.7186 GB, free: 240 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002818/0.2044, allocations: 120.7 kB / 0.7187 GB, free: 120 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002572/0.2046, allocations: 122.8 kB / 0.7188 GB, free: 0 / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005881/0.2052, allocations: 297.8 kB / 0.7191 GB, free: 15.71 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/0.2052, allocations: 0 / 0.7191 GB, free: 15.71 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007443/0.206, allocations: 400.5 kB / 0.7195 GB, free: 15.31 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.019e-05/0.206, allocations: 4 kB / 0.7195 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.206, allocations: 0 / 0.7195 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.761e-05/0.206, allocations: 7.984 kB / 0.7195 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006535/0.2067, allocations: 123.9 kB / 0.7196 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/0.2067, allocations: 0 / 0.7196 GB, free: 15.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002358/0.2069, allocations: 31.83 kB / 0.7196 GB, free: 15.14 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.095e-05/0.2069, allocations: 12 kB / 0.7197 GB, free: 15.13 MB / 0.545 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.0003403/0.2073, allocations: 193.8 kB / 0.7198 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.303e-05/0.2074, allocations: 51.61 kB / 0.7199 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001181/0.2075, allocations: 60.86 kB / 0.7199 GB, free: 14.82 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.508e-06/0.2075, allocations: 12 kB / 0.72 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.2075, allocations: 0 / 0.72 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.2075, allocations: 0 / 0.72 GB, free: 14.81 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006188/0.2081, allocations: 420.8 kB / 0.7204 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2081, allocations: 0 / 0.7204 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005408/0.2087, allocations: 131.8 kB / 0.7205 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.2087, allocations: 0 / 0.7205 GB, free: 14.24 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.543e-05/0.2087, allocations: 12 kB / 0.7205 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.2087, allocations: 0 / 0.7205 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.2087, allocations: 0 / 0.7205 GB, free: 14.23 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001077/0.2098, allocations: 0.651 MB / 0.7211 GB, free: 13.56 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.2099, allocations: 59.62 kB / 0.7212 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.174e-05/0.2099, allocations: 4 kB / 0.7212 GB, free: 13.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002143/0.2101, allocations: 23.98 kB / 0.7212 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.668e-05/0.2102, allocations: 19.95 kB / 0.7212 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.2102, allocations: 12 kB / 0.7212 GB, free: 13.44 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0005302/0.2108, allocations: 315.1 kB / 0.7215 GB, free: 13.14 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.2108, allocations: 4 kB / 0.7216 GB, free: 13.14 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004397/0.2112, allocations: 147.6 kB / 0.7217 GB, free: 12.99 MB / 0.545 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.0002332/0.2114, allocations: 119.1 kB / 0.7218 GB, free: 12.87 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000674/0.2121, allocations: 311.3 kB / 0.7221 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2121, allocations: 0 / 0.7221 GB, free: 12.56 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0003143/0.2124, allocations: 168.2 kB / 0.7223 GB, free: 12.4 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005963/0.213, allocations: 103.2 kB / 0.7224 GB, free: 12.3 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002159/0.2152, allocations: 1.184 MB / 0.7235 GB, free: 11.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003059/0.2155, allocations: 279 kB / 0.7238 GB, free: 10.79 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0001957/0.2157, allocations: 43.39 kB / 0.7238 GB, free: 10.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001032/0.2158, allocations: 31.44 kB / 0.7239 GB, free: 10.71 MB / 0.545 GB Notification: Performance of SimCode: time 5.51e-07/0.2158, allocations: 0 / 0.7239 GB, free: 10.71 MB / 0.545 GB Notification: Performance of Templates: time 0.01304/0.2288, allocations: 5.835 MB / 0.7296 GB, free: 5.023 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.792789248749614] Failed to read output from testmodel.py, exit status != 0: 0.23686131462454796 0.25442722399999995 0.057587844000000006 Calling exit ...