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.001611/0.001611, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002017/0.002017, allocations: 214.1 kB / 23.01 MB, free: 4.566 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.5/1.5, allocations: 230.6 MB / 256.8 MB, free: 8.023 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.9386/0.9386, allocations: 134 MB / 447.2 MB, free: 10.21 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.001997/0.001997, allocations: 62.59 kB / 0.6198 GB, free: 6.723 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1936/0.1956, allocations: 85.91 MB / 0.7037 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005938/0.2015, allocations: 4.202 MB / 0.7078 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.004167/0.2057, allocations: 2.46 MB / 0.7102 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003194/0.206, allocations: 12 kB / 0.7102 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001796/0.2078, allocations: 0.5363 MB / 0.7108 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006625/0.2085, allocations: 254 kB / 0.711 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003515/0.2088, allocations: 139.9 kB / 0.7111 GB, free: 9.258 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.001075/0.2099, allocations: 0.8137 MB / 0.7119 GB, free: 8.441 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004942/0.2104, allocations: 231 kB / 0.7121 GB, free: 8.215 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005324/0.2109, allocations: 318.9 kB / 0.7125 GB, free: 7.902 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005127/0.2115, allocations: 326.6 kB / 0.7128 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.2116, allocations: 76 kB / 0.7128 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.2117, allocations: 72 kB / 0.7129 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002427/0.2119, allocations: 179.4 kB / 0.7131 GB, free: 7.262 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0004259/0.2124, allocations: 386.2 kB / 0.7134 GB, free: 6.883 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001292/0.2137, allocations: 0.9962 MB / 0.7144 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.906e-06/0.2137, allocations: 0 / 0.7144 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.404e-06/0.2137, allocations: 0 / 0.7144 GB, free: 5.883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.398e-05/0.2137, allocations: 0 / 0.7144 GB, free: 5.883 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.001863/0.2155, allocations: 0.8976 MB / 0.7153 GB, free: 4.949 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 8.55e-05/0.2156, allocations: 8.031 kB / 0.7153 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001564/0.2158, allocations: 80.47 kB / 0.7154 GB, free: 4.863 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009246/0.2167, allocations: 404.2 kB / 0.7158 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.882e-05/0.2168, allocations: 33.38 kB / 0.7158 GB, free: 4.41 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001051/0.2169, allocations: 47.94 kB / 0.7158 GB, free: 4.363 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009005/0.2178, allocations: 426.5 kB / 0.7162 GB, free: 3.938 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.816e-05/0.2178, allocations: 7.953 kB / 0.7163 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.149e-05/0.2179, allocations: 23.98 kB / 0.7163 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.885e-05/0.2179, allocations: 16 kB / 0.7163 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007544/0.2186, allocations: 367.8 kB / 0.7166 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.2211, allocations: 1.473 MB / 0.7181 GB, free: 1.996 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005932/0.2217, allocations: 314.6 kB / 0.7184 GB, free: 1.676 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005214/0.2223, allocations: 288.5 kB / 0.7187 GB, free: 1.391 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.076e-05/0.2223, allocations: 8 kB / 0.7187 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.778e-05/0.2223, allocations: 34.56 kB / 0.7187 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 1.673e-06/0.2223, allocations: 0 / 0.7187 GB, free: 1.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.001094/0.2234, allocations: 0.4907 MB / 0.7192 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.982e-05/0.2235, allocations: 55.41 kB / 0.7192 GB, free: 0.7773 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006659/0.2242, allocations: 489.9 kB / 0.7197 GB, free: 300 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/0.2242, allocations: 33.7 kB / 0.7197 GB, free: 260 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/0.2244, allocations: 276.7 kB / 0.72 GB, free: 15.98 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001527/0.2246, allocations: 158.6 kB / 0.7201 GB, free: 15.82 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001041/0.2247, allocations: 58.08 kB / 0.7202 GB, free: 15.75 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001949/0.2249, allocations: 362.8 kB / 0.7205 GB, free: 15.39 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002585/0.2251, allocations: 128.7 kB / 0.7207 GB, free: 15.27 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002433/0.2254, allocations: 125.2 kB / 0.7208 GB, free: 15.14 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005204/0.2259, allocations: 298.1 kB / 0.7211 GB, free: 14.85 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.2259, allocations: 3.938 kB / 0.7211 GB, free: 14.85 MB / 0.545 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000674/0.2266, allocations: 396.8 kB / 0.7215 GB, free: 14.45 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.673e-05/0.2266, allocations: 4 kB / 0.7215 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.705e-06/0.2266, allocations: 4 kB / 0.7215 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.2266, allocations: 0 / 0.7215 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005033/0.2271, allocations: 123.9 kB / 0.7216 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.2271, allocations: 0.7656 kB / 0.7216 GB, free: 14.32 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.2274, allocations: 35.73 kB / 0.7216 GB, free: 14.29 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.21e-05/0.2274, allocations: 15.98 kB / 0.7216 GB, free: 14.27 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.0002381/0.2276, allocations: 202.3 kB / 0.7218 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.172e-05/0.2277, allocations: 51.67 kB / 0.7219 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.2278, allocations: 65.09 kB / 0.7219 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.2278, allocations: 7.938 kB / 0.7219 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.2278, allocations: 3.938 kB / 0.7219 GB, free: 13.94 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.262e-06/0.2279, allocations: 3.984 kB / 0.722 GB, free: 13.93 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006747/0.2285, allocations: 0.5469 MB / 0.7225 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.2285, allocations: 0 / 0.7225 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005094/0.229, allocations: 127.9 kB / 0.7226 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/0.229, allocations: 7.984 kB / 0.7226 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.374e-05/0.2291, allocations: 4 kB / 0.7226 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.578e-06/0.2291, allocations: 4 kB / 0.7226 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.2291, allocations: 0 / 0.7226 GB, free: 13.2 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001019/0.2301, allocations: 0.6472 MB / 0.7233 GB, free: 12.54 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000104/0.2302, allocations: 63.62 kB / 0.7233 GB, free: 12.48 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.211e-05/0.2303, allocations: 12 kB / 0.7233 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002048/0.2305, allocations: 8 kB / 0.7233 GB, free: 12.46 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.707e-05/0.2305, allocations: 23.95 kB / 0.7234 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-05/0.2306, allocations: 15.98 kB / 0.7234 GB, free: 12.42 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0004047/0.231, allocations: 355.1 kB / 0.7237 GB, free: 12.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.231, allocations: 0 / 0.7237 GB, free: 12.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004153/0.2314, allocations: 147.7 kB / 0.7239 GB, free: 11.93 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.0001508/0.2315, allocations: 111.2 kB / 0.724 GB, free: 11.81 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0006078/0.2321, allocations: 311.5 kB / 0.7243 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.2321, allocations: 0 / 0.7243 GB, free: 11.51 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.2324, allocations: 164.2 kB / 0.7244 GB, free: 11.35 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000626/0.233, allocations: 135.7 kB / 0.7245 GB, free: 11.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002077/0.2351, allocations: 1.24 MB / 0.7258 GB, free: 9.945 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005075/0.2356, allocations: 0.8741 MB / 0.7266 GB, free: 9.047 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001231/0.2358, allocations: 39.38 kB / 0.7266 GB, free: 9.008 MB / 0.545 GB Notification: Performance of SimCode: time 8.62e-07/0.2358, allocations: 0 / 0.7266 GB, free: 9.008 MB / 0.545 GB Notification: Performance of Templates: time 0.01124/0.247, allocations: 6.929 MB / 0.7334 GB, free: 2.152 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: 9.317748489091173] Failed to read output from testmodel.py, exit status != 0: 0.25606959708966315 0.27139608200000004 0.05456256 Calling exit ...