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.001038/0.001038, allocations: 86.48 kB / 15.06 MB, free: 1.09 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.001182/0.001182, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.356/1.356, allocations: 223.3 MB / 240 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001671, allocations: 275.1 kB / 291.4 MB, free: 1.82 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9462/0.9462, allocations: 169.5 MB / 0.5 GB, free: 14.23 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004711/0.0004711, allocations: 14.5 kB / 0.5981 GB, free: 28.3 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1731/0.1736, allocations: 88.55 MB / 0.6845 GB, free: 15.39 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001375/0.175, allocations: 1.131 MB / 0.6856 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003515/0.1785, allocations: 2.614 MB / 0.6882 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.663e-05/0.1786, allocations: 0 / 0.6882 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.735e-05/0.1786, allocations: 0 / 0.6882 GB, free: 11.63 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.524e-05/0.1787, allocations: 19.78 kB / 0.6882 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002522/0.1812, allocations: 1.237 MB / 0.6894 GB, free: 10.41 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.078e-05/0.1813, allocations: 35.75 kB / 0.6895 GB, free: 10.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.983e-05/0.1813, allocations: 11.92 kB / 0.6895 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.242e-05/0.1813, allocations: 11.94 kB / 0.6895 GB, free: 10.36 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.826e-05/0.1814, allocations: 15.94 kB / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.756e-06/0.1814, allocations: 0 / 0.6895 GB, free: 10.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001585/0.183, allocations: 1.209 MB / 0.6907 GB, free: 9.129 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.2e-05/0.183, allocations: 7.938 kB / 0.6907 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.98e-05/0.183, allocations: 29.7 kB / 0.6907 GB, free: 9.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007799/0.1838, allocations: 0.694 MB / 0.6914 GB, free: 8.391 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1838, allocations: 0 / 0.6914 GB, free: 8.391 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.203e-06/0.1839, allocations: 0 / 0.6914 GB, free: 8.391 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.296e-06/0.1839, allocations: 0 / 0.6914 GB, free: 8.391 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.0004928/0.1844, allocations: 0.5067 MB / 0.6919 GB, free: 7.836 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.884e-05/0.1844, allocations: 8.031 kB / 0.6919 GB, free: 7.828 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.1845, allocations: 87.14 kB / 0.692 GB, free: 7.742 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.1846, allocations: 250.3 kB / 0.6922 GB, free: 7.457 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.485e-05/0.1847, allocations: 154.6 kB / 0.6924 GB, free: 7.305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.764e-05/0.1847, allocations: 150.6 kB / 0.6925 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.557e-05/0.1848, allocations: 101 kB / 0.6926 GB, free: 7.051 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.1848, allocations: 75.28 kB / 0.6927 GB, free: 6.977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.428e-05/0.1849, allocations: 158.6 kB / 0.6928 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-05/0.1849, allocations: 158.5 kB / 0.693 GB, free: 6.664 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.358e-05/0.185, allocations: 158.5 kB / 0.6931 GB, free: 6.508 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.1852, allocations: 461.9 kB / 0.6936 GB, free: 6.008 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.083e-05/0.1853, allocations: 165.1 kB / 0.6937 GB, free: 5.836 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.46e-05/0.1854, allocations: 84.14 kB / 0.6938 GB, free: 5.75 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.613e-05/0.1854, allocations: 79.28 kB / 0.6939 GB, free: 5.672 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.915e-05/0.1854, allocations: 109.8 kB / 0.694 GB, free: 5.555 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1854, allocations: 3.938 kB / 0.694 GB, free: 5.551 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.716e-05/0.1855, allocations: 37.59 kB / 0.694 GB, free: 5.508 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1856, allocations: 126.7 kB / 0.6941 GB, free: 5.371 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001139/0.1857, allocations: 136.3 kB / 0.6943 GB, free: 5.23 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.425e-05/0.1857, allocations: 33.64 kB / 0.6943 GB, free: 5.191 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.1858, allocations: 88.14 kB / 0.6944 GB, free: 5.102 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.1858, allocations: 0 / 0.6944 GB, free: 5.102 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.235e-06/0.1858, allocations: 0 / 0.6944 GB, free: 5.102 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.181e-05/0.1859, allocations: 318.8 kB / 0.6947 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.1859, allocations: 4 kB / 0.6947 GB, free: 4.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.271e-05/0.1859, allocations: 4 kB / 0.6947 GB, free: 4.773 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.363e-05/0.1859, allocations: 8 kB / 0.6947 GB, free: 4.766 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1859, allocations: 0 / 0.6947 GB, free: 4.766 MB / 494.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001117/0.1861, allocations: 53.56 kB / 0.6948 GB, free: 4.707 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/0.1861, allocations: 8 kB / 0.6948 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.497e-05/0.1861, allocations: 0 / 0.6948 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.988e-06/0.1861, allocations: 0 / 0.6948 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.1861, allocations: 0 / 0.6948 GB, free: 4.699 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1861, allocations: 4 kB / 0.6948 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.1862, allocations: 11.89 kB / 0.6948 GB, free: 4.684 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.1862, allocations: 0 / 0.6948 GB, free: 4.684 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.853e-05/0.1862, allocations: 185.1 kB / 0.695 GB, free: 4.492 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.695e-05/0.1863, allocations: 112.9 kB / 0.6951 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.123e-05/0.1864, allocations: 112.8 kB / 0.6952 GB, free: 4.254 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.976e-05/0.1864, allocations: 176.3 kB / 0.6953 GB, free: 4.074 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.552e-05/0.1865, allocations: 184.2 kB / 0.6955 GB, free: 3.887 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.245e-05/0.1865, allocations: 184.2 kB / 0.6957 GB, free: 3.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.1868, allocations: 417.2 kB / 0.6961 GB, free: 3.234 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.891e-05/0.1868, allocations: 104.9 kB / 0.6962 GB, free: 3.125 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.14e-05/0.1869, allocations: 105 kB / 0.6963 GB, free: 3.016 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.66e-05/0.1869, allocations: 184.2 kB / 0.6965 GB, free: 2.828 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.057e-05/0.187, allocations: 176.3 kB / 0.6966 GB, free: 2.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001076/0.1871, allocations: 188.4 kB / 0.6968 GB, free: 2.457 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001099/0.1872, allocations: 184.3 kB / 0.697 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001581/0.1874, allocations: 315.7 kB / 0.6973 GB, free: 1.938 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.414e-05/0.1875, allocations: 186 kB / 0.6975 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.788e-05/0.1876, allocations: 184.2 kB / 0.6976 GB, free: 1.543 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.794e-05/0.1877, allocations: 105 kB / 0.6977 GB, free: 1.434 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.959e-05/0.1878, allocations: 176.3 kB / 0.6979 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.881e-05/0.1878, allocations: 108.9 kB / 0.698 GB, free: 1.141 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.192e-05/0.1879, allocations: 103.2 kB / 0.6981 GB, free: 1.039 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1879, allocations: 3.938 kB / 0.6981 GB, free: 1.035 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006273/0.1885, allocations: 271.8 kB / 0.6984 GB, free: 0.7695 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008468/0.1894, allocations: 0.4945 MB / 0.6989 GB, free: 276 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.818e-05/0.1895, allocations: 37.7 kB / 0.6989 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1895, allocations: 0 / 0.6989 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.462e-06/0.1895, allocations: 0 / 0.6989 GB, free: 232 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004142/0.1899, allocations: 0.5347 MB / 0.6994 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.1902, allocations: 255.7 kB / 0.6997 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.1904, allocations: 0.6848 MB / 0.7003 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.229e-05/0.1905, allocations: 0 / 0.7003 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.069e-05/0.1905, allocations: 11.44 kB / 0.7003 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1905, allocations: 4 kB / 0.7003 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of Templates: time 0.008532/0.199, allocations: 5.42 MB / 0.7056 GB, free: 9.32 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)