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.001707/0.001707, 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.001963/0.001963, allocations: 213.3 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 7.801 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.9703/0.9703, allocations: 149.9 MB / 463 MB, free: 10.34 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.002096/0.002096, allocations: 70.66 kB / 0.6416 GB, free: 9.566 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1935/0.1956, allocations: 89.17 MB / 0.7287 GB, free: 472 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005877/0.2015, allocations: 3.777 MB / 0.7324 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003931/0.2055, allocations: 2.219 MB / 0.7345 GB, free: 10.44 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002705/0.2057, allocations: 8 kB / 0.7345 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001733/0.2075, allocations: 0.5161 MB / 0.735 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0005025/0.208, allocations: 246 kB / 0.7353 GB, free: 9.672 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002514/0.2082, allocations: 139.9 kB / 0.7354 GB, free: 9.535 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008765/0.2091, allocations: 0.8097 MB / 0.7362 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004126/0.2095, allocations: 215 kB / 0.7364 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000452/0.2099, allocations: 299 kB / 0.7367 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004114/0.2104, allocations: 282.6 kB / 0.737 GB, free: 7.934 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 9.416e-05/0.2105, allocations: 72 kB / 0.737 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001228/0.2106, allocations: 79.94 kB / 0.7371 GB, free: 7.785 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001916/0.2108, allocations: 175.4 kB / 0.7373 GB, free: 7.613 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003279/0.2111, allocations: 314.6 kB / 0.7376 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001075/0.2122, allocations: 1 MB / 0.7386 GB, free: 6.301 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.2122, allocations: 4 kB / 0.7386 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.174e-06/0.2122, allocations: 0 / 0.7386 GB, free: 6.297 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.082e-05/0.2122, allocations: 4 kB / 0.7386 GB, free: 6.293 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.001612/0.2138, allocations: 0.8899 MB / 0.7394 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.073e-05/0.2139, allocations: 8.031 kB / 0.7394 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001228/0.214, allocations: 76.47 kB / 0.7395 GB, free: 5.289 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007771/0.2148, allocations: 404.2 kB / 0.7399 GB, free: 4.867 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.313e-05/0.2148, allocations: 41.31 kB / 0.7399 GB, free: 4.828 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.6e-05/0.2149, allocations: 55.92 kB / 0.74 GB, free: 4.773 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008054/0.2157, allocations: 434.4 kB / 0.7404 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.115e-05/0.2157, allocations: 0 / 0.7404 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.411e-05/0.2157, allocations: 20 kB / 0.7404 GB, free: 4.324 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.2158, allocations: 12 kB / 0.7404 GB, free: 4.312 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007406/0.2165, allocations: 359.8 kB / 0.7408 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002009/0.2185, allocations: 1.172 MB / 0.7419 GB, free: 2.758 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005928/0.2191, allocations: 304.2 kB / 0.7422 GB, free: 2.449 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005026/0.2196, allocations: 292.6 kB / 0.7425 GB, free: 2.16 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/0.2196, allocations: 8.688 kB / 0.7425 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.2197, allocations: 38.56 kB / 0.7425 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=42): time 1.783e-06/0.2197, allocations: 0 / 0.7425 GB, free: 2.105 MB / 0.5606 GB Notification: Performance of matching and sorting (n=42): time 0.001056/0.2207, allocations: 0.4888 MB / 0.743 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.2208, allocations: 63.19 kB / 0.7431 GB, free: 1.535 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005469/0.2213, allocations: 438 kB / 0.7435 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.068e-05/0.2214, allocations: 37.7 kB / 0.7435 GB, free: 1.055 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002203/0.2216, allocations: 268.6 kB / 0.7438 GB, free: 0.7852 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001401/0.2217, allocations: 158.6 kB / 0.7439 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001063/0.2218, allocations: 58.08 kB / 0.744 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001964/0.222, allocations: 358.8 kB / 0.7443 GB, free: 208 kB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002604/0.2223, allocations: 120.7 kB / 0.7444 GB, free: 88 kB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002704/0.2225, allocations: 125.5 kB / 0.7446 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005493/0.2231, allocations: 298.2 kB / 0.7449 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2231, allocations: 0 / 0.7449 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006916/0.2238, allocations: 396.4 kB / 0.7452 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.087e-05/0.2238, allocations: 10.19 kB / 0.7452 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.2238, allocations: 3.984 kB / 0.7452 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.2238, allocations: 0 / 0.7452 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005351/0.2244, allocations: 127.9 kB / 0.7454 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/0.2244, allocations: 4 kB / 0.7454 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002031/0.2246, allocations: 35.72 kB / 0.7454 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.284e-05/0.2246, allocations: 8 kB / 0.7454 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.0002367/0.2248, allocations: 193.8 kB / 0.7456 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.945e-05/0.2249, allocations: 51.66 kB / 0.7456 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.225, allocations: 60.8 kB / 0.7457 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.079e-06/0.225, allocations: 4 kB / 0.7457 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.334e-06/0.2251, allocations: 0 / 0.7457 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.2251, allocations: 4 kB / 0.7457 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006015/0.2257, allocations: 420.8 kB / 0.7461 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.2257, allocations: 0 / 0.7461 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.2262, allocations: 127.8 kB / 0.7462 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2262, allocations: 0 / 0.7462 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.572e-05/0.2262, allocations: 12 kB / 0.7462 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.064e-06/0.2262, allocations: 0 / 0.7462 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.2262, allocations: 4 kB / 0.7462 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001081/0.2273, allocations: 0.6445 MB / 0.7469 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001015/0.2274, allocations: 63.56 kB / 0.7469 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.321e-05/0.2275, allocations: 8 kB / 0.7469 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.2277, allocations: 11.98 kB / 0.747 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.2278, allocations: 23.95 kB / 0.747 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.871e-05/0.2278, allocations: 12 kB / 0.747 GB, free: 13.42 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0003907/0.2282, allocations: 319.1 kB / 0.7473 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.1e-08/0.2282, allocations: 0 / 0.7473 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004227/0.2286, allocations: 147.6 kB / 0.7474 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.0001658/0.2288, allocations: 115.2 kB / 0.7475 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006461/0.2294, allocations: 303.9 kB / 0.7478 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2294, allocations: 0 / 0.7478 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003219/0.2297, allocations: 175.4 kB / 0.748 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005555/0.2303, allocations: 102.5 kB / 0.7481 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002003/0.2323, allocations: 1.196 MB / 0.7493 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.2326, allocations: 263.2 kB / 0.7495 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001845/0.2328, allocations: 55.36 kB / 0.7496 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.646e-05/0.2329, allocations: 31.44 kB / 0.7496 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of SimCode: time 3.1e-07/0.2329, allocations: 0 / 0.7496 GB, free: 10.68 MB / 0.5762 GB Notification: Performance of Templates: time 0.01225/0.2451, allocations: 5.844 MB / 0.7553 GB, free: 4.992 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: 6.392942383885384] Failed to read output from testmodel.py, exit status != 0: 0.2546750456094742 0.5706225140000001 0.35557497200000004 Calling exit ...