Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.001468/0.001468, allocations: 106.5 kB / 16.41 MB, free: 6.508 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.001466/0.001466, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.362/1.362, allocations: 222.9 MB / 241.1 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8878/0.8878, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001797/0.001797, allocations: 67.77 kB / 0.5963 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.161, allocations: 82.03 MB / 0.6764 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005348/0.1663, allocations: 4.159 MB / 0.6804 GB, free: 6.141 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003233/0.1696, allocations: 2.425 MB / 0.6828 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002012/0.1698, allocations: 15.94 kB / 0.6828 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001336/0.1711, allocations: 0.5325 MB / 0.6833 GB, free: 3.152 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0004003/0.1715, allocations: 246 kB / 0.6836 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002161/0.1717, allocations: 143.8 kB / 0.6837 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0008151/0.1725, allocations: 0.8098 MB / 0.6845 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003582/0.1729, allocations: 238.6 kB / 0.6847 GB, free: 1.719 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000322/0.1732, allocations: 298.9 kB / 0.685 GB, free: 1.426 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003584/0.1736, allocations: 326.6 kB / 0.6853 GB, free: 1.105 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.826e-05/0.1737, allocations: 76 kB / 0.6854 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001028/0.1738, allocations: 76 kB / 0.6855 GB, free: 0.957 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/0.1739, allocations: 163.5 kB / 0.6856 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003287/0.1743, allocations: 386.3 kB / 0.686 GB, free: 428 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009679/0.1752, allocations: 1.027 MB / 0.687 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.1752, allocations: 0 / 0.687 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1752, allocations: 7.938 kB / 0.687 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.477e-05/0.1753, allocations: 0 / 0.687 GB, free: 15.38 MB / 0.5294 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.001442/0.1767, allocations: 0.9769 MB / 0.688 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.1767, allocations: 8.031 kB / 0.688 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001156/0.1769, allocations: 76.47 kB / 0.688 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006369/0.1775, allocations: 466 kB / 0.6885 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.989e-05/0.1775, allocations: 41.38 kB / 0.6885 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.561e-05/0.1776, allocations: 44.38 kB / 0.6886 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007415/0.1783, allocations: 434.8 kB / 0.689 GB, free: 13.26 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.059e-05/0.1784, allocations: 3.953 kB / 0.689 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.962e-05/0.1784, allocations: 16 kB / 0.689 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.351e-05/0.1784, allocations: 12 kB / 0.689 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000698/0.1791, allocations: 363.8 kB / 0.6894 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002066/0.1812, allocations: 1.528 MB / 0.6908 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005199/0.1817, allocations: 311.6 kB / 0.6911 GB, free: 10.96 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004596/0.1822, allocations: 284.8 kB / 0.6914 GB, free: 10.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.836e-05/0.1822, allocations: 4.688 kB / 0.6914 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1822, allocations: 38.5 kB / 0.6915 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 1.433e-06/0.1822, allocations: 4 kB / 0.6915 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0009603/0.1832, allocations: 0.4927 MB / 0.6919 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.991e-05/0.1832, allocations: 63.12 kB / 0.692 GB, free: 10.05 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005736/0.1838, allocations: 489.9 kB / 0.6925 GB, free: 9.559 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.1838, allocations: 29.7 kB / 0.6925 GB, free: 9.523 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002095/0.184, allocations: 284.6 kB / 0.6928 GB, free: 9.242 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001244/0.1842, allocations: 154.6 kB / 0.6929 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001005/0.1843, allocations: 62.08 kB / 0.693 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001694/0.1844, allocations: 362.8 kB / 0.6933 GB, free: 8.656 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002511/0.1847, allocations: 120.7 kB / 0.6934 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.1849, allocations: 133.2 kB / 0.6936 GB, free: 8.41 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005189/0.1854, allocations: 294.1 kB / 0.6938 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1854, allocations: 0 / 0.6938 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006468/0.1861, allocations: 396.7 kB / 0.6942 GB, free: 7.727 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.1861, allocations: 8 kB / 0.6942 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.1861, allocations: 0 / 0.6942 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.1861, allocations: 0 / 0.6942 GB, free: 7.719 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004772/0.1866, allocations: 128.6 kB / 0.6943 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.257e-06/0.1866, allocations: 4 kB / 0.6944 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.1868, allocations: 35.72 kB / 0.6944 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.08e-05/0.1868, allocations: 12 kB / 0.6944 GB, free: 7.543 MB / 0.5294 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.0002135/0.187, allocations: 197.8 kB / 0.6946 GB, free: 7.34 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.784e-05/0.1871, allocations: 55.61 kB / 0.6946 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000103/0.1872, allocations: 61.11 kB / 0.6947 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.1872, allocations: 7.938 kB / 0.6947 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.1872, allocations: 4 kB / 0.6947 GB, free: 7.215 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.894e-06/0.1872, allocations: 7.922 kB / 0.6947 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006545/0.1879, allocations: 0.5674 MB / 0.6953 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1879, allocations: 0 / 0.6953 GB, free: 6.59 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004914/0.1884, allocations: 127.8 kB / 0.6954 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.1884, allocations: 0 / 0.6954 GB, free: 6.465 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.406e-05/0.1884, allocations: 8 kB / 0.6954 GB, free: 6.457 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.1884, allocations: 4 kB / 0.6954 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.1884, allocations: 0 / 0.6954 GB, free: 6.453 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009954/0.1894, allocations: 0.6445 MB / 0.696 GB, free: 5.793 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001227/0.1895, allocations: 140.6 kB / 0.6962 GB, free: 5.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.989e-05/0.1896, allocations: 12.09 kB / 0.6962 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002074/0.1898, allocations: 15.98 kB / 0.6962 GB, free: 5.609 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.351e-05/0.1899, allocations: 27.95 kB / 0.6962 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1899, allocations: 12 kB / 0.6962 GB, free: 5.57 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003862/0.1903, allocations: 351.1 kB / 0.6966 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1e-07/0.1903, allocations: 0 / 0.6966 GB, free: 5.227 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000371/0.1906, allocations: 147.7 kB / 0.6967 GB, free: 5.082 MB / 0.5294 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.0001426/0.1908, allocations: 111.2 kB / 0.6968 GB, free: 4.965 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0006034/0.1914, allocations: 315.8 kB / 0.6971 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1914, allocations: 4 kB / 0.6971 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002841/0.1917, allocations: 167.6 kB / 0.6973 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006036/0.1923, allocations: 117.9 kB / 0.6974 GB, free: 4.375 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001908/0.1942, allocations: 1.257 MB / 0.6986 GB, free: 3.078 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004869/0.1947, allocations: 0.8742 MB / 0.6995 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.1948, allocations: 39.38 kB / 0.6995 GB, free: 2.141 MB / 0.5294 GB Notification: Performance of SimCode: time 3.3e-07/0.1948, allocations: 4 kB / 0.6995 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of Templates: time 0.009657/0.2045, allocations: 6.937 MB / 0.7063 GB, free: 11.27 MB / 0.545 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)