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.001901/0.001901, allocations: 88.17 kB / 20.21 MB, free: 4.211 MB / 18.57 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.002152/0.002152, allocations: 165.2 kB / 23.53 MB, free: 0.8945 MB / 18.57 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.567/1.567, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 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.007/1.007, allocations: 115 MB / 375.3 MB, free: 7.59 MB / 346.7 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: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 480.9 MB, free: 11.86 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.255e-05/3.435e-05, allocations: 3.312 kB / 480.9 MB, free: 11.86 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005315/0.005349, allocations: 4.194 MB / 485 MB, free: 9.125 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.003607/0.008956, allocations: 2.403 MB / 487.5 MB, free: 7.492 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003288/0.009285, allocations: 9.844 kB / 487.5 MB, free: 7.492 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001689/0.01097, allocations: 0.5215 MB / 488 MB, free: 7.273 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004483/0.01142, allocations: 259.6 kB / 488.2 MB, free: 7.09 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002029/0.01162, allocations: 140.8 kB / 488.4 MB, free: 7 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006993/0.01232, allocations: 0.8389 MB / 489.2 MB, free: 6.535 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003308/0.01265, allocations: 219.3 kB / 489.4 MB, free: 6.418 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000561/0.01322, allocations: 463.2 kB / 489.9 MB, free: 6.219 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003347/0.01355, allocations: 249.8 kB / 490.1 MB, free: 6.141 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001024/0.01365, allocations: 75.5 kB / 490.2 MB, free: 6.141 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001305/0.01378, allocations: 75.03 kB / 490.3 MB, free: 6.141 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001575/0.01394, allocations: 170.3 kB / 490.4 MB, free: 6.027 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002943/0.01424, allocations: 273.3 kB / 490.7 MB, free: 5.906 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0009772/0.01521, allocations: 0.9969 MB / 491.7 MB, free: 5.57 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.01522, allocations: 7.938 kB / 491.7 MB, free: 5.562 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.883e-06/0.01522, allocations: 0.6875 kB / 491.7 MB, free: 5.562 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.377e-05/0.01524, allocations: 1.219 kB / 491.7 MB, free: 5.562 MB / 410.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.001512/0.01675, allocations: 1.053 MB / 492.8 MB, free: 4.812 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.53e-05/0.01679, allocations: 9.188 kB / 492.8 MB, free: 4.812 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001812/0.01697, allocations: 116 kB / 492.9 MB, free: 4.758 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005544/0.01753, allocations: 395.6 kB / 493.3 MB, free: 4.465 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.497e-05/0.01756, allocations: 37.66 kB / 493.3 MB, free: 4.449 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.786e-05/0.01764, allocations: 51.78 kB / 493.4 MB, free: 4.43 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.01831, allocations: 413 kB / 493.8 MB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.01833, allocations: 5.969 kB / 493.8 MB, free: 4.254 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.767e-05/0.01837, allocations: 20.69 kB / 493.8 MB, free: 4.238 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.426e-05/0.01838, allocations: 11.75 kB / 493.8 MB, free: 4.238 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006509/0.01903, allocations: 342.4 kB / 494.1 MB, free: 4.125 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00213/0.02116, allocations: 1.56 MB / 495.7 MB, free: 3.234 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004818/0.02165, allocations: 322.9 kB / 496 MB, free: 3.094 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004285/0.02207, allocations: 286.4 kB / 496.3 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.562e-05/0.02211, allocations: 10.58 kB / 496.3 MB, free: 3 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/0.02214, allocations: 44.77 kB / 496.3 MB, free: 2.949 MB / 410.7 MB Notification: Performance of pre-optimization done (n=42): time 1.884e-06/0.02214, allocations: 0 / 496.3 MB, free: 2.949 MB / 410.7 MB Notification: Performance of matching and sorting (n=42): time 0.0008791/0.02302, allocations: 483.5 kB / 496.8 MB, free: 2.758 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.02305, allocations: 55.69 kB / 496.9 MB, free: 2.695 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005562/0.02361, allocations: 0.5448 MB / 497.4 MB, free: 2.398 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.02363, allocations: 35.89 kB / 497.4 MB, free: 2.359 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002675/0.0239, allocations: 358.2 kB / 497.8 MB, free: 18.07 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001045/0.02401, allocations: 166.4 kB / 498 MB, free: 17.94 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001069/0.02411, allocations: 81.98 kB / 498 MB, free: 17.89 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003534/0.02447, allocations: 0.5706 MB / 498.6 MB, free: 17.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002147/0.02468, allocations: 111.1 kB / 498.7 MB, free: 17.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002177/0.0249, allocations: 117.2 kB / 498.8 MB, free: 17.28 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000459/0.02536, allocations: 310.1 kB / 499.1 MB, free: 17.14 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.02536, allocations: 0 / 499.1 MB, free: 17.14 MB / 426.7 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000615/0.02597, allocations: 388.4 kB / 499.5 MB, free: 16.98 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.026, allocations: 10.84 kB / 499.5 MB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.921e-06/0.026, allocations: 0 / 499.5 MB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.054e-05/0.02602, allocations: 10.88 kB / 499.5 MB, free: 16.97 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005127/0.02654, allocations: 120.2 kB / 499.7 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.02655, allocations: 2.875 kB / 499.7 MB, free: 16.96 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002324/0.02678, allocations: 27.72 kB / 499.7 MB, free: 16.94 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.02681, allocations: 11 kB / 499.7 MB, free: 16.94 MB / 426.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 0.0002509/0.02706, allocations: 227.4 kB / 499.9 MB, free: 16.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.63e-05/0.02716, allocations: 64.78 kB / 500 MB, free: 16.7 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001162/0.02728, allocations: 58.25 kB / 0.4883 GB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.865e-06/0.02728, allocations: 4.5 kB / 0.4883 GB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.205e-05/0.0273, allocations: 0 / 0.4883 GB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/0.0273, allocations: 3.031 kB / 0.4883 GB, free: 16.66 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006568/0.02796, allocations: 0.5473 MB / 0.4889 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.02796, allocations: 3.188 kB / 0.4889 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.02844, allocations: 120.8 kB / 0.489 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.27e-06/0.02845, allocations: 3.344 kB / 0.489 GB, free: 16.32 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.541e-05/0.02847, allocations: 14.23 kB / 0.489 GB, free: 16.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.996e-06/0.02848, allocations: 1.375 kB / 0.489 GB, free: 16.31 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.02848, allocations: 0 / 0.489 GB, free: 16.31 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009505/0.02943, allocations: 0.6881 MB / 0.4897 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.866e-05/0.02952, allocations: 54.48 kB / 0.4897 GB, free: 15.89 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.772e-05/0.02958, allocations: 17.58 kB / 0.4897 GB, free: 15.88 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.02977, allocations: 12.81 kB / 0.4897 GB, free: 15.87 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.641e-05/0.02985, allocations: 30.14 kB / 0.4898 GB, free: 15.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.25e-05/0.02987, allocations: 11.22 kB / 0.4898 GB, free: 15.86 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.000399/0.03027, allocations: 364.9 kB / 0.4901 GB, free: 15.66 MB / 426.7 MB Notification: Performance of sort global known variables: time 7e-08/0.03027, allocations: 0.9688 kB / 0.4901 GB, free: 15.66 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000512/0.03078, allocations: 144.3 kB / 0.4903 GB, free: 15.63 MB / 426.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.0001527/0.03093, allocations: 113.8 kB / 0.4904 GB, free: 15.54 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0005253/0.03146, allocations: 317.8 kB / 0.4907 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.03146, allocations: 1.562 kB / 0.4907 GB, free: 15.43 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.03174, allocations: 186.8 kB / 0.4909 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005777/0.03232, allocations: 103.9 kB / 0.491 GB, free: 15.32 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.03431, allocations: 1.106 MB / 0.492 GB, free: 14.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.03466, allocations: 266.4 kB / 0.4923 GB, free: 14.58 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001904/0.03485, allocations: 49.2 kB / 0.4923 GB, free: 14.55 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001065/0.03495, allocations: 32.5 kB / 0.4924 GB, free: 14.52 MB / 426.7 MB Notification: Performance of SimCode: time 6.32e-07/0.03495, allocations: 3.938 kB / 0.4924 GB, free: 14.51 MB / 426.7 MB Notification: Performance of Templates: time 0.01309/0.04804, allocations: 4.99 MB / 0.4973 GB, free: 11.51 MB / 426.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: 5.877471687970683]