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.001265/0.001265, allocations: 106.7 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.001262/0.001262, allocations: 187 kB / 17.34 MB, free: 5.742 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.303/1.303, 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.8293/0.8293, allocations: 143.1 MB / 434.3 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001167, allocations: 64.81 kB / 0.5963 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1517/0.1528, allocations: 82.03 MB / 0.6764 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002755/0.1557, allocations: 1.452 MB / 0.6778 GB, free: 8.875 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004275/0.16, allocations: 2.886 MB / 0.6806 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.703e-05/0.16, allocations: 0 / 0.6806 GB, free: 5.973 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.638e-05/0.1601, allocations: 3.938 kB / 0.6806 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.49e-05/0.1602, allocations: 23.84 kB / 0.6807 GB, free: 5.945 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003997/0.1642, allocations: 1.595 MB / 0.6822 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.493e-05/0.1643, allocations: 43.67 kB / 0.6823 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.079e-05/0.1643, allocations: 7.984 kB / 0.6823 GB, free: 4.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.9e-05/0.1643, allocations: 11.94 kB / 0.6823 GB, free: 4.305 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.525e-05/0.1644, allocations: 15.94 kB / 0.6823 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.818e-06/0.1644, allocations: 0 / 0.6823 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002303/0.1667, allocations: 1.54 MB / 0.6838 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.496e-05/0.1667, allocations: 7.938 kB / 0.6838 GB, free: 2.738 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.1668, allocations: 19.88 kB / 0.6838 GB, free: 2.719 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.1685, allocations: 1.092 MB / 0.6849 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1685, allocations: 0 / 0.6849 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1685, allocations: 0 / 0.6849 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.1685, allocations: 0 / 0.6849 GB, free: 1.625 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.0007104/0.1692, allocations: 0.5224 MB / 0.6854 GB, free: 1.055 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.1693, allocations: 8.031 kB / 0.6854 GB, free: 1.047 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.927e-05/0.1693, allocations: 88.12 kB / 0.6855 GB, free: 0.9609 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001468/0.1695, allocations: 254.2 kB / 0.6857 GB, free: 0.6758 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.256e-05/0.1696, allocations: 150.9 kB / 0.6859 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.126e-05/0.1696, allocations: 154.9 kB / 0.686 GB, free: 384 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.11e-05/0.1697, allocations: 105.1 kB / 0.6861 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.588e-05/0.1697, allocations: 75.28 kB / 0.6862 GB, free: 196 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.012e-05/0.1698, allocations: 158.5 kB / 0.6863 GB, free: 36 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/0.1699, allocations: 150.6 kB / 0.6865 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.013e-05/0.1699, allocations: 158.5 kB / 0.6866 GB, free: 15.73 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003011/0.1702, allocations: 461.9 kB / 0.6871 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8e-05/0.1703, allocations: 177.1 kB / 0.6872 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.07e-05/0.1703, allocations: 80.14 kB / 0.6873 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.1704, allocations: 75.28 kB / 0.6874 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.481e-05/0.1704, allocations: 113.8 kB / 0.6875 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.1704, allocations: 0 / 0.6875 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.071e-05/0.1705, allocations: 37.55 kB / 0.6875 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.143e-05/0.1706, allocations: 130.7 kB / 0.6877 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.1707, allocations: 137.7 kB / 0.6878 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.127e-05/0.1707, allocations: 25.7 kB / 0.6878 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.101e-05/0.1708, allocations: 92.12 kB / 0.6879 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.144e-06/0.1708, allocations: 3.938 kB / 0.6879 GB, free: 14.31 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.388e-05/0.1708, allocations: 17.72 kB / 0.6879 GB, free: 14.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001035/0.1709, allocations: 318.9 kB / 0.6882 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.53e-05/0.171, allocations: 7.984 kB / 0.6882 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.01e-05/0.171, allocations: 12 kB / 0.6883 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.019e-05/0.1711, allocations: 12.92 kB / 0.6883 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1711, allocations: 0 / 0.6883 GB, free: 13.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001359/0.1712, allocations: 53.58 kB / 0.6883 GB, free: 13.88 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.1712, allocations: 4 kB / 0.6883 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.182e-05/0.1712, allocations: 7.984 kB / 0.6883 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.1713, allocations: 0 / 0.6883 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.51e-07/0.1713, allocations: 0 / 0.6883 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.401e-06/0.1713, allocations: 0 / 0.6883 GB, free: 13.86 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.676e-05/0.1713, allocations: 11.91 kB / 0.6883 GB, free: 13.85 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.1713, allocations: 4.062 kB / 0.6883 GB, free: 13.85 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 8.343e-05/0.1714, allocations: 181.1 kB / 0.6885 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.913e-05/0.1715, allocations: 112.8 kB / 0.6886 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.155e-05/0.1715, allocations: 116.8 kB / 0.6887 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.788e-05/0.1716, allocations: 176.3 kB / 0.6889 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.14e-05/0.1717, allocations: 184.3 kB / 0.6891 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.149e-05/0.1717, allocations: 180.2 kB / 0.6892 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002131/0.1719, allocations: 409.2 kB / 0.6896 GB, free: 12.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.289e-05/0.172, allocations: 112.8 kB / 0.6897 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.539e-05/0.172, allocations: 109 kB / 0.6898 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-05/0.1721, allocations: 180.2 kB / 0.69 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.561e-05/0.1721, allocations: 180.3 kB / 0.6902 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.193e-05/0.1722, allocations: 176.3 kB / 0.6904 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.668e-05/0.1723, allocations: 184.2 kB / 0.6905 GB, free: 11.45 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001192/0.1724, allocations: 307.8 kB / 0.6908 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 7.058e-05/0.1725, allocations: 189.9 kB / 0.691 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.763e-05/0.1725, allocations: 192.2 kB / 0.6912 GB, free: 10.72 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.766e-05/0.1726, allocations: 104.9 kB / 0.6913 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.74e-05/0.1727, allocations: 180.3 kB / 0.6915 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.505e-05/0.1727, allocations: 112.9 kB / 0.6916 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.912e-05/0.1728, allocations: 97.3 kB / 0.6917 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.293e-06/0.1728, allocations: 0 / 0.6917 GB, free: 10.21 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008215/0.1736, allocations: 291.7 kB / 0.6919 GB, free: 9.93 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.001221/0.1748, allocations: 0.5215 MB / 0.6925 GB, free: 9.398 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001106/0.175, allocations: 45.69 kB / 0.6925 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.175, allocations: 4.062 kB / 0.6925 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 4.037e-06/0.175, allocations: 0 / 0.6925 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004008/0.1754, allocations: 464.3 kB / 0.6929 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.1757, allocations: 264.9 kB / 0.6932 GB, free: 8.598 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002185/0.1759, allocations: 0.6846 MB / 0.6939 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.35e-05/0.176, allocations: 11.38 kB / 0.6939 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of SimCode: time 2.1e-07/0.176, allocations: 0 / 0.6939 GB, free: 7.875 MB / 0.5294 GB Notification: Performance of Templates: time 0.008213/0.1842, allocations: 4.814 MB / 0.6986 GB, free: 3.066 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)