Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007918/0.0007919, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0008498/0.0008499, allocations: 172.7 kB / 15.95 MB, free: 208 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.339/1.339, allocations: 223.3 MB / 240 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002976/0.002976, allocations: 265.8 kB / 291.3 MB, free: 1.945 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9786/0.9786, allocations: 169.5 MB / 0.5 GB, free: 14.24 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004331/0.0004331, allocations: 14.31 kB / 0.5981 GB, free: 28.21 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1721, allocations: 88.55 MB / 0.6845 GB, free: 15.42 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001456/0.1736, allocations: 1.142 MB / 0.6857 GB, free: 14.27 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003682/0.1773, allocations: 2.653 MB / 0.6882 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.343e-05/0.1773, allocations: 0 / 0.6882 GB, free: 11.61 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.976e-05/0.1774, allocations: 3.984 kB / 0.6882 GB, free: 11.6 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.088e-05/0.1774, allocations: 11.86 kB / 0.6883 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002943/0.1804, allocations: 1.26 MB / 0.6895 GB, free: 10.37 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.534e-05/0.1805, allocations: 51.66 kB / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.323e-05/0.1805, allocations: 0.5312 kB / 0.6895 GB, free: 10.32 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.378e-05/0.1805, allocations: 15.94 kB / 0.6896 GB, free: 10.3 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.049e-05/0.1806, allocations: 15.94 kB / 0.6896 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.889e-06/0.1806, allocations: 0 / 0.6896 GB, free: 10.29 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001686/0.1823, allocations: 1.248 MB / 0.6908 GB, free: 9.039 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.196e-05/0.1823, allocations: 7.984 kB / 0.6908 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.187e-05/0.1823, allocations: 33.64 kB / 0.6908 GB, free: 8.992 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008252/0.1832, allocations: 0.7018 MB / 0.6915 GB, free: 8.289 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.1832, allocations: 0 / 0.6915 GB, free: 8.289 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1832, allocations: 4 kB / 0.6915 GB, free: 8.285 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.1832, allocations: 0 / 0.6915 GB, free: 8.285 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.0004945/0.1837, allocations: 0.5066 MB / 0.692 GB, free: 7.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.267e-05/0.1838, allocations: 12.03 kB / 0.692 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.1838, allocations: 83.19 kB / 0.6921 GB, free: 7.637 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001324/0.184, allocations: 238.4 kB / 0.6923 GB, free: 7.363 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.717e-05/0.184, allocations: 158.5 kB / 0.6925 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.101e-05/0.1841, allocations: 150.6 kB / 0.6926 GB, free: 7.059 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.824e-05/0.1841, allocations: 112.9 kB / 0.6927 GB, free: 6.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/0.1842, allocations: 79.27 kB / 0.6928 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.753e-05/0.1842, allocations: 154.5 kB / 0.693 GB, free: 6.711 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.952e-05/0.1843, allocations: 150.6 kB / 0.6931 GB, free: 6.562 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.313e-05/0.1843, allocations: 150.6 kB / 0.6932 GB, free: 6.414 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002697/0.1846, allocations: 469.9 kB / 0.6937 GB, free: 5.906 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.971e-05/0.1847, allocations: 177.1 kB / 0.6939 GB, free: 5.723 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.792e-05/0.1847, allocations: 80.14 kB / 0.6939 GB, free: 5.641 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.1848, allocations: 75.28 kB / 0.694 GB, free: 5.566 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.991e-05/0.1848, allocations: 113.8 kB / 0.6941 GB, free: 5.445 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 7.42e-07/0.1848, allocations: 0 / 0.6941 GB, free: 5.445 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.905e-05/0.1849, allocations: 33.61 kB / 0.6941 GB, free: 5.406 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.1849, allocations: 134.6 kB / 0.6943 GB, free: 5.262 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001227/0.1851, allocations: 136.2 kB / 0.6944 GB, free: 5.121 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.146e-05/0.1851, allocations: 25.7 kB / 0.6944 GB, free: 5.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.091e-05/0.1851, allocations: 100 kB / 0.6945 GB, free: 4.988 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.844e-06/0.1852, allocations: 0 / 0.6945 GB, free: 4.988 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.997e-06/0.1852, allocations: 4 kB / 0.6945 GB, free: 4.984 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.762e-05/0.1853, allocations: 322.8 kB / 0.6948 GB, free: 4.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.131e-05/0.1853, allocations: 4 kB / 0.6948 GB, free: 4.656 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.1853, allocations: 4 kB / 0.6948 GB, free: 4.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.697e-05/0.1853, allocations: 8 kB / 0.6949 GB, free: 4.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1854, allocations: 0 / 0.6949 GB, free: 4.645 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001136/0.1855, allocations: 45.7 kB / 0.6949 GB, free: 4.594 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.1855, allocations: 7.984 kB / 0.6949 GB, free: 4.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.918e-05/0.1855, allocations: 4 kB / 0.6949 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.1855, allocations: 64 / 0.6949 GB, free: 4.582 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.002e-06/0.1855, allocations: 4 kB / 0.6949 GB, free: 4.578 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.1855, allocations: 3.953 kB / 0.6949 GB, free: 4.574 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.14e-05/0.1856, allocations: 11.84 kB / 0.6949 GB, free: 4.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-06/0.1856, allocations: 0 / 0.6949 GB, free: 4.562 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 9.005e-05/0.1857, allocations: 181.1 kB / 0.6951 GB, free: 4.375 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.662e-05/0.1857, allocations: 108.9 kB / 0.6952 GB, free: 4.262 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.294e-05/0.1858, allocations: 116.8 kB / 0.6953 GB, free: 4.137 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.781e-05/0.1859, allocations: 184.2 kB / 0.6955 GB, free: 3.949 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.252e-05/0.1859, allocations: 176.3 kB / 0.6957 GB, free: 3.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.716e-05/0.186, allocations: 184.2 kB / 0.6958 GB, free: 3.582 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002067/0.1862, allocations: 413.2 kB / 0.6962 GB, free: 3.121 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.153e-05/0.1862, allocations: 105 kB / 0.6963 GB, free: 3.012 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.957e-05/0.1863, allocations: 117 kB / 0.6964 GB, free: 2.891 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.382e-05/0.1863, allocations: 176.3 kB / 0.6966 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.064e-05/0.1864, allocations: 184.2 kB / 0.6968 GB, free: 2.523 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.703e-05/0.1865, allocations: 176.5 kB / 0.697 GB, free: 2.344 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.441e-05/0.1865, allocations: 184.2 kB / 0.6971 GB, free: 2.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.1867, allocations: 315.8 kB / 0.6974 GB, free: 1.824 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.137e-05/0.1868, allocations: 185.9 kB / 0.6976 GB, free: 1.617 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.743e-05/0.1868, allocations: 184.2 kB / 0.6978 GB, free: 1.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.038e-05/0.1869, allocations: 101 kB / 0.6979 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.518e-05/0.187, allocations: 184.2 kB / 0.6981 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.187, allocations: 105 kB / 0.6982 GB, free: 1.027 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.507e-05/0.1871, allocations: 101.6 kB / 0.6983 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1871, allocations: 3.938 kB / 0.6983 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0006395/0.1877, allocations: 291.7 kB / 0.6985 GB, free: 0.6406 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.000876/0.1886, allocations: 498.8 kB / 0.699 GB, free: 148 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.954e-05/0.1887, allocations: 41.64 kB / 0.699 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.1887, allocations: 0 / 0.699 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.773e-06/0.1887, allocations: 64 / 0.699 GB, free: 100 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004121/0.1891, allocations: 0.5346 MB / 0.6996 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002823/0.1894, allocations: 259.8 kB / 0.6998 GB, free: 15.28 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.1897, allocations: 0.6848 MB / 0.7005 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.22e-05/0.1897, allocations: 0 / 0.7005 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.084e-05/0.1897, allocations: 7.438 kB / 0.7005 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1897, allocations: 0 / 0.7005 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of Templates: time 0.008798/0.1985, allocations: 5.626 MB / 0.706 GB, free: 8.992 MB / 0.4981 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)