Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001389/0.001389, allocations: 96.42 kB / 20.45 MB, free: 1.262 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.001528/0.001528, allocations: 212.7 kB / 23.75 MB, free: 4.445 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.781 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 0.9578/0.9578, allocations: 149.9 MB / 463.8 MB, free: 10.33 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [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.002092/0.002092, allocations: 66.27 kB / 0.6423 GB, free: 9.578 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1868, allocations: 89.18 MB / 0.7294 GB, free: 476 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00615/0.1929, allocations: 3.771 MB / 0.7331 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.004114/0.197, allocations: 2.226 MB / 0.7353 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005712/0.1976, allocations: 8 kB / 0.7353 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002072/0.1997, allocations: 0.5131 MB / 0.7358 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0007973/0.2005, allocations: 246 kB / 0.736 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002918/0.2008, allocations: 139.9 kB / 0.7362 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008999/0.2017, allocations: 0.8097 MB / 0.737 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000388/0.2021, allocations: 215 kB / 0.7372 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004372/0.2025, allocations: 295 kB / 0.7374 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000363/0.2029, allocations: 286.6 kB / 0.7377 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.851e-05/0.2029, allocations: 72 kB / 0.7378 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001202/0.2031, allocations: 76 kB / 0.7379 GB, free: 7.789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001767/0.2032, allocations: 179.4 kB / 0.738 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.000306/0.2035, allocations: 314.6 kB / 0.7383 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001003/0.2046, allocations: 1.003 MB / 0.7393 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.2046, allocations: 0 / 0.7393 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2046, allocations: 0 / 0.7393 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.263e-05/0.2046, allocations: 0 / 0.7393 GB, free: 6.301 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001481/0.2061, allocations: 0.8938 MB / 0.7402 GB, free: 5.375 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.882e-05/0.2061, allocations: 8.031 kB / 0.7402 GB, free: 5.367 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001253/0.2062, allocations: 80.41 kB / 0.7403 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006984/0.2069, allocations: 408.2 kB / 0.7407 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.207, allocations: 33.38 kB / 0.7407 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.89e-05/0.207, allocations: 51.94 kB / 0.7407 GB, free: 4.781 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007685/0.2078, allocations: 430.4 kB / 0.7411 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/0.2078, allocations: 4 kB / 0.7412 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.021e-05/0.2079, allocations: 19.94 kB / 0.7412 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.361e-05/0.2079, allocations: 12 kB / 0.7412 GB, free: 4.32 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007108/0.2086, allocations: 363.8 kB / 0.7415 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001964/0.2106, allocations: 1.172 MB / 0.7427 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005332/0.2111, allocations: 308.2 kB / 0.743 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004873/0.2116, allocations: 288.6 kB / 0.7432 GB, free: 2.164 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.2116, allocations: 8 kB / 0.7432 GB, free: 2.156 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.268e-05/0.2116, allocations: 35.25 kB / 0.7433 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.733e-06/0.2116, allocations: 0 / 0.7433 GB, free: 2.113 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.0009804/0.2126, allocations: 0.4966 MB / 0.7438 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.901e-05/0.2127, allocations: 55.41 kB / 0.7438 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005269/0.2132, allocations: 438 kB / 0.7442 GB, free: 1.105 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.452e-05/0.2132, allocations: 33.7 kB / 0.7443 GB, free: 1.066 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.2134, allocations: 272.6 kB / 0.7445 GB, free: 0.793 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.2136, allocations: 158.6 kB / 0.7447 GB, free: 0.6367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.657e-05/0.2137, allocations: 54.08 kB / 0.7447 GB, free: 0.5742 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001861/0.2138, allocations: 358.8 kB / 0.7451 GB, free: 220 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000253/0.2141, allocations: 128.7 kB / 0.7452 GB, free: 92 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/0.2144, allocations: 125.5 kB / 0.7453 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005285/0.2149, allocations: 302 kB / 0.7456 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.2149, allocations: 0 / 0.7456 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006698/0.2156, allocations: 400.4 kB / 0.746 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.162e-05/0.2156, allocations: 8 kB / 0.746 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.2156, allocations: 0 / 0.746 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.2156, allocations: 4 kB / 0.746 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000509/0.2161, allocations: 123.9 kB / 0.7461 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.176e-05/0.2161, allocations: 4 kB / 0.7461 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002058/0.2163, allocations: 27.78 kB / 0.7461 GB, free: 15.11 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.504e-05/0.2164, allocations: 12 kB / 0.7462 GB, free: 15.09 MB / 0.5762 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.0002349/0.2166, allocations: 193.8 kB / 0.7463 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.891e-05/0.2167, allocations: 51.66 kB / 0.7464 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.2168, allocations: 56.8 kB / 0.7464 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.483e-06/0.2168, allocations: 8 kB / 0.7465 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.292e-06/0.2168, allocations: 0 / 0.7465 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2168, allocations: 0 / 0.7465 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005601/0.2174, allocations: 424.8 kB / 0.7469 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-06/0.2174, allocations: 0 / 0.7469 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005228/0.2179, allocations: 127.8 kB / 0.747 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.905e-06/0.2179, allocations: 0 / 0.747 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.337e-05/0.2179, allocations: 8 kB / 0.747 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.2179, allocations: 0 / 0.747 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.2179, allocations: 8 kB / 0.747 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00104/0.219, allocations: 0.6483 MB / 0.7476 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000105/0.2191, allocations: 59.56 kB / 0.7477 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.713e-05/0.2191, allocations: 12 kB / 0.7477 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000206/0.2193, allocations: 11.98 kB / 0.7477 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.308e-05/0.2194, allocations: 23.95 kB / 0.7477 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.2194, allocations: 8 kB / 0.7477 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003759/0.2198, allocations: 319.1 kB / 0.748 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1e-07/0.2198, allocations: 4 kB / 0.748 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004325/0.2202, allocations: 151.6 kB / 0.7482 GB, free: 12.96 MB / 0.5762 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.0001614/0.2204, allocations: 107.2 kB / 0.7483 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006254/0.221, allocations: 311.7 kB / 0.7486 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.221, allocations: 0 / 0.7486 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002966/0.2213, allocations: 163.8 kB / 0.7487 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005828/0.2219, allocations: 102.3 kB / 0.7488 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002032/0.2239, allocations: 1.241 MB / 0.7501 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.2242, allocations: 271.2 kB / 0.7503 GB, free: 10.72 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001175/0.2243, allocations: 39.44 kB / 0.7504 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of SimCode: time 3.91e-07/0.2243, allocations: 0 / 0.7504 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.01036/0.2347, allocations: 6.678 MB / 0.7569 GB, free: 4.055 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.398690043017268] Failed to read output from testmodel.py, exit status != 0: 0.243948794901371 0.622763551 0.41514194000000004 Calling exit ...