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.001677/0.001677, allocations: 109.2 kB / 16.41 MB, free: 6.453 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.001431/0.001431, allocations: 185.5 kB / 17.34 MB, free: 5.734 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.392/1.392, allocations: 222.9 MB / 241 MB, free: 15.17 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.9004/0.9004, allocations: 143.1 MB / 434.3 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001811/0.001811, allocations: 65.12 kB / 0.5963 GB, free: 12.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1712/0.173, allocations: 82.03 MB / 0.6764 GB, free: 10.32 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002578/0.1756, allocations: 1.436 MB / 0.6778 GB, free: 8.871 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.004478/0.1801, allocations: 2.864 MB / 0.6806 GB, free: 5.988 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.334e-05/0.1801, allocations: 4 kB / 0.6806 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.682e-05/0.1802, allocations: 0 / 0.6806 GB, free: 5.984 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.132e-05/0.1802, allocations: 15.84 kB / 0.6806 GB, free: 5.969 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003829/0.1841, allocations: 1.561 MB / 0.6821 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001021/0.1842, allocations: 47.72 kB / 0.6822 GB, free: 4.375 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 4.104e-05/0.1842, allocations: 3.984 kB / 0.6822 GB, free: 4.371 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 3.022e-05/0.1842, allocations: 15.94 kB / 0.6822 GB, free: 4.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.858e-05/0.1843, allocations: 15.88 kB / 0.6822 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 9.037e-06/0.1843, allocations: 0 / 0.6822 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002165/0.1864, allocations: 1.49 MB / 0.6837 GB, free: 2.848 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.1864, allocations: 3.984 kB / 0.6837 GB, free: 2.844 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.211e-05/0.1865, allocations: 19.86 kB / 0.6837 GB, free: 2.824 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001449/0.1879, allocations: 1.079 MB / 0.6848 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1879, allocations: 0 / 0.6848 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1879, allocations: 0 / 0.6848 GB, free: 1.742 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.881e-06/0.1879, allocations: 0 / 0.6848 GB, free: 1.742 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.0007073/0.1886, allocations: 0.5247 MB / 0.6853 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.1887, allocations: 12.03 kB / 0.6853 GB, free: 1.156 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.695e-05/0.1887, allocations: 84.17 kB / 0.6854 GB, free: 1.074 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000192/0.1889, allocations: 261.9 kB / 0.6856 GB, free: 0.7812 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.504e-05/0.189, allocations: 158.9 kB / 0.6858 GB, free: 0.625 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.788e-05/0.1891, allocations: 150.9 kB / 0.6859 GB, free: 488 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.479e-05/0.1892, allocations: 105.1 kB / 0.686 GB, free: 376 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.765e-05/0.1892, allocations: 79.28 kB / 0.6861 GB, free: 296 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.407e-05/0.1893, allocations: 154.5 kB / 0.6862 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.672e-05/0.1894, allocations: 154.6 kB / 0.6864 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.308e-05/0.1894, allocations: 154.5 kB / 0.6865 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003571/0.1898, allocations: 461.9 kB / 0.687 GB, free: 15.33 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 9.963e-05/0.1899, allocations: 169.1 kB / 0.6871 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.073e-05/0.1899, allocations: 84.08 kB / 0.6872 GB, free: 15.07 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.475e-05/0.19, allocations: 79.28 kB / 0.6873 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.532e-05/0.19, allocations: 109.8 kB / 0.6874 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.19, allocations: 0 / 0.6874 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=0): time 7.974e-05/0.1901, allocations: 37.66 kB / 0.6874 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.09e-05/0.1902, allocations: 130.7 kB / 0.6875 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001481/0.1903, allocations: 125.8 kB / 0.6877 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.519e-05/0.1904, allocations: 25.7 kB / 0.6877 GB, free: 14.53 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.092e-05/0.1904, allocations: 92.14 kB / 0.6878 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.1904, allocations: 0 / 0.6878 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.381e-05/0.1905, allocations: 13.72 kB / 0.6878 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.1906, allocations: 322.8 kB / 0.6881 GB, free: 14.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.186e-05/0.1906, allocations: 8 kB / 0.6881 GB, free: 14.08 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.58e-05/0.1907, allocations: 11.94 kB / 0.6881 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.57e-05/0.1907, allocations: 8.859 kB / 0.6881 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.1907, allocations: 4 kB / 0.6881 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001319/0.1908, allocations: 53.58 kB / 0.6882 GB, free: 14 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1909, allocations: 6.344 kB / 0.6882 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.938e-05/0.1909, allocations: 4 kB / 0.6882 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.37e-05/0.1909, allocations: 0 / 0.6882 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.1909, allocations: 0 / 0.6882 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.1909, allocations: 0 / 0.6882 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.008e-05/0.1909, allocations: 4.062 kB / 0.6882 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.018e-05/0.1909, allocations: 4 kB / 0.6882 GB, free: 13.98 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.0001226/0.191, allocations: 195.5 kB / 0.6884 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.513e-05/0.1911, allocations: 112.9 kB / 0.6885 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.339e-05/0.1912, allocations: 108.9 kB / 0.6886 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.817e-05/0.1913, allocations: 188.1 kB / 0.6888 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.255e-05/0.1914, allocations: 184.2 kB / 0.6889 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.084e-05/0.1914, allocations: 176.3 kB / 0.6891 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002831/0.1917, allocations: 417.2 kB / 0.6895 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.792e-05/0.1918, allocations: 104.9 kB / 0.6896 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.632e-05/0.1918, allocations: 104.9 kB / 0.6897 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.594e-05/0.1919, allocations: 184.2 kB / 0.6899 GB, free: 12.12 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.417e-05/0.192, allocations: 184.2 kB / 0.6901 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.146e-05/0.1921, allocations: 176.3 kB / 0.6902 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.366e-05/0.1922, allocations: 180.3 kB / 0.6904 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001626/0.1923, allocations: 315.7 kB / 0.6907 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001064/0.1924, allocations: 190 kB / 0.6909 GB, free: 11.03 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.1925, allocations: 184.2 kB / 0.6911 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.046e-05/0.1926, allocations: 109 kB / 0.6912 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.968e-05/0.1927, allocations: 180.2 kB / 0.6913 GB, free: 10.54 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.379e-05/0.1928, allocations: 105 kB / 0.6914 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.666e-05/0.1928, allocations: 99.27 kB / 0.6915 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 9e-08/0.1928, allocations: 0 / 0.6915 GB, free: 10.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0008267/0.1936, allocations: 287 kB / 0.6918 GB, free: 10.05 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.001061/0.1947, allocations: 0.5162 MB / 0.6923 GB, free: 9.531 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001144/0.1948, allocations: 41.62 kB / 0.6924 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.1948, allocations: 0 / 0.6924 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.1948, allocations: 4.062 kB / 0.6924 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/0.1953, allocations: 468.3 kB / 0.6928 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003729/0.1956, allocations: 265.6 kB / 0.6931 GB, free: 8.727 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000331/0.196, allocations: 0.6846 MB / 0.6937 GB, free: 8.016 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.177e-05/0.196, allocations: 7.438 kB / 0.6937 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of SimCode: time 5.31e-07/0.196, allocations: 0 / 0.6937 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of Templates: time 0.008482/0.2045, allocations: 4.685 MB / 0.6983 GB, free: 3.324 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)