Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001282/0.001288, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001362/0.001362, allocations: 190.5 kB / 16.25 MB, free: 6.617 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.314/1.314, allocations: 222.9 MB / 239.9 MB, free: 4.555 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002074/0.002074, allocations: 290.8 kB / 290.4 MB, free: 2.16 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9411/0.9411, allocations: 169.2 MB / 0.4978 GB, free: 14.1 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 89.34 kB / 0.5947 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1618, allocations: 86.99 MB / 0.6797 GB, free: 1.027 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002765/0.1646, allocations: 1.476 MB / 0.6811 GB, free: 15.55 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004065/0.1687, allocations: 2.841 MB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.1687, allocations: 0 / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.925e-05/0.1688, allocations: 3.984 kB / 0.6839 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.476e-05/0.1689, allocations: 16.48 kB / 0.6839 GB, free: 12.68 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003656/0.1725, allocations: 1.435 MB / 0.6853 GB, free: 11.28 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.028e-05/0.1726, allocations: 43.8 kB / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.589e-05/0.1727, allocations: 7.938 kB / 0.6854 GB, free: 11.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.747e-05/0.1727, allocations: 15.92 kB / 0.6854 GB, free: 11.21 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.809e-05/0.1728, allocations: 15.92 kB / 0.6854 GB, free: 11.2 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.155e-05/0.1728, allocations: 11.88 kB / 0.6854 GB, free: 11.18 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001993/0.1748, allocations: 1.412 MB / 0.6868 GB, free: 9.77 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.739e-05/0.1748, allocations: 8 kB / 0.6868 GB, free: 9.762 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.422e-05/0.1748, allocations: 23.84 kB / 0.6868 GB, free: 9.738 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.1762, allocations: 1.057 MB / 0.6879 GB, free: 8.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.1762, allocations: 4 kB / 0.6879 GB, free: 8.676 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.1762, allocations: 0 / 0.6879 GB, free: 8.676 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.1762, allocations: 0 / 0.6879 GB, free: 8.676 MB / 494.1 MB 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.0005777/0.1768, allocations: 0.5107 MB / 0.6884 GB, free: 8.117 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.903e-05/0.1768, allocations: 12.03 kB / 0.6884 GB, free: 8.105 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.988e-05/0.1769, allocations: 84.11 kB / 0.6885 GB, free: 8.023 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001559/0.177, allocations: 251.5 kB / 0.6887 GB, free: 7.738 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-05/0.1771, allocations: 158.9 kB / 0.6888 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.1772, allocations: 158.9 kB / 0.689 GB, free: 7.426 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.286e-05/0.1773, allocations: 105.1 kB / 0.6891 GB, free: 7.316 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.705e-05/0.1773, allocations: 75.28 kB / 0.6892 GB, free: 7.242 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.876e-05/0.1773, allocations: 150.6 kB / 0.6893 GB, free: 7.094 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.33e-05/0.1774, allocations: 150.6 kB / 0.6895 GB, free: 6.945 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.045e-05/0.1775, allocations: 154.6 kB / 0.6896 GB, free: 6.793 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.1777, allocations: 461.9 kB / 0.69 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.039e-05/0.1778, allocations: 169.1 kB / 0.6902 GB, free: 6.117 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.014e-05/0.1779, allocations: 80.14 kB / 0.6903 GB, free: 6.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.469e-05/0.1779, allocations: 83.28 kB / 0.6904 GB, free: 5.953 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.806e-05/0.1779, allocations: 113.8 kB / 0.6905 GB, free: 5.832 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 1.182e-06/0.178, allocations: 3.938 kB / 0.6905 GB, free: 5.828 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 7.479e-05/0.178, allocations: 33.61 kB / 0.6905 GB, free: 5.789 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.072e-05/0.1781, allocations: 134.6 kB / 0.6906 GB, free: 5.645 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001271/0.1782, allocations: 131.8 kB / 0.6908 GB, free: 5.508 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.796e-05/0.1783, allocations: 25.7 kB / 0.6908 GB, free: 5.477 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.813e-05/0.1783, allocations: 96.05 kB / 0.6909 GB, free: 5.379 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.235e-06/0.1783, allocations: 4 kB / 0.6909 GB, free: 5.375 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.021e-05/0.1784, allocations: 13.72 kB / 0.6909 GB, free: 5.355 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001054/0.1785, allocations: 318.8 kB / 0.6912 GB, free: 5.035 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.388e-05/0.1785, allocations: 4 kB / 0.6912 GB, free: 5.031 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.719e-05/0.1785, allocations: 8 kB / 0.6912 GB, free: 5.023 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.496e-05/0.1786, allocations: 8.859 kB / 0.6912 GB, free: 5.012 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.1786, allocations: 0 / 0.6912 GB, free: 5.012 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001281/0.1787, allocations: 57.59 kB / 0.6913 GB, free: 4.949 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.1787, allocations: 8 kB / 0.6913 GB, free: 4.941 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.991e-05/0.1787, allocations: 3.938 kB / 0.6913 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.1788, allocations: 0 / 0.6913 GB, free: 4.938 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.034e-06/0.1788, allocations: 4 kB / 0.6913 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.418e-06/0.1788, allocations: 0 / 0.6913 GB, free: 4.934 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.927e-05/0.1788, allocations: 3.906 kB / 0.6913 GB, free: 4.93 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.422e-06/0.1788, allocations: 0 / 0.6913 GB, free: 4.93 MB / 494.1 MB 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 9.612e-05/0.1789, allocations: 189.8 kB / 0.6915 GB, free: 4.734 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.192e-05/0.179, allocations: 109 kB / 0.6916 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.296e-05/0.179, allocations: 120.8 kB / 0.6917 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.411e-05/0.1791, allocations: 176.3 kB / 0.6919 GB, free: 4.312 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-05/0.1792, allocations: 180.3 kB / 0.692 GB, free: 4.129 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.304e-05/0.1792, allocations: 188.2 kB / 0.6922 GB, free: 3.938 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002145/0.1795, allocations: 413.2 kB / 0.6926 GB, free: 3.477 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.864e-05/0.1795, allocations: 108.9 kB / 0.6927 GB, free: 3.363 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.843e-05/0.1796, allocations: 105 kB / 0.6928 GB, free: 3.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-05/0.1796, allocations: 176.3 kB / 0.693 GB, free: 3.074 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.904e-05/0.1797, allocations: 184.2 kB / 0.6931 GB, free: 2.887 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.973e-05/0.1798, allocations: 176.3 kB / 0.6933 GB, free: 2.707 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.887e-05/0.1798, allocations: 188.2 kB / 0.6935 GB, free: 2.516 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001322/0.18, allocations: 315.7 kB / 0.6938 GB, free: 2.184 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.455e-05/0.18, allocations: 185.9 kB / 0.694 GB, free: 1.977 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.32e-05/0.1801, allocations: 184.2 kB / 0.6942 GB, free: 1.789 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.458e-05/0.1802, allocations: 112.9 kB / 0.6943 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.566e-05/0.1803, allocations: 180.3 kB / 0.6944 GB, free: 1.488 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.614e-05/0.1803, allocations: 112.9 kB / 0.6945 GB, free: 1.371 MB / 494.1 MB Notification: Performance of sorting global known variables: time 6.325e-05/0.1804, allocations: 97.77 kB / 0.6946 GB, free: 1.277 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.1804, allocations: 0 / 0.6946 GB, free: 1.277 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0007476/0.1811, allocations: 275.8 kB / 0.6949 GB, free: 1.008 MB / 494.1 MB 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.00109/0.1822, allocations: 0.5195 MB / 0.6954 GB, free: 492 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.1824, allocations: 33.7 kB / 0.6954 GB, free: 452 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.1824, allocations: 3.938 kB / 0.6954 GB, free: 448 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.154e-06/0.1824, allocations: 352 / 0.6954 GB, free: 448 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.1828, allocations: 471.7 kB / 0.6959 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.1832, allocations: 248.2 kB / 0.6961 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.1835, allocations: 0.6844 MB / 0.6968 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.642e-05/0.1835, allocations: 4 kB / 0.6968 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.107e-05/0.1835, allocations: 7.438 kB / 0.6968 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1835, allocations: 0 / 0.6968 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of Templates: time 0.008604/0.1922, allocations: 5.484 MB / 0.7022 GB, free: 9.559 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)