Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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_dev_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_dev_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.001479/0.001479, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001565/0.001565, allocations: 193.4 kB / 16.25 MB, free: 6.633 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.404/1.404, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.004/1.004, allocations: 135.1 MB / 425.2 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001344/0.001344, allocations: 63.83 kB / 0.5049 GB, free: 5.598 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1737/0.175, allocations: 80.93 MB / 0.5839 GB, free: 4.84 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00299/0.1781, allocations: 1.487 MB / 0.5854 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004779/0.1829, allocations: 2.873 MB / 0.5882 GB, free: 460 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.1829, allocations: 4 kB / 0.5882 GB, free: 456 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.161e-05/0.183, allocations: 7.922 kB / 0.5882 GB, free: 448 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.923e-05/0.1831, allocations: 7.922 kB / 0.5882 GB, free: 440 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004025/0.1871, allocations: 1.462 MB / 0.5897 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.221e-05/0.1872, allocations: 39.69 kB / 0.5897 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.184e-05/0.1873, allocations: 4.281 kB / 0.5897 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.702e-05/0.1873, allocations: 15.92 kB / 0.5897 GB, free: 14.94 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.677e-05/0.1873, allocations: 11.94 kB / 0.5897 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.438e-06/0.1873, allocations: 0 / 0.5897 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002172/0.1895, allocations: 1.459 MB / 0.5911 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.735e-05/0.1896, allocations: 7.938 kB / 0.5912 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.286e-05/0.1896, allocations: 23.88 kB / 0.5912 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001688/0.1913, allocations: 1.088 MB / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.1913, allocations: 0 / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1913, allocations: 0 / 0.5922 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.219e-06/0.1913, allocations: 0 / 0.5922 GB, free: 12.34 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.0007116/0.192, allocations: 0.5184 MB / 0.5927 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.1921, allocations: 8.75 kB / 0.5928 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.356e-05/0.1922, allocations: 88.12 kB / 0.5928 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001469/0.1923, allocations: 247.6 kB / 0.5931 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.828e-05/0.1924, allocations: 154.9 kB / 0.5932 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.162e-05/0.1924, allocations: 154.5 kB / 0.5934 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.994e-05/0.1925, allocations: 101 kB / 0.5935 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.714e-05/0.1925, allocations: 75.28 kB / 0.5935 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.767e-05/0.1926, allocations: 154.5 kB / 0.5937 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.677e-05/0.1927, allocations: 158.6 kB / 0.5938 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.173e-05/0.1927, allocations: 154.5 kB / 0.594 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.1931, allocations: 461.9 kB / 0.5944 GB, free: 9.957 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.1932, allocations: 173.1 kB / 0.5946 GB, free: 9.777 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.1932, allocations: 88.08 kB / 0.5947 GB, free: 9.688 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.617e-05/0.1932, allocations: 75.28 kB / 0.5947 GB, free: 9.613 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.282e-05/0.1933, allocations: 109.8 kB / 0.5948 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.1933, allocations: 0 / 0.5948 GB, free: 9.496 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.694e-05/0.1934, allocations: 33.61 kB / 0.5949 GB, free: 9.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.1934, allocations: 126.7 kB / 0.595 GB, free: 9.32 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001462/0.1936, allocations: 148.4 kB / 0.5951 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1936, allocations: 25.7 kB / 0.5952 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.846e-05/0.1937, allocations: 92.12 kB / 0.5953 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.974e-06/0.1937, allocations: 0 / 0.5953 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.1937, allocations: 17.72 kB / 0.5953 GB, free: 9.02 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001174/0.1938, allocations: 318.8 kB / 0.5956 GB, free: 8.699 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.753e-05/0.1939, allocations: 4 kB / 0.5956 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.905e-05/0.1939, allocations: 15.94 kB / 0.5956 GB, free: 8.68 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.697e-05/0.1939, allocations: 12.89 kB / 0.5956 GB, free: 8.664 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.608e-06/0.194, allocations: 3.938 kB / 0.5956 GB, free: 8.66 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000122/0.1941, allocations: 53.59 kB / 0.5957 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.1941, allocations: 4 kB / 0.5957 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/0.1941, allocations: 4 kB / 0.5957 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.1941, allocations: 0 / 0.5957 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.22e-07/0.1941, allocations: 0 / 0.5957 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1942, allocations: 4 kB / 0.5957 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.125e-05/0.1942, allocations: 0 / 0.5957 GB, free: 8.59 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.1942, allocations: 0 / 0.5957 GB, free: 8.59 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001208/0.1943, allocations: 205 kB / 0.5959 GB, free: 8.379 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.1944, allocations: 104.9 kB / 0.596 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.859e-05/0.1944, allocations: 108.9 kB / 0.5961 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.864e-05/0.1945, allocations: 184.2 kB / 0.5962 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.446e-05/0.1946, allocations: 184.2 kB / 0.5964 GB, free: 7.777 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.861e-05/0.1947, allocations: 188.2 kB / 0.5966 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002421/0.1949, allocations: 413.1 kB / 0.597 GB, free: 7.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.279e-05/0.195, allocations: 101 kB / 0.5971 GB, free: 7.02 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.361e-05/0.195, allocations: 108.9 kB / 0.5972 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.861e-05/0.1951, allocations: 184.2 kB / 0.5974 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.977e-05/0.1951, allocations: 180.2 kB / 0.5975 GB, free: 6.535 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.046e-05/0.1952, allocations: 180.3 kB / 0.5977 GB, free: 6.352 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.908e-05/0.1953, allocations: 180.3 kB / 0.5979 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001568/0.1954, allocations: 315.6 kB / 0.5982 GB, free: 5.836 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.227e-05/0.1955, allocations: 190 kB / 0.5984 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.208e-05/0.1956, allocations: 184.3 kB / 0.5985 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.347e-05/0.1957, allocations: 101 kB / 0.5986 GB, free: 5.332 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.294e-05/0.1958, allocations: 180.2 kB / 0.5988 GB, free: 5.148 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.656e-05/0.1958, allocations: 117 kB / 0.5989 GB, free: 5.027 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.688e-05/0.1959, allocations: 101.2 kB / 0.599 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1959, allocations: 0 / 0.599 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007936/0.1967, allocations: 279.8 kB / 0.5993 GB, free: 4.656 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 (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.001197/0.1979, allocations: 0.5292 MB / 0.5998 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 9.832e-05/0.198, allocations: 45.58 kB / 0.5998 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.198, allocations: 0 / 0.5998 GB, free: 4.07 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.268e-06/0.198, allocations: 4.328 kB / 0.5999 GB, free: 4.066 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003946/0.1984, allocations: 470.9 kB / 0.6003 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003327/0.1987, allocations: 246.1 kB / 0.6005 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.199, allocations: 0.6846 MB / 0.6012 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.478e-05/0.199, allocations: 0 / 0.6012 GB, free: 2.629 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.34e-05/0.199, allocations: 11.44 kB / 0.6012 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1991, allocations: 0 / 0.6012 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of Templates: time 0.2588/0.4579, allocations: 5.616 MB / 0.6067 GB, free: 52.15 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)