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.001512/0.001512, allocations: 100.4 kB / 20.45 MB, free: 1.383 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.001638/0.001638, allocations: 207 kB / 23.74 MB, free: 4.543 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.549/1.549, allocations: 230.6 MB / 257.5 MB, free: 7.797 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.015/1.015, allocations: 149.9 MB / 463.8 MB, free: 10.35 MB / 366.1 MB " [Timeout remaining time 178] 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.002115/0.002115, allocations: 73.64 kB / 0.6423 GB, free: 9.543 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1978, allocations: 89.17 MB / 0.7294 GB, free: 448 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005191/0.203, allocations: 2.827 MB / 0.7322 GB, free: 13.6 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003619/0.2066, allocations: 1.962 MB / 0.7341 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003665/0.207, allocations: 8 kB / 0.7341 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00161/0.2086, allocations: 477.8 kB / 0.7346 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0003524/0.209, allocations: 142.9 kB / 0.7347 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.2091, allocations: 55.94 kB / 0.7348 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004971/0.2096, allocations: 453.1 kB / 0.7352 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002242/0.2098, allocations: 95.84 kB / 0.7353 GB, free: 10.42 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.2101, allocations: 167.3 kB / 0.7354 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002333/0.2103, allocations: 163.1 kB / 0.7356 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.144e-05/0.2104, allocations: 32 kB / 0.7356 GB, free: 10.06 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 7.161e-05/0.2105, allocations: 40 kB / 0.7357 GB, free: 10.02 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001268/0.2106, allocations: 95.67 kB / 0.7358 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001949/0.2108, allocations: 175.1 kB / 0.7359 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006112/0.2114, allocations: 0.5486 MB / 0.7365 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2114, allocations: 0 / 0.7365 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2114, allocations: 0 / 0.7365 GB, free: 9.207 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.915e-06/0.2114, allocations: 0 / 0.7365 GB, free: 9.207 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.001071/0.2125, allocations: 0.6369 MB / 0.7371 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2125, allocations: 12.03 kB / 0.7371 GB, free: 8.527 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.599e-05/0.2126, allocations: 48.61 kB / 0.7371 GB, free: 8.48 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005956/0.2132, allocations: 320.6 kB / 0.7374 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.111e-05/0.2132, allocations: 12.81 kB / 0.7375 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.708e-05/0.2133, allocations: 23.94 kB / 0.7375 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004051/0.2137, allocations: 207.2 kB / 0.7377 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.49e-05/0.2137, allocations: 0 / 0.7377 GB, free: 7.898 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.187e-05/0.2137, allocations: 8 kB / 0.7377 GB, free: 7.891 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.2137, allocations: 7.938 kB / 0.7377 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003742/0.2141, allocations: 165.6 kB / 0.7379 GB, free: 7.723 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.2152, allocations: 0.6321 MB / 0.7385 GB, free: 7.055 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003155/0.2155, allocations: 154.5 kB / 0.7386 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002045/0.2157, allocations: 96.81 kB / 0.7387 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.495e-05/0.2157, allocations: 4 kB / 0.7387 GB, free: 6.793 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2157, allocations: 30.56 kB / 0.7387 GB, free: 6.754 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=18): time 1.363e-06/0.2157, allocations: 3.938 kB / 0.7387 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of matching and sorting (n=18): time 0.0006108/0.2163, allocations: 265.5 kB / 0.739 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.786e-05/0.2164, allocations: 51.41 kB / 0.739 GB, free: 6.422 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004817/0.2169, allocations: 397.7 kB / 0.7394 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.2169, allocations: 25.7 kB / 0.7395 GB, free: 5.992 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001581/0.2171, allocations: 208.4 kB / 0.7397 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 7.236e-05/0.2171, allocations: 63.44 kB / 0.7397 GB, free: 5.723 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.155e-05/0.2172, allocations: 37.7 kB / 0.7397 GB, free: 5.68 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001595/0.2173, allocations: 338.8 kB / 0.7401 GB, free: 5.34 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001482/0.2175, allocations: 55.97 kB / 0.7401 GB, free: 5.285 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.2176, allocations: 63.95 kB / 0.7402 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002856/0.2179, allocations: 130.5 kB / 0.7403 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2179, allocations: 0 / 0.7403 GB, free: 5.094 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003954/0.2183, allocations: 211.4 kB / 0.7405 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.2183, allocations: 7.938 kB / 0.7405 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.2183, allocations: 3.984 kB / 0.7405 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.2184, allocations: 0 / 0.7405 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002514/0.2186, allocations: 55.97 kB / 0.7406 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.2186, allocations: 0 / 0.7406 GB, free: 4.816 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.2187, allocations: 15.94 kB / 0.7406 GB, free: 4.801 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.2188, allocations: 7.938 kB / 0.7406 GB, free: 4.793 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.0001701/0.2189, allocations: 157.8 kB / 0.7407 GB, free: 4.629 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.725e-05/0.219, allocations: 43.69 kB / 0.7408 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.968e-05/0.2191, allocations: 47.39 kB / 0.7408 GB, free: 4.535 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.2191, allocations: 4 kB / 0.7408 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.059e-06/0.2191, allocations: 0 / 0.7408 GB, free: 4.531 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2191, allocations: 7.938 kB / 0.7408 GB, free: 4.523 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003521/0.2194, allocations: 269.1 kB / 0.7411 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2194, allocations: 0 / 0.7411 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002459/0.2197, allocations: 55.89 kB / 0.7412 GB, free: 4.176 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.2197, allocations: 4 kB / 0.7412 GB, free: 4.172 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.726e-05/0.2197, allocations: 7.938 kB / 0.7412 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.2197, allocations: 0 / 0.7412 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.52e-07/0.2197, allocations: 0 / 0.7412 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006211/0.2203, allocations: 381.2 kB / 0.7415 GB, free: 3.777 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 7.811e-05/0.2204, allocations: 43.72 kB / 0.7416 GB, free: 3.734 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.299e-05/0.2205, allocations: 7.938 kB / 0.7416 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.2206, allocations: 4 kB / 0.7416 GB, free: 3.723 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.419e-05/0.2207, allocations: 15.97 kB / 0.7416 GB, free: 3.707 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/0.2207, allocations: 4 kB / 0.7416 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000328/0.221, allocations: 287.2 kB / 0.7419 GB, free: 3.426 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.221, allocations: 3.938 kB / 0.7419 GB, free: 3.422 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003097/0.2213, allocations: 75.83 kB / 0.742 GB, free: 3.348 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.0001469/0.2215, allocations: 103.3 kB / 0.7421 GB, free: 3.238 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003671/0.2218, allocations: 139.9 kB / 0.7422 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2218, allocations: 0 / 0.7422 GB, free: 3.102 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001621/0.222, allocations: 78.09 kB / 0.7423 GB, free: 3.027 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005104/0.2225, allocations: 76.45 kB / 0.7423 GB, free: 2.961 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001362/0.2239, allocations: 0.7985 MB / 0.7431 GB, free: 2.129 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002025/0.2241, allocations: 190.2 kB / 0.7433 GB, free: 1.922 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.298e-05/0.2241, allocations: 27.44 kB / 0.7433 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of SimCode: time 6.01e-07/0.2241, allocations: 0 / 0.7433 GB, free: 1.898 MB / 0.5606 GB Notification: Performance of Templates: time 0.007165/0.2313, allocations: 4.337 MB / 0.7476 GB, free: 13.59 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: 9.456735567189753] Failed to read output from testmodel.py, exit status != 0: 0.2406899812631309 0.605701725 0.04027208 Calling exit ...