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.001641/0.001641, allocations: 108.4 kB / 16.41 MB, free: 6.465 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.001838/0.001839, 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.09 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.8391/0.8391, allocations: 143.1 MB / 434.3 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001286/0.001286, allocations: 64.2 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1567/0.158, allocations: 82.04 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.005572/0.1637, allocations: 4.132 MB / 0.6804 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00368/0.1674, allocations: 2.421 MB / 0.6828 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004919/0.1679, allocations: 12 kB / 0.6828 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001809/0.1698, allocations: 0.5324 MB / 0.6833 GB, free: 3.18 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0007598/0.1705, allocations: 258 kB / 0.6835 GB, free: 2.926 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003402/0.1709, allocations: 131.9 kB / 0.6837 GB, free: 2.797 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.001063/0.1719, allocations: 0.8137 MB / 0.6845 GB, free: 1.98 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005233/0.1725, allocations: 326.5 kB / 0.6848 GB, free: 1.656 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004652/0.173, allocations: 306.8 kB / 0.6851 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004636/0.1734, allocations: 330.6 kB / 0.6854 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.655e-05/0.1735, allocations: 72 kB / 0.6855 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.1737, allocations: 76 kB / 0.6855 GB, free: 0.8867 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00016/0.1738, allocations: 171.5 kB / 0.6857 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003281/0.1742, allocations: 386.2 kB / 0.6861 GB, free: 348 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0009016/0.1751, allocations: 1.028 MB / 0.6871 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.1751, allocations: 0 / 0.6871 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of FrontEnd: time 2.044e-06/0.1751, allocations: 0 / 0.6871 GB, free: 15.31 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.1751, allocations: 0 / 0.6871 GB, free: 15.31 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.001424/0.1765, allocations: 0.954 MB / 0.688 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.1766, allocations: 15.97 kB / 0.688 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001094/0.1767, allocations: 72.09 kB / 0.6881 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000649/0.1774, allocations: 453.7 kB / 0.6885 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.829e-05/0.1774, allocations: 37.38 kB / 0.6885 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.7e-05/0.1775, allocations: 52.28 kB / 0.6886 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007528/0.1782, allocations: 434.8 kB / 0.689 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.742e-05/0.1783, allocations: 0 / 0.689 GB, free: 13.22 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/0.1783, allocations: 16 kB / 0.689 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1783, allocations: 12 kB / 0.689 GB, free: 13.19 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006922/0.179, allocations: 363.8 kB / 0.6894 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002005/0.181, allocations: 1.516 MB / 0.6909 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005226/0.1816, allocations: 344.4 kB / 0.6912 GB, free: 10.9 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004643/0.182, allocations: 308.8 kB / 0.6915 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.328e-05/0.1821, allocations: 8.688 kB / 0.6915 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.425e-05/0.1821, allocations: 46.48 kB / 0.6915 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 1.903e-06/0.1821, allocations: 0 / 0.6915 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0009498/0.1831, allocations: 0.4924 MB / 0.692 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.1831, allocations: 59.19 kB / 0.6921 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005442/0.1837, allocations: 485.9 kB / 0.6925 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.922e-05/0.1837, allocations: 33.7 kB / 0.6926 GB, free: 9.441 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001844/0.1839, allocations: 272.4 kB / 0.6928 GB, free: 9.172 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001189/0.184, allocations: 153.8 kB / 0.693 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.1841, allocations: 58.08 kB / 0.693 GB, free: 8.953 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001535/0.1843, allocations: 362.8 kB / 0.6934 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002441/0.1846, allocations: 120.7 kB / 0.6935 GB, free: 8.473 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002431/0.1848, allocations: 129.2 kB / 0.6936 GB, free: 8.348 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005158/0.1853, allocations: 298.2 kB / 0.6939 GB, free: 8.055 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.395e-06/0.1853, allocations: 3.938 kB / 0.6939 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006553/0.186, allocations: 396.4 kB / 0.6943 GB, free: 7.656 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.186, allocations: 6.656 kB / 0.6943 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.76e-06/0.186, allocations: 0 / 0.6943 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.1861, allocations: 7.938 kB / 0.6943 GB, free: 7.645 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000516/0.1866, allocations: 123.9 kB / 0.6944 GB, free: 7.523 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.1866, allocations: 4 kB / 0.6944 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.1868, allocations: 43.58 kB / 0.6945 GB, free: 7.477 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.871e-05/0.1869, allocations: 8 kB / 0.6945 GB, free: 7.469 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.0002222/0.1871, allocations: 193.8 kB / 0.6947 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.66e-05/0.1872, allocations: 51.38 kB / 0.6947 GB, free: 7.219 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001208/0.1873, allocations: 61.11 kB / 0.6948 GB, free: 7.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.582e-06/0.1873, allocations: 7.984 kB / 0.6948 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/0.1873, allocations: 0 / 0.6948 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.1873, allocations: 0 / 0.6948 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006331/0.188, allocations: 0.579 MB / 0.6953 GB, free: 6.523 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.188, allocations: 4 kB / 0.6953 GB, free: 6.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/0.1885, allocations: 131.7 kB / 0.6955 GB, free: 6.391 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.699e-06/0.1885, allocations: 4 kB / 0.6955 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.179e-05/0.1886, allocations: 8 kB / 0.6955 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.587e-06/0.1886, allocations: 4 kB / 0.6955 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1886, allocations: 0 / 0.6955 GB, free: 6.375 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009598/0.1895, allocations: 0.6442 MB / 0.6961 GB, free: 5.715 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001127/0.1897, allocations: 140.4 kB / 0.6962 GB, free: 5.559 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.476e-05/0.1897, allocations: 8 kB / 0.6962 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.19, allocations: 11.98 kB / 0.6963 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.507e-05/0.19, allocations: 23.97 kB / 0.6963 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.631e-05/0.1901, allocations: 8 kB / 0.6963 GB, free: 5.508 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003667/0.1904, allocations: 359.1 kB / 0.6966 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1904, allocations: 0 / 0.6966 GB, free: 5.156 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0003949/0.1908, allocations: 143.6 kB / 0.6968 GB, free: 5.016 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.0001469/0.191, allocations: 115.2 kB / 0.6969 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005795/0.1916, allocations: 331.8 kB / 0.6972 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1916, allocations: 0 / 0.6972 GB, free: 4.57 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002776/0.1919, allocations: 187.6 kB / 0.6974 GB, free: 4.387 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.1925, allocations: 123.2 kB / 0.6975 GB, free: 4.266 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.1943, allocations: 1.233 MB / 0.6987 GB, free: 2.996 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004163/0.1948, allocations: 0.8665 MB / 0.6995 GB, free: 2.105 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001241/0.1949, allocations: 39.44 kB / 0.6996 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of SimCode: time 3.397e-06/0.1949, allocations: 7.938 kB / 0.6996 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of Templates: time 0.009887/0.2048, allocations: 6.897 MB / 0.7063 GB, free: 11.22 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)