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.InternalResistancesOneUTubeNegative.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 111.1 kB / 16.37 MB, free: 6.344 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.001097/0.001097, allocations: 192.6 kB / 17.3 MB, free: 5.898 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.284/1.284, allocations: 222.9 MB / 241 MB, free: 15.18 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.8091/0.8091, allocations: 143.1 MB / 434.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 60.97 kB / 0.5962 GB, free: 12.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.1552, allocations: 82.04 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002098/0.1574, allocations: 1.423 MB / 0.6777 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.00366/0.161, allocations: 2.848 MB / 0.6805 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.483e-05/0.1611, allocations: 8 kB / 0.6805 GB, free: 6.031 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 2.274e-05/0.1611, allocations: 7.922 kB / 0.6805 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 5.536e-05/0.1612, allocations: 11.86 kB / 0.6805 GB, free: 6.012 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003259/0.1645, allocations: 1.567 MB / 0.6821 GB, free: 4.457 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.114e-05/0.1645, allocations: 43.73 kB / 0.6821 GB, free: 4.414 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.855e-05/0.1646, allocations: 7.984 kB / 0.6821 GB, free: 4.406 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.626e-05/0.1646, allocations: 15.94 kB / 0.6821 GB, free: 4.391 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.1647, allocations: 15.86 kB / 0.6821 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.126e-05/0.1647, allocations: 4 kB / 0.6821 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001842/0.1665, allocations: 1.486 MB / 0.6836 GB, free: 2.883 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.1665, allocations: 4 kB / 0.6836 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.865e-05/0.1666, allocations: 19.86 kB / 0.6836 GB, free: 2.859 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00119/0.1678, allocations: 1.068 MB / 0.6847 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.1678, allocations: 4 kB / 0.6847 GB, free: 1.785 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.543e-06/0.1678, allocations: 3.938 kB / 0.6847 GB, free: 1.781 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.029e-06/0.1678, allocations: 0 / 0.6847 GB, free: 1.781 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.0004978/0.1683, allocations: 0.5069 MB / 0.6852 GB, free: 1.227 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.617e-05/0.1684, allocations: 12.03 kB / 0.6852 GB, free: 1.215 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.097e-05/0.1684, allocations: 84.12 kB / 0.6853 GB, free: 1.133 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000127/0.1685, allocations: 247.5 kB / 0.6855 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.1686, allocations: 154.9 kB / 0.6856 GB, free: 0.6992 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.287e-05/0.1686, allocations: 150.9 kB / 0.6858 GB, free: 0.5508 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.791e-05/0.1687, allocations: 113 kB / 0.6859 GB, free: 444 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/0.1687, allocations: 83.27 kB / 0.686 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.105e-05/0.1688, allocations: 150.6 kB / 0.6861 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.263e-05/0.1688, allocations: 154.5 kB / 0.6863 GB, free: 52 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.608e-05/0.1689, allocations: 154.5 kB / 0.6864 GB, free: 15.9 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002521/0.1692, allocations: 461.9 kB / 0.6869 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 7.252e-05/0.1692, allocations: 169.1 kB / 0.687 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.22e-05/0.1693, allocations: 80.14 kB / 0.6871 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.1693, allocations: 75.28 kB / 0.6872 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.02e-05/0.1693, allocations: 117.8 kB / 0.6873 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 7.82e-07/0.1693, allocations: 0 / 0.6873 GB, free: 14.94 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 8.51e-05/0.1694, allocations: 37.55 kB / 0.6873 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.347e-05/0.1695, allocations: 126.7 kB / 0.6874 GB, free: 14.76 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.1696, allocations: 136.4 kB / 0.6876 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.869e-06/0.1696, allocations: 25.7 kB / 0.6876 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.592e-05/0.1697, allocations: 100 kB / 0.6877 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.793e-06/0.1697, allocations: 0 / 0.6877 GB, free: 14.49 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1697, allocations: 17.72 kB / 0.6877 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 9.092e-05/0.1698, allocations: 314.8 kB / 0.688 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.34e-05/0.1698, allocations: 11.98 kB / 0.688 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.468e-05/0.1699, allocations: 4 kB / 0.688 GB, free: 14.13 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.358e-05/0.1699, allocations: 12.86 kB / 0.688 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.1699, allocations: 0 / 0.688 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001079/0.17, allocations: 49.58 kB / 0.6881 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.471e-05/0.17, allocations: 7.984 kB / 0.6881 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.1701, allocations: 4 kB / 0.6881 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.1701, allocations: 0 / 0.6881 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.1701, allocations: 0 / 0.6881 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.738e-06/0.1701, allocations: 0 / 0.6881 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.09e-05/0.1701, allocations: 15.91 kB / 0.6881 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1701, allocations: 0 / 0.6881 GB, free: 14.04 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.86e-05/0.1702, allocations: 185.2 kB / 0.6883 GB, free: 13.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.645e-05/0.1703, allocations: 112.9 kB / 0.6884 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.116e-05/0.1703, allocations: 116.8 kB / 0.6885 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.012e-05/0.1704, allocations: 176.3 kB / 0.6887 GB, free: 13.43 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.229e-05/0.1704, allocations: 184.2 kB / 0.6888 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.737e-05/0.1705, allocations: 180.2 kB / 0.689 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002014/0.1707, allocations: 421.1 kB / 0.6894 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.299e-05/0.1707, allocations: 108.9 kB / 0.6895 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.013e-05/0.1708, allocations: 101 kB / 0.6896 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.618e-05/0.1708, allocations: 188.2 kB / 0.6898 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.063e-05/0.1709, allocations: 176.3 kB / 0.69 GB, free: 12 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.985e-05/0.171, allocations: 180.2 kB / 0.6901 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.669e-05/0.171, allocations: 184.2 kB / 0.6903 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001191/0.1711, allocations: 311.7 kB / 0.6906 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.937e-05/0.1712, allocations: 185.9 kB / 0.6908 GB, free: 11.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.666e-05/0.1713, allocations: 192.2 kB / 0.691 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.899e-05/0.1713, allocations: 105 kB / 0.6911 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.347e-05/0.1714, allocations: 176.3 kB / 0.6912 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.069e-05/0.1714, allocations: 104.9 kB / 0.6913 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.822e-05/0.1715, allocations: 97.3 kB / 0.6914 GB, free: 10.4 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1715, allocations: 8 kB / 0.6914 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0006357/0.1721, allocations: 275.8 kB / 0.6917 GB, free: 10.12 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.0008821/0.173, allocations: 0.5285 MB / 0.6922 GB, free: 9.59 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 9.124e-05/0.1731, allocations: 33.7 kB / 0.6922 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1731, allocations: 0 / 0.6922 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.432e-06/0.1731, allocations: 4.062 kB / 0.6922 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003803/0.1735, allocations: 472.2 kB / 0.6927 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002959/0.1738, allocations: 249.9 kB / 0.6929 GB, free: 8.805 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002054/0.174, allocations: 0.6846 MB / 0.6936 GB, free: 8.094 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.388e-05/0.1741, allocations: 15.42 kB / 0.6936 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of SimCode: time 2.2e-07/0.1741, allocations: 0 / 0.6936 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of Templates: time 0.006573/0.1807, allocations: 4.68 MB / 0.6982 GB, free: 3.402 MB / 0.5294 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)