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.005384/0.005384, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001285/0.001285, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7805/0.7805, allocations: 132.2 MB / 422.7 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 78.78 kB / 0.5814 GB, free: 23.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1508, allocations: 80.21 MB / 0.6597 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005764/0.1566, allocations: 4.132 MB / 0.6638 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003713/0.1603, allocations: 2.413 MB / 0.6661 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004397/0.1608, allocations: 12 kB / 0.6661 GB, free: 3.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001746/0.1625, allocations: 0.548 MB / 0.6667 GB, free: 3.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0006884/0.1632, allocations: 246 kB / 0.6669 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002907/0.1635, allocations: 143.9 kB / 0.667 GB, free: 2.746 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000935/0.1645, allocations: 0.8098 MB / 0.6678 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004659/0.165, allocations: 326.5 kB / 0.6681 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004567/0.1654, allocations: 291 kB / 0.6684 GB, free: 1.324 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000431/0.1659, allocations: 322.6 kB / 0.6687 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001133/0.166, allocations: 83.92 kB / 0.6688 GB, free: 0.9258 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000148/0.1661, allocations: 72 kB / 0.6689 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001618/0.1663, allocations: 175.4 kB / 0.669 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000408/0.1667, allocations: 386.2 kB / 0.6694 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008964/0.1676, allocations: 0.9967 MB / 0.6704 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.1676, allocations: 0 / 0.6704 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1677, allocations: 0 / 0.6704 GB, free: 15.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.754e-05/0.1677, allocations: 0 / 0.6704 GB, free: 15.3 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.001541/0.1692, allocations: 0.9463 MB / 0.6713 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.1693, allocations: 12.03 kB / 0.6713 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001252/0.1694, allocations: 76.08 kB / 0.6714 GB, free: 14.22 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006434/0.1701, allocations: 457.7 kB / 0.6718 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.024e-05/0.1701, allocations: 37.38 kB / 0.6719 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.258e-05/0.1702, allocations: 55.84 kB / 0.6719 GB, free: 13.64 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007123/0.1709, allocations: 422.5 kB / 0.6723 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.1709, allocations: 0 / 0.6723 GB, free: 13.23 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.784e-05/0.171, allocations: 20 kB / 0.6723 GB, free: 13.21 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.84e-05/0.171, allocations: 15.94 kB / 0.6723 GB, free: 13.19 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006938/0.1717, allocations: 375.7 kB / 0.6727 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002031/0.1737, allocations: 1.516 MB / 0.6742 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.1743, allocations: 343.2 kB / 0.6745 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004412/0.1747, allocations: 318.3 kB / 0.6748 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.1748, allocations: 11.98 kB / 0.6748 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.162e-05/0.1748, allocations: 34.5 kB / 0.6749 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=42): time 1.693e-06/0.1748, allocations: 0.7656 kB / 0.6749 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=42): time 0.000919/0.1757, allocations: 0.498 MB / 0.6753 GB, free: 10.01 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.1758, allocations: 59.41 kB / 0.6754 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005225/0.1763, allocations: 485.9 kB / 0.6759 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.319e-05/0.1763, allocations: 29.7 kB / 0.6759 GB, free: 9.418 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001714/0.1765, allocations: 276.4 kB / 0.6762 GB, free: 9.145 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001132/0.1766, allocations: 149.8 kB / 0.6763 GB, free: 8.996 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.205e-05/0.1767, allocations: 66.02 kB / 0.6764 GB, free: 8.922 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001429/0.1769, allocations: 362.8 kB / 0.6767 GB, free: 8.559 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002403/0.1771, allocations: 120.7 kB / 0.6768 GB, free: 8.441 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002234/0.1774, allocations: 133.1 kB / 0.677 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004861/0.1779, allocations: 290.4 kB / 0.6772 GB, free: 8.027 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.1779, allocations: 3.938 kB / 0.6772 GB, free: 8.023 MB / 0.5137 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006115/0.1785, allocations: 392.3 kB / 0.6776 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.1785, allocations: 8 kB / 0.6776 GB, free: 7.625 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/0.1785, allocations: 4 kB / 0.6776 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1785, allocations: 0 / 0.6776 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004847/0.179, allocations: 123.9 kB / 0.6777 GB, free: 7.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.179, allocations: 4 kB / 0.6777 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000302/0.1794, allocations: 39.58 kB / 0.6778 GB, free: 7.457 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.559e-05/0.1794, allocations: 15.94 kB / 0.6778 GB, free: 7.441 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.0002862/0.1797, allocations: 198.6 kB / 0.678 GB, free: 7.238 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.1798, allocations: 51.42 kB / 0.678 GB, free: 7.188 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001419/0.18, allocations: 57.11 kB / 0.6781 GB, free: 7.133 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.055e-06/0.18, allocations: 4 kB / 0.6781 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/0.18, allocations: 0 / 0.6781 GB, free: 7.129 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.18, allocations: 7.984 kB / 0.6781 GB, free: 7.121 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009741/0.181, allocations: 0.5712 MB / 0.6787 GB, free: 6.5 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.181, allocations: 4 kB / 0.6787 GB, free: 6.496 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008061/0.1818, allocations: 127.9 kB / 0.6788 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1819, allocations: 0 / 0.6788 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.621e-05/0.1819, allocations: 12 kB / 0.6788 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1819, allocations: 0 / 0.6788 GB, free: 6.359 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.1819, allocations: 3.938 kB / 0.6788 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001507/0.1834, allocations: 0.6543 MB / 0.6794 GB, free: 5.684 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001867/0.1837, allocations: 144.3 kB / 0.6796 GB, free: 5.523 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.1838, allocations: 8 kB / 0.6796 GB, free: 5.516 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003623/0.1841, allocations: 15.98 kB / 0.6796 GB, free: 5.5 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.1842, allocations: 19.97 kB / 0.6796 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.123e-05/0.1843, allocations: 12 kB / 0.6796 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0006155/0.1849, allocations: 351.1 kB / 0.68 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.1849, allocations: 0 / 0.68 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.000701/0.1856, allocations: 135.7 kB / 0.6801 GB, free: 4.996 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.0001839/0.1858, allocations: 131.9 kB / 0.6802 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000941/0.1868, allocations: 316.3 kB / 0.6805 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.1868, allocations: 0 / 0.6805 GB, free: 4.555 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0004819/0.1873, allocations: 179.6 kB / 0.6807 GB, free: 4.379 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001024/0.1883, allocations: 132.5 kB / 0.6808 GB, free: 4.25 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002868/0.1912, allocations: 1.198 MB / 0.682 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006455/0.1918, allocations: 0.8704 MB / 0.6828 GB, free: 2.125 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0002811/0.1921, allocations: 52.41 kB / 0.6829 GB, free: 2.07 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.1923, allocations: 43.42 kB / 0.6829 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of SimCode: time 3.31e-07/0.1923, allocations: 0 / 0.6829 GB, free: 2.027 MB / 0.5137 GB Notification: Performance of Templates: time 0.01765/0.21, allocations: 6.018 MB / 0.6888 GB, free: 12.15 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)