Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001605/0.001605, allocations: 109 kB / 16.41 MB, free: 6.449 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.001556/0.001556, allocations: 185.5 kB / 17.34 MB, free: 5.738 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.361/1.361, allocations: 222.9 MB / 241 MB, free: 15.15 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.8745/0.8745, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001803/0.001803, allocations: 67.02 kB / 0.5963 GB, free: 12.29 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1627, allocations: 82.03 MB / 0.6764 GB, free: 10.35 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00248/0.1652, allocations: 1.442 MB / 0.6778 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004407/0.1696, allocations: 2.907 MB / 0.6806 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.976e-05/0.1696, allocations: 0 / 0.6806 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.1697, allocations: 3.938 kB / 0.6806 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.776e-05/0.1697, allocations: 19.84 kB / 0.6807 GB, free: 5.949 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003858/0.1736, allocations: 1.597 MB / 0.6822 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 9.286e-05/0.1737, allocations: 43.73 kB / 0.6823 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.436e-05/0.1737, allocations: 7.922 kB / 0.6823 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.1738, allocations: 15.94 kB / 0.6823 GB, free: 4.301 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.91e-05/0.1738, allocations: 11.94 kB / 0.6823 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.149e-05/0.1738, allocations: 4 kB / 0.6823 GB, free: 4.285 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002255/0.1761, allocations: 1.537 MB / 0.6838 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.548e-05/0.1761, allocations: 7.938 kB / 0.6838 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.1761, allocations: 19.88 kB / 0.6838 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001456/0.1776, allocations: 1.107 MB / 0.6849 GB, free: 1.609 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1776, allocations: 3.938 kB / 0.6849 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1776, allocations: 0 / 0.6849 GB, free: 1.605 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.103e-05/0.1776, allocations: 0 / 0.6849 GB, free: 1.605 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006945/0.1783, allocations: 0.5247 MB / 0.6854 GB, free: 1.031 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.1783, allocations: 8.031 kB / 0.6854 GB, free: 1.023 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.632e-05/0.1784, allocations: 84.17 kB / 0.6855 GB, free: 0.9414 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001952/0.1786, allocations: 251.6 kB / 0.6858 GB, free: 0.6562 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.498e-05/0.1786, allocations: 150.9 kB / 0.6859 GB, free: 0.5078 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.755e-05/0.1787, allocations: 150.9 kB / 0.686 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.184e-05/0.1788, allocations: 105.1 kB / 0.6861 GB, free: 256 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.668e-05/0.1788, allocations: 79.28 kB / 0.6862 GB, free: 176 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.418e-05/0.1789, allocations: 158.5 kB / 0.6864 GB, free: 16 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.803e-05/0.179, allocations: 154.6 kB / 0.6865 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.518e-05/0.1791, allocations: 154.5 kB / 0.6867 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003417/0.1794, allocations: 465.9 kB / 0.6871 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.93e-05/0.1795, allocations: 165.1 kB / 0.6873 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.778e-05/0.1796, allocations: 84.14 kB / 0.6874 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.451e-05/0.1796, allocations: 75.28 kB / 0.6874 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/0.1797, allocations: 121.7 kB / 0.6875 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.1797, allocations: 0 / 0.6875 GB, free: 14.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.611e-05/0.1797, allocations: 33.66 kB / 0.6876 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.1798, allocations: 126.7 kB / 0.6877 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001578/0.18, allocations: 135.9 kB / 0.6878 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.18, allocations: 25.7 kB / 0.6878 GB, free: 14.4 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.137e-05/0.18, allocations: 96.09 kB / 0.6879 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-06/0.1801, allocations: 0 / 0.6879 GB, free: 14.3 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.687e-05/0.1801, allocations: 21.64 kB / 0.688 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001491/0.1802, allocations: 318.9 kB / 0.6883 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.48e-05/0.1803, allocations: 8 kB / 0.6883 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.807e-05/0.1803, allocations: 7.984 kB / 0.6883 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.322e-05/0.1803, allocations: 24.89 kB / 0.6883 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.1803, allocations: 4 kB / 0.6883 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001213/0.1804, allocations: 49.58 kB / 0.6884 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.1805, allocations: 8 kB / 0.6884 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.1805, allocations: 0 / 0.6884 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1805, allocations: 0 / 0.6884 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.796e-06/0.1805, allocations: 7.984 kB / 0.6884 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.1805, allocations: 0 / 0.6884 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.136e-05/0.1805, allocations: 3.953 kB / 0.6884 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.302e-06/0.1805, allocations: 0 / 0.6884 GB, free: 13.83 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.000117/0.1806, allocations: 189.2 kB / 0.6886 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.494e-05/0.1807, allocations: 112.8 kB / 0.6887 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.532e-05/0.1808, allocations: 112.9 kB / 0.6888 GB, free: 13.4 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.452e-05/0.1809, allocations: 184.2 kB / 0.6889 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.487e-05/0.1809, allocations: 176.3 kB / 0.6891 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.326e-05/0.181, allocations: 184.3 kB / 0.6893 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002907/0.1813, allocations: 413.2 kB / 0.6897 GB, free: 12.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.948e-05/0.1814, allocations: 112.9 kB / 0.6898 GB, free: 12.27 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.485e-05/0.1814, allocations: 104.9 kB / 0.6899 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-05/0.1815, allocations: 176.3 kB / 0.6901 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.345e-05/0.1816, allocations: 176.3 kB / 0.6902 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.622e-05/0.1817, allocations: 188.2 kB / 0.6904 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.96e-05/0.1817, allocations: 176.3 kB / 0.6906 GB, free: 11.43 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001608/0.1819, allocations: 307.8 kB / 0.6909 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.714e-05/0.182, allocations: 190 kB / 0.691 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.987e-05/0.1821, allocations: 192.2 kB / 0.6912 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001021/0.1822, allocations: 105 kB / 0.6913 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.85e-05/0.1823, allocations: 180.2 kB / 0.6915 GB, free: 10.41 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.027e-05/0.1823, allocations: 105 kB / 0.6916 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.485e-05/0.1824, allocations: 95.27 kB / 0.6917 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1824, allocations: 0 / 0.6917 GB, free: 10.2 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0007616/0.1832, allocations: 294.9 kB / 0.692 GB, free: 9.914 MB / 0.5294 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001117/0.1843, allocations: 0.5438 MB / 0.6925 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001036/0.1844, allocations: 37.69 kB / 0.6925 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.1844, allocations: 3.938 kB / 0.6925 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/0.1844, allocations: 0 / 0.6925 GB, free: 9.316 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004389/0.1848, allocations: 474 kB / 0.693 GB, free: 8.852 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003647/0.1852, allocations: 261.6 kB / 0.6932 GB, free: 8.562 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.1855, allocations: 0.6923 MB / 0.6939 GB, free: 7.844 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.274e-05/0.1855, allocations: 7.438 kB / 0.6939 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of SimCode: time 4.41e-07/0.1855, allocations: 3.938 kB / 0.6939 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of Templates: time 0.008734/0.1943, allocations: 4.816 MB / 0.6986 GB, free: 3.02 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)