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.001461/0.001461, allocations: 102.1 kB / 19.7 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.001758/0.001758, allocations: 220.8 kB / 23.01 MB, free: 4.605 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.498/1.498, 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.8736/0.8736, allocations: 134 MB / 447.2 MB, free: 10.24 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.002061/0.002061, allocations: 71.23 kB / 0.6198 GB, free: 6.703 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1895, allocations: 85.89 MB / 0.7037 GB, free: 0.8828 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004967/0.1945, allocations: 3.085 MB / 0.7067 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003671/0.1981, allocations: 2.195 MB / 0.7089 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004342/0.1986, allocations: 8 kB / 0.7089 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001873/0.2004, allocations: 0.4977 MB / 0.7094 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0004309/0.2009, allocations: 154.8 kB / 0.7095 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001674/0.201, allocations: 59.94 kB / 0.7096 GB, free: 10.87 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0005863/0.2016, allocations: 453 kB / 0.71 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002564/0.2019, allocations: 103.8 kB / 0.7101 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.2022, allocations: 171.3 kB / 0.7103 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002866/0.2025, allocations: 191.1 kB / 0.7104 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 6.303e-05/0.2025, allocations: 32 kB / 0.7105 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.419e-05/0.2026, allocations: 36 kB / 0.7105 GB, free: 9.898 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001462/0.2028, allocations: 99.66 kB / 0.7106 GB, free: 9.801 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002239/0.203, allocations: 218.9 kB / 0.7108 GB, free: 9.586 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0006936/0.2037, allocations: 0.5524 MB / 0.7113 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.261e-06/0.2037, allocations: 0 / 0.7113 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.562e-06/0.2037, allocations: 0 / 0.7113 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.23e-05/0.2037, allocations: 0 / 0.7113 GB, free: 9.031 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.001145/0.2049, allocations: 0.6407 MB / 0.712 GB, free: 8.359 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.655e-05/0.2049, allocations: 12.03 kB / 0.712 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.056e-05/0.205, allocations: 44.66 kB / 0.712 GB, free: 8.305 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006421/0.2056, allocations: 328.5 kB / 0.7123 GB, free: 7.957 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.361e-05/0.2057, allocations: 20.81 kB / 0.7124 GB, free: 7.938 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.403e-05/0.2057, allocations: 23.94 kB / 0.7124 GB, free: 7.914 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004188/0.2061, allocations: 195.3 kB / 0.7126 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.2062, allocations: 4 kB / 0.7126 GB, free: 7.715 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.53e-05/0.2062, allocations: 8 kB / 0.7126 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.666e-06/0.2062, allocations: 4 kB / 0.7126 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004166/0.2066, allocations: 165.6 kB / 0.7127 GB, free: 7.543 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00133/0.2079, allocations: 0.8355 MB / 0.7136 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003086/0.2082, allocations: 138.6 kB / 0.7137 GB, free: 6.496 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002111/0.2085, allocations: 100.8 kB / 0.7138 GB, free: 6.395 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.053e-05/0.2085, allocations: 4 kB / 0.7138 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.765e-05/0.2085, allocations: 42.44 kB / 0.7138 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.2085, allocations: 0 / 0.7138 GB, free: 6.34 MB / 0.5294 GB Notification: Performance of matching and sorting (n=18): time 0.0006063/0.2091, allocations: 249.6 kB / 0.7141 GB, free: 6.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.827e-05/0.2092, allocations: 55.41 kB / 0.7141 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005068/0.2097, allocations: 417.7 kB / 0.7145 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.53e-05/0.2097, allocations: 29.7 kB / 0.7146 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001826/0.2099, allocations: 212.4 kB / 0.7148 GB, free: 5.363 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.256e-05/0.21, allocations: 59.44 kB / 0.7148 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.21, allocations: 37.7 kB / 0.7148 GB, free: 5.262 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001699/0.2102, allocations: 346.8 kB / 0.7152 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.2104, allocations: 55.97 kB / 0.7152 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001418/0.2105, allocations: 59.97 kB / 0.7153 GB, free: 4.801 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000283/0.2108, allocations: 139 kB / 0.7154 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2108, allocations: 0 / 0.7154 GB, free: 4.664 MB / 0.5294 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003958/0.2112, allocations: 205.3 kB / 0.7156 GB, free: 4.457 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.2112, allocations: 10.34 kB / 0.7156 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.2112, allocations: 0 / 0.7156 GB, free: 4.449 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.2112, allocations: 4 kB / 0.7156 GB, free: 4.445 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002641/0.2115, allocations: 55.91 kB / 0.7157 GB, free: 4.391 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2115, allocations: 4 kB / 0.7157 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001425/0.2116, allocations: 19.83 kB / 0.7157 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.362e-05/0.2117, allocations: 11.94 kB / 0.7157 GB, free: 4.355 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.0001788/0.2118, allocations: 161.8 kB / 0.7159 GB, free: 4.188 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.804e-05/0.2119, allocations: 43.64 kB / 0.7159 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.199e-05/0.212, allocations: 43.53 kB / 0.716 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.999e-06/0.212, allocations: 4 kB / 0.716 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.212, allocations: 0 / 0.716 GB, free: 4.094 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.212, allocations: 3.984 kB / 0.716 GB, free: 4.09 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004405/0.2124, allocations: 348.4 kB / 0.7163 GB, free: 3.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/0.2124, allocations: 4 kB / 0.7163 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.2127, allocations: 59.84 kB / 0.7164 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.2127, allocations: 0 / 0.7164 GB, free: 3.645 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.68e-05/0.2127, allocations: 4 kB / 0.7164 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2127, allocations: 4 kB / 0.7164 GB, free: 3.637 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.2127, allocations: 4 kB / 0.7164 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006487/0.2134, allocations: 381.3 kB / 0.7167 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 8.929e-05/0.2135, allocations: 43.72 kB / 0.7168 GB, free: 3.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.2135, allocations: 4 kB / 0.7168 GB, free: 3.199 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001569/0.2137, allocations: 11.98 kB / 0.7168 GB, free: 3.188 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.2137, allocations: 12.05 kB / 0.7168 GB, free: 3.176 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.2137, allocations: 4 kB / 0.7168 GB, free: 3.172 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003505/0.2141, allocations: 307.1 kB / 0.7171 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2141, allocations: 0 / 0.7171 GB, free: 2.871 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003159/0.2144, allocations: 71.89 kB / 0.7172 GB, free: 2.801 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.0001484/0.2145, allocations: 99.25 kB / 0.7173 GB, free: 2.695 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003846/0.2149, allocations: 147.8 kB / 0.7174 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.874e-06/0.2149, allocations: 0 / 0.7174 GB, free: 2.551 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001606/0.2151, allocations: 69.94 kB / 0.7175 GB, free: 2.484 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000565/0.2157, allocations: 99.89 kB / 0.7176 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001464/0.2171, allocations: 0.7831 MB / 0.7183 GB, free: 1.57 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005005/0.2176, allocations: 0.7988 MB / 0.7191 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.407e-05/0.2177, allocations: 27.44 kB / 0.7191 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of SimCode: time 4.61e-07/0.2177, allocations: 0 / 0.7191 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of Templates: time 0.008058/0.2258, allocations: 4.419 MB / 0.7234 GB, free: 12.34 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: 9.280819337116554] Failed to read output from testmodel.py, exit status != 0: 0.23429348994977772 0.250771988 0.04381439 Calling exit ...