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.001589/0.001589, allocations: 119.8 kB / 17.09 MB, free: 5.98 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.001347/0.001348, allocations: 196.6 kB / 18.02 MB, free: 5.055 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.368/1.368, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7604/0.7604, allocations: 115.3 MB / 407.2 MB, free: 6.094 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 67.97 kB / 0.5584 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1683/0.1696, allocations: 76.17 MB / 0.6328 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005267/0.1749, allocations: 4.135 MB / 0.6368 GB, free: 200 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003842/0.1788, allocations: 2.413 MB / 0.6392 GB, free: 13.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006131/0.1794, allocations: 12 kB / 0.6392 GB, free: 13.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002107/0.1816, allocations: 0.5324 MB / 0.6397 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008993/0.1825, allocations: 250 kB / 0.6399 GB, free: 12.98 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003945/0.1829, allocations: 135.9 kB / 0.6401 GB, free: 12.84 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001238/0.1841, allocations: 0.8162 MB / 0.6409 GB, free: 12.03 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006122/0.1848, allocations: 330.5 kB / 0.6412 GB, free: 11.69 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005794/0.1853, allocations: 295 kB / 0.6415 GB, free: 11.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005998/0.186, allocations: 326.6 kB / 0.6418 GB, free: 11.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001619/0.1861, allocations: 76 kB / 0.6419 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002398/0.1864, allocations: 76 kB / 0.6419 GB, free: 10.93 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002341/0.1866, allocations: 179.4 kB / 0.6421 GB, free: 10.76 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005616/0.1872, allocations: 382.3 kB / 0.6425 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001163/0.1884, allocations: 0.9966 MB / 0.6434 GB, free: 9.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.1884, allocations: 0 / 0.6434 GB, free: 9.383 MB / 494.1 MB Notification: Performance of FrontEnd: time 4.589e-06/0.1884, allocations: 4 kB / 0.6434 GB, free: 9.379 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.989e-05/0.1884, allocations: 0 / 0.6434 GB, free: 9.379 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.002155/0.1906, allocations: 0.9463 MB / 0.6444 GB, free: 8.383 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.649e-05/0.1906, allocations: 8.031 kB / 0.6444 GB, free: 8.375 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.1908, allocations: 72.09 kB / 0.6444 GB, free: 8.305 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000893/0.1917, allocations: 461.6 kB / 0.6449 GB, free: 7.812 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.123e-05/0.1918, allocations: 37.38 kB / 0.6449 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.382e-05/0.1919, allocations: 52.38 kB / 0.645 GB, free: 7.727 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008576/0.1928, allocations: 434.7 kB / 0.6454 GB, free: 7.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.1928, allocations: 4 kB / 0.6454 GB, free: 7.293 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.151e-05/0.1928, allocations: 20 kB / 0.6454 GB, free: 7.273 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.384e-05/0.1929, allocations: 12 kB / 0.6454 GB, free: 7.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007503/0.1936, allocations: 363.8 kB / 0.6458 GB, free: 6.906 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002352/0.196, allocations: 1.52 MB / 0.6472 GB, free: 5.312 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000557/0.1966, allocations: 339.2 kB / 0.6476 GB, free: 4.969 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004764/0.197, allocations: 319.5 kB / 0.6479 GB, free: 4.656 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.93e-05/0.1971, allocations: 11.78 kB / 0.6479 GB, free: 4.645 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.1971, allocations: 42.48 kB / 0.6479 GB, free: 4.594 MB / 494.1 MB Notification: Performance of pre-optimization done (n=42): time 1.833e-06/0.1971, allocations: 4 kB / 0.6479 GB, free: 4.59 MB / 494.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009816/0.1981, allocations: 496.5 kB / 0.6484 GB, free: 4.098 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.354e-05/0.1982, allocations: 63.28 kB / 0.6485 GB, free: 4.023 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005836/0.1988, allocations: 485.9 kB / 0.6489 GB, free: 3.543 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.1988, allocations: 33.7 kB / 0.649 GB, free: 3.504 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001949/0.199, allocations: 276.3 kB / 0.6492 GB, free: 3.23 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001238/0.1991, allocations: 145.8 kB / 0.6494 GB, free: 3.086 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001126/0.1993, allocations: 66.84 kB / 0.6494 GB, free: 3.012 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.1994, allocations: 362.8 kB / 0.6498 GB, free: 2.648 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002394/0.1997, allocations: 116.7 kB / 0.6499 GB, free: 2.535 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002354/0.1999, allocations: 133.2 kB / 0.65 GB, free: 2.406 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004831/0.2004, allocations: 294.2 kB / 0.6503 GB, free: 2.117 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.2004, allocations: 4 kB / 0.6503 GB, free: 2.113 MB / 494.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006462/0.2011, allocations: 388.5 kB / 0.6507 GB, free: 1.727 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.93e-05/0.2011, allocations: 11.88 kB / 0.6507 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.191e-06/0.2011, allocations: 0 / 0.6507 GB, free: 1.715 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.2011, allocations: 4 kB / 0.6507 GB, free: 1.711 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004911/0.2016, allocations: 123.9 kB / 0.6508 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.131e-05/0.2016, allocations: 0 / 0.6508 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.2019, allocations: 47.58 kB / 0.6508 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.482e-05/0.2019, allocations: 8 kB / 0.6508 GB, free: 1.535 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.0002234/0.2021, allocations: 193.8 kB / 0.651 GB, free: 1.336 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.943e-05/0.2022, allocations: 51.38 kB / 0.6511 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001074/0.2024, allocations: 61.11 kB / 0.6511 GB, free: 1.223 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.068e-05/0.2024, allocations: 11.97 kB / 0.6512 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2024, allocations: 0 / 0.6512 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.39e-06/0.2024, allocations: 0 / 0.6512 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006755/0.2031, allocations: 0.5712 MB / 0.6517 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.2031, allocations: 4 kB / 0.6517 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004986/0.2036, allocations: 127.8 kB / 0.6518 GB, free: 472 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.116e-06/0.2036, allocations: 4 kB / 0.6518 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.352e-05/0.2036, allocations: 8 kB / 0.6518 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.2037, allocations: 0 / 0.6518 GB, free: 460 kB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2037, allocations: 4 kB / 0.6518 GB, free: 456 kB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001014/0.2047, allocations: 0.6517 MB / 0.6525 GB, free: 15.78 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001573/0.2049, allocations: 144.3 kB / 0.6526 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.531e-05/0.2049, allocations: 8 kB / 0.6526 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002182/0.2052, allocations: 19.98 kB / 0.6527 GB, free: 15.59 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.181e-05/0.2052, allocations: 15.97 kB / 0.6527 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.883e-05/0.2053, allocations: 12 kB / 0.6527 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004079/0.2057, allocations: 359 kB / 0.653 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of sort global known variables: time 3.81e-07/0.2057, allocations: 4 kB / 0.653 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004185/0.2061, allocations: 139.7 kB / 0.6532 GB, free: 15.07 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.0001736/0.2063, allocations: 111.2 kB / 0.6533 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006138/0.2069, allocations: 327.7 kB / 0.6536 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2069, allocations: 3.938 kB / 0.6536 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002789/0.2072, allocations: 183.6 kB / 0.6538 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006654/0.2079, allocations: 129.3 kB / 0.6539 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002153/0.21, allocations: 1.238 MB / 0.6551 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005268/0.2106, allocations: 0.8626 MB / 0.6559 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.2107, allocations: 39.44 kB / 0.656 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.2107, allocations: 0 / 0.656 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of Templates: time 0.01333/0.2241, allocations: 6.884 MB / 0.6627 GB, free: 5.301 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)