Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001415/0.001415, allocations: 100.3 kB / 19.69 MB, free: 1.805 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.001763/0.001763, allocations: 212 kB / 22.99 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.501/1.501, allocations: 230.6 MB / 256.8 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 1.005/1.005, allocations: 149.9 MB / 463 MB, free: 10.39 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") [Timeout 660] "Notification: IBPSA 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.002143/0.002143, allocations: 67.94 kB / 0.6416 GB, free: 9.613 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1993, allocations: 89.18 MB / 0.7287 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004699/0.204, allocations: 2.832 MB / 0.7314 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003172/0.2072, allocations: 1.962 MB / 0.7334 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002122/0.2074, allocations: 4 kB / 0.7334 GB, free: 11.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001577/0.209, allocations: 485.8 kB / 0.7338 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003044/0.2093, allocations: 138.9 kB / 0.734 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001412/0.2094, allocations: 63.88 kB / 0.734 GB, free: 11 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004836/0.2099, allocations: 445.4 kB / 0.7344 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002308/0.2101, allocations: 95.84 kB / 0.7345 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002727/0.2104, allocations: 163.4 kB / 0.7347 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002338/0.2106, allocations: 163.1 kB / 0.7348 GB, free: 10.15 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.856e-05/0.2107, allocations: 36 kB / 0.7349 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.932e-05/0.2107, allocations: 36 kB / 0.7349 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000122/0.2109, allocations: 91.67 kB / 0.735 GB, free: 9.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001797/0.211, allocations: 171.1 kB / 0.7352 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006012/0.2116, allocations: 0.5563 MB / 0.7357 GB, free: 9.262 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.2116, allocations: 4 kB / 0.7357 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.413e-06/0.2116, allocations: 0 / 0.7357 GB, free: 9.258 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.466e-06/0.2117, allocations: 0 / 0.7357 GB, free: 9.258 MB / 0.5606 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.001116/0.2128, allocations: 0.6329 MB / 0.7363 GB, free: 8.594 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.2128, allocations: 12.03 kB / 0.7363 GB, free: 8.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.32e-05/0.2129, allocations: 52.61 kB / 0.7364 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005834/0.2135, allocations: 312.5 kB / 0.7367 GB, free: 8.199 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.355e-05/0.2135, allocations: 20.81 kB / 0.7367 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.561e-05/0.2136, allocations: 27.92 kB / 0.7367 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000405/0.214, allocations: 195.3 kB / 0.7369 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.214, allocations: 3.938 kB / 0.7369 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.708e-05/0.214, allocations: 12 kB / 0.7369 GB, free: 7.941 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.205e-05/0.214, allocations: 4 kB / 0.7369 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003848/0.2144, allocations: 165.7 kB / 0.7371 GB, free: 7.777 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.2155, allocations: 0.6321 MB / 0.7377 GB, free: 7.109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003353/0.2159, allocations: 150.6 kB / 0.7379 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002131/0.2161, allocations: 105.8 kB / 0.738 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.2161, allocations: 0 / 0.738 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.2161, allocations: 34.56 kB / 0.738 GB, free: 6.809 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 2.846e-06/0.2161, allocations: 7.922 kB / 0.738 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0006179/0.2168, allocations: 255.6 kB / 0.7382 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.892e-05/0.2168, allocations: 55.41 kB / 0.7383 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004772/0.2173, allocations: 393.7 kB / 0.7387 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.2173, allocations: 29.7 kB / 0.7387 GB, free: 6.051 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.2175, allocations: 208.4 kB / 0.7389 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.099e-05/0.2175, allocations: 75.34 kB / 0.739 GB, free: 5.77 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.059e-05/0.2176, allocations: 33.72 kB / 0.739 GB, free: 5.73 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001744/0.2178, allocations: 342.8 kB / 0.7393 GB, free: 5.387 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001485/0.2179, allocations: 55.97 kB / 0.7394 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/0.2181, allocations: 55.97 kB / 0.7394 GB, free: 5.277 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003034/0.2184, allocations: 138.4 kB / 0.7396 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.2184, allocations: 0 / 0.7396 GB, free: 5.141 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004041/0.2188, allocations: 211.1 kB / 0.7398 GB, free: 4.93 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.2188, allocations: 7.938 kB / 0.7398 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2188, allocations: 0 / 0.7398 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.2188, allocations: 0 / 0.7398 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002645/0.2191, allocations: 59.89 kB / 0.7398 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2191, allocations: 0 / 0.7398 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001276/0.2192, allocations: 11.95 kB / 0.7398 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.2192, allocations: 4 kB / 0.7399 GB, free: 4.848 MB / 0.5606 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.0001863/0.2194, allocations: 165.8 kB / 0.74 GB, free: 4.676 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.035e-05/0.2195, allocations: 39.7 kB / 0.74 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.017e-05/0.2195, allocations: 43.41 kB / 0.7401 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.2195, allocations: 0 / 0.7401 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/0.2196, allocations: 4 kB / 0.7401 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.2196, allocations: 3.984 kB / 0.7401 GB, free: 4.582 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003492/0.2199, allocations: 269.1 kB / 0.7404 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2199, allocations: 0 / 0.7404 GB, free: 4.289 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002635/0.2202, allocations: 55.89 kB / 0.7404 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.2202, allocations: 4 kB / 0.7404 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.978e-05/0.2202, allocations: 11.94 kB / 0.7404 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.2202, allocations: 0 / 0.7404 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/0.2202, allocations: 3.938 kB / 0.7404 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006192/0.2208, allocations: 371.1 kB / 0.7408 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.742e-05/0.2209, allocations: 39.72 kB / 0.7408 GB, free: 3.797 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.723e-05/0.2209, allocations: 15.88 kB / 0.7408 GB, free: 3.781 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.2211, allocations: 8.047 kB / 0.7408 GB, free: 3.773 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.049e-05/0.2211, allocations: 15.98 kB / 0.7409 GB, free: 3.758 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.478e-06/0.2212, allocations: 4 kB / 0.7409 GB, free: 3.754 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0003208/0.2215, allocations: 283.2 kB / 0.7411 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2215, allocations: 0 / 0.7411 GB, free: 3.48 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003087/0.2218, allocations: 79.83 kB / 0.7412 GB, free: 3.402 MB / 0.5606 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.2219, allocations: 103.2 kB / 0.7413 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003711/0.2223, allocations: 137.6 kB / 0.7414 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.2223, allocations: 4 kB / 0.7414 GB, free: 3.156 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001617/0.2225, allocations: 71.89 kB / 0.7415 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000526/0.223, allocations: 76.78 kB / 0.7416 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001346/0.2243, allocations: 0.7675 MB / 0.7423 GB, free: 2.223 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.2245, allocations: 190.2 kB / 0.7425 GB, free: 2.016 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001178/0.2247, allocations: 34.91 kB / 0.7425 GB, free: 1.984 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.172e-05/0.2247, allocations: 23.44 kB / 0.7426 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of SimCode: time 4.31e-07/0.2247, allocations: 0 / 0.7426 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of Templates: time 0.009091/0.2338, allocations: 4.16 MB / 0.7466 GB, free: 13.94 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.284550167620182] Failed to read output from testmodel.py, exit status != 0: 0.24256453849375248 0.6079607770000001 0.041802877 Calling exit ...