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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001243, allocations: 113.7 kB / 17.08 MB, free: 5.828 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001094/0.001094, allocations: 196.7 kB / 18.02 MB, free: 4.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.413/1.413, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7373/0.7373, allocations: 115.3 MB / 407.2 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 62.36 kB / 0.5584 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1818, allocations: 76.19 MB / 0.6328 GB, free: 4.375 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005278/0.1871, allocations: 4.125 MB / 0.6368 GB, free: 228 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003695/0.1909, allocations: 2.417 MB / 0.6392 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004025/0.1913, allocations: 8 kB / 0.6392 GB, free: 13.79 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001738/0.193, allocations: 0.5402 MB / 0.6397 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006038/0.1937, allocations: 246 kB / 0.6399 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002622/0.1939, allocations: 135.9 kB / 0.6401 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007932/0.1947, allocations: 0.8097 MB / 0.6409 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004534/0.1952, allocations: 334.5 kB / 0.6412 GB, free: 11.71 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003706/0.1956, allocations: 299 kB / 0.6415 GB, free: 11.42 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003313/0.1959, allocations: 326.6 kB / 0.6418 GB, free: 11.1 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.141e-05/0.196, allocations: 76 kB / 0.6419 GB, free: 11.03 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001106/0.1961, allocations: 72 kB / 0.6419 GB, free: 10.96 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001584/0.1963, allocations: 175.4 kB / 0.6421 GB, free: 10.79 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003304/0.1966, allocations: 382.3 kB / 0.6425 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008876/0.1975, allocations: 1.001 MB / 0.6434 GB, free: 9.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.1975, allocations: 3.938 kB / 0.6434 GB, free: 9.402 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1976, allocations: 0 / 0.6434 GB, free: 9.402 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.128e-05/0.1976, allocations: 0 / 0.6434 GB, free: 9.402 MB / 494.1 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.001449/0.199, allocations: 0.9502 MB / 0.6444 GB, free: 8.402 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.82e-05/0.1991, allocations: 8.031 kB / 0.6444 GB, free: 8.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000112/0.1992, allocations: 72.09 kB / 0.6444 GB, free: 8.324 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000663/0.1999, allocations: 457.6 kB / 0.6449 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.618e-05/0.1999, allocations: 37.38 kB / 0.6449 GB, free: 7.801 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.172e-05/0.2, allocations: 52.36 kB / 0.645 GB, free: 7.75 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007384/0.2007, allocations: 438.7 kB / 0.6454 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.2008, allocations: 0 / 0.6454 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.284e-05/0.2008, allocations: 20 kB / 0.6454 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.13e-05/0.2008, allocations: 12 kB / 0.6454 GB, free: 7.285 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006655/0.2015, allocations: 363.8 kB / 0.6458 GB, free: 6.93 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002069/0.2036, allocations: 1.524 MB / 0.6472 GB, free: 5.332 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005179/0.2041, allocations: 339.2 kB / 0.6476 GB, free: 4.988 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004648/0.2046, allocations: 319.3 kB / 0.6479 GB, free: 4.676 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.2046, allocations: 7.781 kB / 0.6479 GB, free: 4.668 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.928e-05/0.2047, allocations: 46.48 kB / 0.6479 GB, free: 4.613 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 2.445e-06/0.2047, allocations: 0 / 0.6479 GB, free: 4.613 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009557/0.2056, allocations: 496.5 kB / 0.6484 GB, free: 4.121 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.2057, allocations: 59.41 kB / 0.6485 GB, free: 4.051 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005809/0.2063, allocations: 489.9 kB / 0.6489 GB, free: 3.566 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/0.2063, allocations: 29.7 kB / 0.6489 GB, free: 3.531 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001945/0.2065, allocations: 284.3 kB / 0.6492 GB, free: 3.25 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001213/0.2066, allocations: 146.6 kB / 0.6494 GB, free: 3.105 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.931e-05/0.2067, allocations: 62.08 kB / 0.6494 GB, free: 3.035 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001439/0.2069, allocations: 362.8 kB / 0.6498 GB, free: 2.672 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002347/0.2071, allocations: 116.7 kB / 0.6499 GB, free: 2.559 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000232/0.2074, allocations: 133.2 kB / 0.65 GB, free: 2.43 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.2079, allocations: 294.2 kB / 0.6503 GB, free: 2.141 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.628e-06/0.2079, allocations: 0 / 0.6503 GB, free: 2.141 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006359/0.2085, allocations: 392.4 kB / 0.6507 GB, free: 1.75 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.2086, allocations: 8 kB / 0.6507 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.316e-06/0.2086, allocations: 0 / 0.6507 GB, free: 1.742 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.783e-05/0.2086, allocations: 3.938 kB / 0.6507 GB, free: 1.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.2091, allocations: 123.9 kB / 0.6508 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.646e-05/0.2091, allocations: 8 kB / 0.6508 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.2094, allocations: 39.58 kB / 0.6508 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.924e-05/0.2094, allocations: 12 kB / 0.6508 GB, free: 1.559 MB / 494.1 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.0002331/0.2096, allocations: 193.8 kB / 0.651 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.796e-05/0.2097, allocations: 51.38 kB / 0.6511 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00012/0.2098, allocations: 61.05 kB / 0.6511 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.484e-06/0.2099, allocations: 7.984 kB / 0.6511 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.2099, allocations: 8 kB / 0.6511 GB, free: 1.23 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.2099, allocations: 4 kB / 0.6512 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006466/0.2105, allocations: 0.5673 MB / 0.6517 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.2105, allocations: 4 kB / 0.6517 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004919/0.211, allocations: 127.8 kB / 0.6518 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.2111, allocations: 0 / 0.6518 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.602e-05/0.2111, allocations: 12 kB / 0.6518 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.805e-06/0.2111, allocations: 0 / 0.6518 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2111, allocations: 0 / 0.6518 GB, free: 480 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009655/0.2121, allocations: 0.6517 MB / 0.6525 GB, free: 15.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.2122, allocations: 144.3 kB / 0.6526 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.201e-05/0.2123, allocations: 8 kB / 0.6526 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002176/0.2125, allocations: 15.98 kB / 0.6526 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.651e-05/0.2126, allocations: 19.97 kB / 0.6527 GB, free: 15.6 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.2126, allocations: 15.94 kB / 0.6527 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003898/0.213, allocations: 355.1 kB / 0.653 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.213, allocations: 0 / 0.653 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003988/0.2134, allocations: 139.7 kB / 0.6531 GB, free: 15.1 MB / 0.4981 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.0001537/0.2136, allocations: 115.2 kB / 0.6533 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000599/0.2142, allocations: 319.7 kB / 0.6536 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2142, allocations: 0 / 0.6536 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002839/0.2145, allocations: 191.5 kB / 0.6537 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006471/0.2151, allocations: 133.4 kB / 0.6539 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001909/0.2171, allocations: 1.234 MB / 0.6551 GB, free: 13.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004132/0.2175, allocations: 0.8626 MB / 0.6559 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.2176, allocations: 47.42 kB / 0.656 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of SimCode: time 7.51e-07/0.2176, allocations: 0 / 0.656 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of Templates: time 0.01042/0.2281, allocations: 6.965 MB / 0.6628 GB, free: 5.246 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (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)