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.005557/0.005562, allocations: 103.1 kB / 15.73 MB, free: 6.047 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.001295/0.001295, allocations: 196 kB / 16.68 MB, free: 5.965 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.14 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.8163/0.8163, allocations: 143 MB / 433.6 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001116/0.001116, allocations: 63.47 kB / 0.5956 GB, free: 12.25 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1514, allocations: 82.04 MB / 0.6757 GB, free: 10.3 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005149/0.1566, allocations: 4.132 MB / 0.6797 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.003331/0.1599, allocations: 2.429 MB / 0.6821 GB, free: 3.703 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004495/0.1604, allocations: 8 kB / 0.6821 GB, free: 3.695 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.1621, allocations: 0.5363 MB / 0.6826 GB, free: 3.156 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0006178/0.1627, allocations: 254 kB / 0.6829 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002437/0.163, allocations: 135.9 kB / 0.683 GB, free: 2.773 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0007539/0.1637, allocations: 0.8098 MB / 0.6838 GB, free: 1.961 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004177/0.1642, allocations: 330.5 kB / 0.6841 GB, free: 1.633 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003058/0.1645, allocations: 294.9 kB / 0.6844 GB, free: 1.344 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003406/0.1648, allocations: 322.6 kB / 0.6847 GB, free: 1.027 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 8.638e-05/0.1649, allocations: 80 kB / 0.6848 GB, free: 0.9492 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.1651, allocations: 76 kB / 0.6848 GB, free: 0.875 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0001492/0.1652, allocations: 171.4 kB / 0.685 GB, free: 0.707 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0003025/0.1655, allocations: 390.2 kB / 0.6854 GB, free: 332 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000831/0.1664, allocations: 1.024 MB / 0.6864 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1664, allocations: 0 / 0.6864 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1664, allocations: 0 / 0.6864 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.087e-06/0.1664, allocations: 0 / 0.6864 GB, free: 15.3 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.001344/0.1677, allocations: 0.9579 MB / 0.6873 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.1678, allocations: 8.031 kB / 0.6873 GB, free: 14.28 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001146/0.1679, allocations: 76.09 kB / 0.6874 GB, free: 14.21 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005571/0.1685, allocations: 457.7 kB / 0.6878 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.85e-05/0.1685, allocations: 33.38 kB / 0.6879 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.488e-05/0.1686, allocations: 52.28 kB / 0.6879 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007258/0.1693, allocations: 434.7 kB / 0.6883 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.1693, allocations: 8 kB / 0.6883 GB, free: 13.2 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.852e-05/0.1694, allocations: 20 kB / 0.6884 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.1694, allocations: 12 kB / 0.6884 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006692/0.1701, allocations: 363.8 kB / 0.6887 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001901/0.172, allocations: 1.508 MB / 0.6902 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000517/0.1725, allocations: 343.6 kB / 0.6905 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004628/0.173, allocations: 316.8 kB / 0.6908 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.246e-05/0.173, allocations: 4.688 kB / 0.6908 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.508e-05/0.1731, allocations: 42.5 kB / 0.6909 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=42): time 1.523e-06/0.1731, allocations: 4 kB / 0.6909 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=42): time 0.0008989/0.174, allocations: 0.4885 MB / 0.6913 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.634e-05/0.174, allocations: 59.19 kB / 0.6914 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005188/0.1745, allocations: 485.9 kB / 0.6919 GB, free: 9.465 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.1746, allocations: 29.7 kB / 0.6919 GB, free: 9.43 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001955/0.1748, allocations: 280.3 kB / 0.6922 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001016/0.1749, allocations: 149.8 kB / 0.6923 GB, free: 9.004 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.799e-05/0.175, allocations: 70.06 kB / 0.6924 GB, free: 8.926 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1751, allocations: 358.8 kB / 0.6927 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002402/0.1754, allocations: 116.7 kB / 0.6928 GB, free: 8.453 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002264/0.1756, allocations: 133.2 kB / 0.6929 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004846/0.1761, allocations: 290.2 kB / 0.6932 GB, free: 8.039 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1761, allocations: 8 kB / 0.6932 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006204/0.1768, allocations: 392.4 kB / 0.6936 GB, free: 7.641 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.1768, allocations: 4 kB / 0.6936 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.1768, allocations: 0 / 0.6936 GB, free: 7.637 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.1768, allocations: 4 kB / 0.6936 GB, free: 7.633 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004978/0.1773, allocations: 123.8 kB / 0.6937 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1773, allocations: 11.97 kB / 0.6937 GB, free: 7.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002106/0.1775, allocations: 40.36 kB / 0.6938 GB, free: 7.461 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.987e-05/0.1776, allocations: 12 kB / 0.6938 GB, free: 7.449 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.0002095/0.1778, allocations: 194.4 kB / 0.694 GB, free: 7.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.317e-05/0.1779, allocations: 51.38 kB / 0.694 GB, free: 7.199 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000114/0.178, allocations: 65.09 kB / 0.6941 GB, free: 7.137 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.989e-06/0.178, allocations: 4 kB / 0.6941 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.178, allocations: 0 / 0.6941 GB, free: 7.133 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.178, allocations: 3.938 kB / 0.6941 GB, free: 7.129 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006007/0.1786, allocations: 0.5712 MB / 0.6947 GB, free: 6.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.863e-06/0.1786, allocations: 4 kB / 0.6947 GB, free: 6.504 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005041/0.1791, allocations: 127.8 kB / 0.6948 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.1792, allocations: 0 / 0.6948 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.754e-05/0.1792, allocations: 12 kB / 0.6948 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.103e-06/0.1792, allocations: 0 / 0.6948 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.113e-06/0.1792, allocations: 0 / 0.6948 GB, free: 6.367 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009509/0.1802, allocations: 0.6598 MB / 0.6954 GB, free: 5.691 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001062/0.1803, allocations: 140.4 kB / 0.6956 GB, free: 5.535 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.942e-05/0.1803, allocations: 4 kB / 0.6956 GB, free: 5.531 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002145/0.1806, allocations: 15.98 kB / 0.6956 GB, free: 5.516 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.883e-05/0.1806, allocations: 19.97 kB / 0.6956 GB, free: 5.496 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.728e-05/0.1806, allocations: 12 kB / 0.6956 GB, free: 5.484 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0003804/0.181, allocations: 355.1 kB / 0.696 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.81e-07/0.181, allocations: 4 kB / 0.696 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000375/0.1814, allocations: 139.6 kB / 0.6961 GB, free: 4.996 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.0001316/0.1816, allocations: 115.2 kB / 0.6962 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005877/0.1821, allocations: 331.8 kB / 0.6965 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1822, allocations: 0 / 0.6965 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0002747/0.1824, allocations: 187.5 kB / 0.6967 GB, free: 4.367 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006341/0.1831, allocations: 131.9 kB / 0.6968 GB, free: 4.246 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001767/0.1849, allocations: 1.191 MB / 0.698 GB, free: 3.023 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004271/0.1853, allocations: 0.8626 MB / 0.6988 GB, free: 2.137 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0001779/0.1855, allocations: 60.38 kB / 0.6989 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.642e-05/0.1856, allocations: 43.38 kB / 0.6989 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of SimCode: time 2.91e-07/0.1856, allocations: 0 / 0.6989 GB, free: 2.035 MB / 0.5294 GB Notification: Performance of Templates: time 0.01045/0.196, allocations: 6.036 MB / 0.7048 GB, free: 12.15 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)