Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.001335/0.001335, allocations: 106.6 kB / 16.41 MB, free: 6.457 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.001262/0.001262, allocations: 189.5 kB / 17.34 MB, free: 5.719 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.297/1.297, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7817/0.7817, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001294/0.001294, allocations: 58.72 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1681, allocations: 80.21 MB / 0.6604 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005779/0.174, allocations: 4.134 MB / 0.6644 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003896/0.1779, allocations: 2.421 MB / 0.6668 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006502/0.1786, allocations: 16 kB / 0.6668 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001999/0.1806, allocations: 0.5324 MB / 0.6673 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0008912/0.1815, allocations: 254 kB / 0.6676 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003649/0.1819, allocations: 139.8 kB / 0.6677 GB, free: 2.727 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.1831, allocations: 0.8175 MB / 0.6685 GB, free: 1.902 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005123/0.1837, allocations: 322.5 kB / 0.6688 GB, free: 1.586 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005366/0.1842, allocations: 283 kB / 0.6691 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005137/0.1847, allocations: 334.6 kB / 0.6694 GB, free: 0.9805 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001282/0.1849, allocations: 72 kB / 0.6694 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001845/0.1851, allocations: 76 kB / 0.6695 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.1852, allocations: 175.4 kB / 0.6697 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003464/0.1856, allocations: 382.3 kB / 0.6701 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008971/0.1865, allocations: 1.004 MB / 0.671 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1865, allocations: 0 / 0.671 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.793e-06/0.1865, allocations: 0 / 0.671 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.521e-05/0.1865, allocations: 0 / 0.671 GB, free: 15.29 MB / 0.5137 GB 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.00142/0.188, allocations: 0.9502 MB / 0.672 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.875e-05/0.188, allocations: 12.03 kB / 0.672 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001077/0.1881, allocations: 72.09 kB / 0.672 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000632/0.1888, allocations: 453.7 kB / 0.6725 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.46e-05/0.1888, allocations: 37.38 kB / 0.6725 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.438e-05/0.1889, allocations: 55.84 kB / 0.6726 GB, free: 13.63 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007524/0.1897, allocations: 438.4 kB / 0.673 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.827e-05/0.1897, allocations: 0 / 0.673 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.1897, allocations: 20 kB / 0.673 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.805e-05/0.1898, allocations: 12 kB / 0.673 GB, free: 13.16 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006618/0.1904, allocations: 363.8 kB / 0.6734 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002001/0.1924, allocations: 1.512 MB / 0.6748 GB, free: 11.22 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005118/0.193, allocations: 355.1 kB / 0.6752 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.1934, allocations: 320.8 kB / 0.6755 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.445e-05/0.1935, allocations: 4 kB / 0.6755 GB, free: 10.54 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.88e-05/0.1935, allocations: 42.5 kB / 0.6755 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.603e-06/0.1935, allocations: 0 / 0.6755 GB, free: 10.49 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.0009182/0.1944, allocations: 498 kB / 0.676 GB, free: 9.996 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.1945, allocations: 55.41 kB / 0.6761 GB, free: 9.93 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005133/0.195, allocations: 493.9 kB / 0.6765 GB, free: 9.434 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.195, allocations: 34.47 kB / 0.6766 GB, free: 9.395 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.1952, allocations: 276.4 kB / 0.6768 GB, free: 9.121 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.1954, allocations: 153.8 kB / 0.677 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-05/0.1955, allocations: 58.08 kB / 0.677 GB, free: 8.902 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.1956, allocations: 358.8 kB / 0.6774 GB, free: 8.543 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002355/0.1958, allocations: 132.7 kB / 0.6775 GB, free: 8.414 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.1961, allocations: 125.2 kB / 0.6776 GB, free: 8.293 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004688/0.1965, allocations: 294.4 kB / 0.6779 GB, free: 8.004 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/0.1966, allocations: 3.938 kB / 0.6779 GB, free: 8 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006065/0.1972, allocations: 392.3 kB / 0.6783 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/0.1972, allocations: 7.984 kB / 0.6783 GB, free: 7.602 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.1972, allocations: 4 kB / 0.6783 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.762e-05/0.1972, allocations: 0 / 0.6783 GB, free: 7.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004999/0.1977, allocations: 131.8 kB / 0.6784 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.736e-06/0.1978, allocations: 0 / 0.6784 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.198, allocations: 35.59 kB / 0.6784 GB, free: 7.434 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.09e-05/0.198, allocations: 12 kB / 0.6785 GB, free: 7.422 MB / 0.5137 GB 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.0002199/0.1982, allocations: 198.6 kB / 0.6786 GB, free: 7.219 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.034e-05/0.1983, allocations: 51.44 kB / 0.6787 GB, free: 7.168 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001096/0.1984, allocations: 61.09 kB / 0.6787 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.648e-06/0.1984, allocations: 4 kB / 0.6788 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.1985, allocations: 4 kB / 0.6788 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.1985, allocations: 0 / 0.6788 GB, free: 7.102 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006025/0.1991, allocations: 0.5751 MB / 0.6793 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.1991, allocations: 0 / 0.6793 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005107/0.1996, allocations: 123.9 kB / 0.6794 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.1996, allocations: 4 kB / 0.6794 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.338e-05/0.1996, allocations: 7.984 kB / 0.6794 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.807e-06/0.1996, allocations: 4 kB / 0.6795 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.1997, allocations: 3.984 kB / 0.6795 GB, free: 6.336 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009348/0.2006, allocations: 0.6504 MB / 0.6801 GB, free: 5.668 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001099/0.2007, allocations: 144.3 kB / 0.6802 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.2008, allocations: 12 kB / 0.6802 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002146/0.201, allocations: 11.94 kB / 0.6803 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.339e-05/0.2011, allocations: 23.97 kB / 0.6803 GB, free: 5.461 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.2011, allocations: 15.98 kB / 0.6803 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0003654/0.2015, allocations: 351.1 kB / 0.6806 GB, free: 5.105 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2015, allocations: 3.938 kB / 0.6806 GB, free: 5.102 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003986/0.2019, allocations: 139.7 kB / 0.6808 GB, free: 4.965 MB / 0.5137 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.00015/0.202, allocations: 111.1 kB / 0.6809 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000582/0.2026, allocations: 324.3 kB / 0.6812 GB, free: 4.531 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.2026, allocations: 8 kB / 0.6812 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0002879/0.2029, allocations: 187.5 kB / 0.6814 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006419/0.2036, allocations: 129.8 kB / 0.6815 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001855/0.2055, allocations: 1.221 MB / 0.6827 GB, free: 2.961 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004242/0.2059, allocations: 0.8743 MB / 0.6835 GB, free: 2.059 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001205/0.206, allocations: 39.44 kB / 0.6836 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of SimCode: time 5.61e-07/0.206, allocations: 0 / 0.6836 GB, free: 2.02 MB / 0.5137 GB Notification: Performance of Templates: time 0.00931/0.2153, allocations: 6.886 MB / 0.6903 GB, free: 11.19 MB / 0.5294 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)