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.0006825/0.0006825, allocations: 72.19 kB / 9.907 MB, free: 0.7812 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009365/0.001619, allocations: 447.8 kB / 10.34 MB, free: 352 kB / 10.45 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.0006999/0.0006999, allocations: 161.1 kB / 11.23 MB, free: 2.938 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008995/0.001599, allocations: 463.6 kB / 11.69 MB, free: 2.48 MB / 13.93 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 0.9225/0.9225, allocations: 177.1 MB / 189.6 MB, free: 3.777 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1738/1.096, allocations: 53.66 MB / 243.2 MB, free: 2.336 MB / 234.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6642/0.6642, allocations: 119.1 MB / 363.1 MB, free: 4.957 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06037/0.7245, allocations: 37.86 MB / 400.9 MB, free: 15.29 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0 / 402.3 MB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.806e-05/1.955e-05, allocations: 2.312 kB / 402.3 MB, free: 13.95 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003747/0.003766, allocations: 4.207 MB / 406.5 MB, free: 9.719 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002811/0.006577, allocations: 2.464 MB / 408.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002315/0.006809, allocations: 11.94 kB / 409 MB, free: 7.234 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001348/0.008157, allocations: 0.5362 MB / 409.5 MB, free: 6.695 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003748/0.008532, allocations: 253.8 kB / 409.7 MB, free: 6.445 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001892/0.008721, allocations: 139.8 kB / 409.9 MB, free: 6.309 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005866/0.009307, allocations: 0.8445 MB / 410.7 MB, free: 5.461 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005031/0.009811, allocations: 224.9 kB / 410.9 MB, free: 5.223 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005808/0.01039, allocations: 0.5408 MB / 411.5 MB, free: 4.684 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002694/0.01066, allocations: 251.3 kB / 411.7 MB, free: 4.438 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.299e-05/0.01072, allocations: 75.94 kB / 411.8 MB, free: 4.363 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.383e-05/0.0108, allocations: 76 kB / 411.9 MB, free: 4.289 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001202/0.01092, allocations: 135.6 kB / 412 MB, free: 4.156 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001908/0.01111, allocations: 231.6 kB / 412.2 MB, free: 3.93 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004575/0.01157, allocations: 486.3 kB / 412.7 MB, free: 3.453 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.842e-05/0.01158, allocations: 0 / 412.7 MB, free: 3.453 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.01159, allocations: 3.938 kB / 412.7 MB, free: 3.449 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.588e-05/0.0116, allocations: 4 kB / 412.7 MB, free: 3.445 MB / 394.7 MB 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.0009386/0.01254, allocations: 0.9975 MB / 413.7 MB, free: 2.422 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.569e-05/0.01258, allocations: 15.89 kB / 413.7 MB, free: 2.406 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.768e-05/0.01266, allocations: 84.86 kB / 413.8 MB, free: 2.324 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003448/0.01301, allocations: 287.6 kB / 414.1 MB, free: 2.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.12e-05/0.01303, allocations: 37.38 kB / 414.1 MB, free: 1.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.663e-05/0.01308, allocations: 52.38 kB / 414.2 MB, free: 1.93 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.01334, allocations: 295.2 kB / 414.5 MB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.77e-05/0.01336, allocations: 0 / 414.5 MB, free: 1.633 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002376/0.0136, allocations: 23.98 kB / 414.5 MB, free: 1.609 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.424e-06/0.01361, allocations: 16 kB / 414.5 MB, free: 1.594 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.01375, allocations: 130.9 kB / 414.6 MB, free: 1.465 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008527/0.0146, allocations: 0.8609 MB / 415.5 MB, free: 0.5898 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001546/0.01476, allocations: 167.2 kB / 415.7 MB, free: 424 kB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001444/0.0149, allocations: 161.7 kB / 415.8 MB, free: 260 kB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.01492, allocations: 8 kB / 415.8 MB, free: 252 kB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.173e-05/0.01494, allocations: 42.34 kB / 415.9 MB, free: 200 kB / 394.7 MB Notification: Performance of pre-optimization done (n=42): time 2.014e-06/0.01494, allocations: 0 / 415.9 MB, free: 200 kB / 394.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002599/0.0152, allocations: 230.3 kB / 416.1 MB, free: 15.96 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.865e-05/0.01523, allocations: 55.41 kB / 416.1 MB, free: 15.9 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001968/0.01542, allocations: 339.3 kB / 416.5 MB, free: 15.55 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.581e-05/0.01544, allocations: 41.64 kB / 416.5 MB, free: 15.51 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.488e-05/0.01552, allocations: 221.5 kB / 416.7 MB, free: 15.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.692e-05/0.01559, allocations: 158.6 kB / 416.9 MB, free: 15.13 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.792e-05/0.01565, allocations: 62.05 kB / 416.9 MB, free: 15.07 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001085/0.01576, allocations: 362.7 kB / 417.3 MB, free: 14.7 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.411e-05/0.0158, allocations: 32.73 kB / 417.3 MB, free: 14.67 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.579e-05/0.01585, allocations: 45.23 kB / 417.4 MB, free: 14.63 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001122/0.01596, allocations: 133 kB / 417.5 MB, free: 14.5 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.01596, allocations: 0 / 417.5 MB, free: 14.5 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0001546/0.01612, allocations: 189.3 kB / 417.7 MB, free: 14.3 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.308e-05/0.01613, allocations: 12 kB / 417.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.491e-06/0.01614, allocations: 0 / 417.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.494e-06/0.01614, allocations: 3.938 kB / 417.7 MB, free: 14.29 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004175/0.01656, allocations: 202.1 kB / 417.9 MB, free: 14.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.01657, allocations: 11.92 kB / 417.9 MB, free: 14.09 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.841e-05/0.01664, allocations: 27.78 kB / 417.9 MB, free: 14.06 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.01665, allocations: 8 kB / 418 MB, free: 14.05 MB / 410.7 MB 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 9.397e-05/0.01675, allocations: 128.6 kB / 418.1 MB, free: 13.91 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.889e-05/0.01679, allocations: 39.97 kB / 418.1 MB, free: 13.88 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.738e-05/0.01685, allocations: 52.8 kB / 418.2 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.575e-06/0.01685, allocations: 4 kB / 418.2 MB, free: 13.82 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.01685, allocations: 7.938 kB / 418.2 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.829e-06/0.01686, allocations: 7.984 kB / 418.2 MB, free: 13.8 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002595/0.01712, allocations: 293.2 kB / 418.5 MB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.01712, allocations: 4 kB / 418.5 MB, free: 13.49 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003597/0.01748, allocations: 205.5 kB / 418.7 MB, free: 13.3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.359e-05/0.01752, allocations: 51.59 kB / 418.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.01752, allocations: 0 / 418.7 MB, free: 13.25 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.685e-05/0.01754, allocations: 12 kB / 418.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01754, allocations: 0 / 418.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.01754, allocations: 0 / 418.7 MB, free: 13.23 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.01782, allocations: 367.1 kB / 419.1 MB, free: 12.86 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.831e-05/0.01784, allocations: 11.98 kB / 419.1 MB, free: 12.85 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.365e-05/0.01793, allocations: 12 kB / 419.1 MB, free: 12.84 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.562e-05/0.01796, allocations: 19.95 kB / 419.1 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.857e-06/0.01797, allocations: 8 kB / 419.1 MB, free: 12.81 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001008/0.01807, allocations: 160.6 kB / 419.3 MB, free: 12.66 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01807, allocations: 0 / 419.3 MB, free: 12.66 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002312/0.0183, allocations: 143.7 kB / 419.4 MB, free: 12.52 MB / 410.7 MB 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.0001126/0.01842, allocations: 96.36 kB / 419.5 MB, free: 12.41 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001635/0.01858, allocations: 164.3 kB / 419.7 MB, free: 12.25 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.348e-05/0.01859, allocations: 11.98 kB / 419.7 MB, free: 12.23 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 7.982e-05/0.01867, allocations: 104.6 kB / 419.8 MB, free: 12.13 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003305/0.019, allocations: 154.8 kB / 420 MB, free: 11.97 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005732/0.02474, allocations: 1.003 MB / 421 MB, free: 10.94 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.58e-05/0.02482, allocations: 137.8 kB / 421.1 MB, free: 10.79 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001662/0.02499, allocations: 48.25 kB / 421.2 MB, free: 10.73 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002091/0.0252, allocations: 149.3 kB / 421.3 MB, free: 10.59 MB / 410.7 MB Notification: Performance of SimCode: time 1.102e-06/0.0252, allocations: 0 / 421.3 MB, free: 10.59 MB / 410.7 MB Notification: Performance of Templates: time 0.009452/0.03465, allocations: 6.54 MB / 427.8 MB, free: 4.273 MB / 410.7 MB " [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=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.3026782916858792]