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.0008797/0.0008797, allocations: 85.05 kB / 9.985 MB, free: 0.7031 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001928, allocations: 452 kB / 10.43 MB, free: 268 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.0007098/0.0007098, allocations: 161.1 kB / 11.33 MB, free: 2.84 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009519/0.001662, allocations: 483.5 kB / 11.8 MB, free: 2.363 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.9328/0.9328, allocations: 177.2 MB / 189.7 MB, free: 5.242 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08438/1.017, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.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.5693/0.5693, allocations: 120.1 MB / 364.2 MB, free: 2.547 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06184/0.6312, allocations: 38.16 MB / 402.4 MB, free: 12.27 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.233e-06/1.233e-06, allocations: 0 / 403.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.087e-06/1.032e-05, allocations: 2.312 kB / 403.8 MB, free: 10.91 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.003272/0.003283, allocations: 4.227 MB / 408 MB, free: 6.66 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002196/0.005479, allocations: 2.456 MB / 410.4 MB, free: 4.195 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000148/0.005627, allocations: 15.94 kB / 410.5 MB, free: 4.18 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008326/0.006459, allocations: 0.5323 MB / 411 MB, free: 3.645 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002334/0.006693, allocations: 253.8 kB / 411.2 MB, free: 3.395 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001266/0.006819, allocations: 139.8 kB / 411.4 MB, free: 3.258 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004913/0.007311, allocations: 0.8445 MB / 412.2 MB, free: 2.41 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002326/0.007543, allocations: 217 kB / 412.4 MB, free: 2.191 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004231/0.007966, allocations: 0.5524 MB / 413 MB, free: 1.641 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002204/0.008187, allocations: 247.2 kB / 413.2 MB, free: 1.398 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 6.054e-05/0.008247, allocations: 76 kB / 413.3 MB, free: 1.324 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.217e-05/0.008319, allocations: 72 kB / 413.4 MB, free: 1.254 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 9.846e-05/0.008418, allocations: 143.6 kB / 413.5 MB, free: 1.113 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001452/0.008563, allocations: 227.6 kB / 413.7 MB, free: 0.8906 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003431/0.008906, allocations: 486.3 kB / 414.2 MB, free: 424 kB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031e-05/0.008917, allocations: 0 / 414.2 MB, free: 424 kB / 394.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.008917, allocations: 0 / 414.2 MB, free: 424 kB / 394.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/0.008929, allocations: 0 / 414.2 MB, free: 424 kB / 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.0008496/0.009779, allocations: 1.001 MB / 415.2 MB, free: 15.38 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.785e-05/0.009807, allocations: 8.031 kB / 415.2 MB, free: 15.38 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.079e-05/0.009887, allocations: 84.86 kB / 415.3 MB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002826/0.01017, allocations: 291.6 kB / 415.6 MB, free: 14.98 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.521e-05/0.0102, allocations: 41.38 kB / 415.6 MB, free: 14.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.671e-05/0.01024, allocations: 52.33 kB / 415.7 MB, free: 14.89 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002716/0.01051, allocations: 295.2 kB / 416 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.01053, allocations: 0 / 416 MB, free: 14.59 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.049e-05/0.01055, allocations: 20 kB / 416 MB, free: 14.57 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001542/0.0107, allocations: 12 kB / 416 MB, free: 14.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001509/0.01085, allocations: 134.9 kB / 416.1 MB, free: 14.43 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008643/0.01172, allocations: 0.8648 MB / 417 MB, free: 13.55 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/0.01187, allocations: 163.3 kB / 417.1 MB, free: 13.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001403/0.01201, allocations: 149.5 kB / 417.3 MB, free: 13.22 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.593e-05/0.01203, allocations: 15.78 kB / 417.3 MB, free: 13.21 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.894e-05/0.01205, allocations: 34.56 kB / 417.3 MB, free: 13.16 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.483e-06/0.01205, allocations: 0 / 417.3 MB, free: 13.16 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0002464/0.0123, allocations: 226.3 kB / 417.6 MB, free: 12.94 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.615e-05/0.01232, allocations: 59.41 kB / 417.6 MB, free: 12.87 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001909/0.01251, allocations: 339.3 kB / 418 MB, free: 12.52 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.573e-05/0.01253, allocations: 33.7 kB / 418 MB, free: 12.48 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.652e-05/0.01261, allocations: 233.5 kB / 418.2 MB, free: 12.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.659e-05/0.01268, allocations: 150.7 kB / 418.4 MB, free: 12.11 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.795e-05/0.01274, allocations: 62.05 kB / 418.4 MB, free: 12.04 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.597e-05/0.01283, allocations: 358.7 kB / 418.8 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-05/0.01287, allocations: 40.73 kB / 418.8 MB, free: 11.64 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.324e-05/0.01291, allocations: 41.23 kB / 418.9 MB, free: 11.6 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.01303, allocations: 134.1 kB / 419 MB, free: 11.46 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.01303, allocations: 0 / 419 MB, free: 11.46 MB / 410.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000167/0.0132, allocations: 197 kB / 419.2 MB, free: 11.27 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.069e-05/0.01321, allocations: 4 kB / 419.2 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.01321, allocations: 3.984 kB / 419.2 MB, free: 11.26 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.01322, allocations: 7.938 kB / 419.2 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004085/0.01363, allocations: 199.6 kB / 419.4 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.079e-06/0.01364, allocations: 3.938 kB / 419.4 MB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.754e-05/0.01372, allocations: 31.78 kB / 419.4 MB, free: 11.02 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.697e-06/0.01372, allocations: 4 kB / 419.4 MB, free: 11.02 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 8.733e-05/0.01381, allocations: 132.6 kB / 419.6 MB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.01385, allocations: 39.95 kB / 419.6 MB, free: 10.84 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.685e-05/0.01391, allocations: 56.81 kB / 419.7 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.01391, allocations: 4 kB / 419.7 MB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.01392, allocations: 7.938 kB / 419.7 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.01392, allocations: 3.984 kB / 419.7 MB, free: 10.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000253/0.01417, allocations: 297.5 kB / 420 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.01418, allocations: 0 / 420 MB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003671/0.01454, allocations: 211.4 kB / 420.2 MB, free: 10.25 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.302e-05/0.01459, allocations: 47.55 kB / 420.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.01459, allocations: 4 kB / 420.2 MB, free: 10.2 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.525e-05/0.0146, allocations: 8 kB / 420.2 MB, free: 10.19 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.01461, allocations: 7.938 kB / 420.2 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.01461, allocations: 0 / 420.2 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000277/0.01488, allocations: 367.2 kB / 420.6 MB, free: 9.809 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.661e-05/0.01491, allocations: 4.047 kB / 420.6 MB, free: 9.805 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.392e-05/0.015, allocations: 11.98 kB / 420.6 MB, free: 9.793 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.824e-05/0.01503, allocations: 23.95 kB / 420.6 MB, free: 9.77 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.01505, allocations: 11.98 kB / 420.6 MB, free: 9.758 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001015/0.01515, allocations: 148.7 kB / 420.8 MB, free: 9.609 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01515, allocations: 4 kB / 420.8 MB, free: 9.605 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.01535, allocations: 151.6 kB / 420.9 MB, free: 9.457 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 8.365e-05/0.01543, allocations: 96.36 kB / 421 MB, free: 9.352 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0001652/0.0156, allocations: 172.5 kB / 421.2 MB, free: 9.18 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.088e-05/0.01561, allocations: 4 kB / 421.2 MB, free: 9.176 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001018/0.01571, allocations: 132.6 kB / 421.3 MB, free: 9.043 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006782/0.01639, allocations: 1.316 MB / 422.6 MB, free: 7.461 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005967/0.02236, allocations: 1.003 MB / 423.7 MB, free: 6.426 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.178e-05/0.02243, allocations: 129.8 kB / 423.8 MB, free: 6.277 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001218/0.02255, allocations: 52.38 kB / 423.8 MB, free: 6.223 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002097/0.02276, allocations: 173.2 kB / 424 MB, free: 6.051 MB / 410.7 MB Notification: Performance of SimCode: time 7.02e-07/0.02276, allocations: 4 kB / 424 MB, free: 6.047 MB / 410.7 MB Notification: Performance of Templates: time 0.153/0.1757, allocations: 7.191 MB / 431.2 MB, free: 15.13 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.1629751278087497]