Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-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(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008291/0.000829, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.0008901/0.0008902, allocations: 177.3 kB / 15.94 MB, free: 228 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.216/1.216, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8723/0.8723, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000295/0.0002952, allocations: 8 kB / 0.5069 GB, free: 5.219 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1739/0.1742, allocations: 82.32 MB / 0.5873 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001633/0.1759, allocations: 1.111 MB / 0.5883 GB, free: 1.953 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00402/0.1799, allocations: 2.558 MB / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.652e-05/0.18, allocations: 0 / 0.5908 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.18, allocations: 3.984 kB / 0.5908 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.996e-05/0.1801, allocations: 19.97 kB / 0.5909 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003245/0.1834, allocations: 1.232 MB / 0.5921 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.929e-05/0.1835, allocations: 31.89 kB / 0.5921 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.942e-05/0.1835, allocations: 4 kB / 0.5921 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.118e-05/0.1836, allocations: 19.92 kB / 0.5921 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.849e-05/0.1836, allocations: 11.94 kB / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1836, allocations: 0 / 0.5921 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001591/0.1852, allocations: 1.194 MB / 0.5933 GB, free: 12.9 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.467e-05/0.1852, allocations: 15.91 kB / 0.5933 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.12e-05/0.1853, allocations: 29.7 kB / 0.5933 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0008097/0.1861, allocations: 0.7137 MB / 0.594 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1861, allocations: 0 / 0.594 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.573e-06/0.1861, allocations: 0 / 0.594 GB, free: 12.13 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.318e-06/0.1861, allocations: 4 kB / 0.594 GB, free: 12.13 MB / 0.4981 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.0004852/0.1866, allocations: 0.5067 MB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.1866, allocations: 8.75 kB / 0.5945 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.954e-05/0.1867, allocations: 83.19 kB / 0.5946 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.1868, allocations: 256.6 kB / 0.5949 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.1869, allocations: 154.6 kB / 0.595 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.647e-05/0.187, allocations: 158.5 kB / 0.5952 GB, free: 10.89 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.004e-05/0.187, allocations: 105 kB / 0.5953 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.952e-05/0.1871, allocations: 75.28 kB / 0.5953 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.363e-05/0.1871, allocations: 150.6 kB / 0.5955 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.407e-05/0.1872, allocations: 158.5 kB / 0.5956 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.506e-05/0.1872, allocations: 150.6 kB / 0.5958 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002836/0.1875, allocations: 469.9 kB / 0.5962 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.148e-05/0.1876, allocations: 169.1 kB / 0.5964 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.619e-05/0.1876, allocations: 75.28 kB / 0.5965 GB, free: 9.492 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.665e-05/0.1877, allocations: 109.8 kB / 0.5966 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.1877, allocations: 4 kB / 0.5966 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.14e-05/0.1877, allocations: 29.61 kB / 0.5966 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.156e-05/0.1878, allocations: 134.6 kB / 0.5967 GB, free: 9.191 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.1879, allocations: 130 kB / 0.5968 GB, free: 9.055 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.132e-05/0.1879, allocations: 25.7 kB / 0.5969 GB, free: 9.023 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.025e-05/0.188, allocations: 96.12 kB / 0.597 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.188, allocations: 3.938 kB / 0.597 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.745e-06/0.188, allocations: 0 / 0.597 GB, free: 8.922 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001009/0.1881, allocations: 318.8 kB / 0.5973 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.052e-05/0.1881, allocations: 8 kB / 0.5973 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.053e-05/0.1882, allocations: 7.984 kB / 0.5973 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.415e-05/0.1882, allocations: 8 kB / 0.5973 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.1882, allocations: 0 / 0.5973 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001144/0.1883, allocations: 49.61 kB / 0.5973 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.1883, allocations: 4 kB / 0.5973 GB, free: 8.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.827e-05/0.1884, allocations: 4 kB / 0.5974 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.1884, allocations: 0 / 0.5974 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.1884, allocations: 0 / 0.5974 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.521e-06/0.1884, allocations: 4.062 kB / 0.5974 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.1884, allocations: 11.94 kB / 0.5974 GB, free: 8.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.737e-06/0.1884, allocations: 7.984 kB / 0.5974 GB, free: 8.492 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.159e-05/0.1885, allocations: 185.1 kB / 0.5975 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.051e-05/0.1886, allocations: 108.9 kB / 0.5977 GB, free: 8.188 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.888e-05/0.1886, allocations: 116.8 kB / 0.5978 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.447e-05/0.1887, allocations: 184.2 kB / 0.5979 GB, free: 7.875 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.868e-05/0.1888, allocations: 184.2 kB / 0.5981 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.679e-05/0.1888, allocations: 180.2 kB / 0.5983 GB, free: 7.504 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.189, allocations: 417.2 kB / 0.5987 GB, free: 7.039 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.6e-05/0.1891, allocations: 101 kB / 0.5988 GB, free: 6.934 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.782e-05/0.1891, allocations: 108.9 kB / 0.5989 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.05e-05/0.1892, allocations: 180.3 kB / 0.5991 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.648e-05/0.1892, allocations: 188.2 kB / 0.5992 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.848e-05/0.1893, allocations: 176.3 kB / 0.5994 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.33e-05/0.1894, allocations: 180.3 kB / 0.5996 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001218/0.1895, allocations: 315.9 kB / 0.5999 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.169e-05/0.1896, allocations: 190 kB / 0.6001 GB, free: 5.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.751e-05/0.1896, allocations: 180.3 kB / 0.6002 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.857e-05/0.1897, allocations: 101 kB / 0.6003 GB, free: 5.25 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.331e-05/0.1898, allocations: 188.2 kB / 0.6005 GB, free: 5.059 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.289e-05/0.1898, allocations: 101 kB / 0.6006 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.315e-05/0.1899, allocations: 105.8 kB / 0.6007 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.252e-06/0.1899, allocations: 0 / 0.6007 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0005832/0.1905, allocations: 283.7 kB / 0.601 GB, free: 4.574 MB / 0.4981 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 (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.0008155/0.1913, allocations: 494.1 kB / 0.6014 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.1914, allocations: 45.64 kB / 0.6015 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.1914, allocations: 0 / 0.6015 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.1914, allocations: 0 / 0.6015 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.1917, allocations: 0.5302 MB / 0.602 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002763/0.192, allocations: 263.7 kB / 0.6023 GB, free: 3.215 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002194/0.1922, allocations: 0.6887 MB / 0.6029 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.337e-05/0.1923, allocations: 0 / 0.6029 GB, free: 2.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.927e-06/0.1923, allocations: 7.438 kB / 0.6029 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1923, allocations: 0 / 0.6029 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of Templates: time 0.2508/0.4431, allocations: 5.585 MB / 0.6084 GB, free: 48.41 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: