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.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/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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.006454/0.006454, allocations: 102 kB / 15.73 MB, free: 6.055 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.001509/0.001509, allocations: 191.5 kB / 16.67 MB, free: 5.965 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.338/1.338, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7752/0.7752, allocations: 135.1 MB / 425.7 MB, free: 4.098 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 59.31 kB / 0.5857 GB, free: 21.59 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1785, allocations: 80.93 MB / 0.6647 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002267/0.1808, allocations: 1.429 MB / 0.6661 GB, free: 4.316 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003948/0.1848, allocations: 2.876 MB / 0.6689 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.07e-05/0.1848, allocations: 0 / 0.6689 GB, free: 1.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.015e-05/0.1849, allocations: 3.938 kB / 0.6689 GB, free: 1.422 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.961e-05/0.1849, allocations: 19.84 kB / 0.6689 GB, free: 1.402 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003312/0.1883, allocations: 1.577 MB / 0.6705 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 7.977e-05/0.1884, allocations: 47.66 kB / 0.6705 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 3.825e-05/0.1884, allocations: 7.984 kB / 0.6705 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.57e-05/0.1884, allocations: 11.94 kB / 0.6706 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 2.655e-05/0.1885, allocations: 19.88 kB / 0.6706 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 7.904e-06/0.1885, allocations: 0 / 0.6706 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00192/0.1904, allocations: 1.533 MB / 0.6721 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 9.348e-06/0.1904, allocations: 4 kB / 0.6721 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.1905, allocations: 19.88 kB / 0.6721 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00123/0.1917, allocations: 1.094 MB / 0.6732 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.1917, allocations: 0 / 0.6732 GB, free: 13.1 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.193e-06/0.1917, allocations: 3.938 kB / 0.6732 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.522e-06/0.1917, allocations: 4 kB / 0.6732 GB, free: 13.09 MB / 0.5137 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.0005285/0.1923, allocations: 0.5069 MB / 0.6737 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.254e-05/0.1923, allocations: 8.031 kB / 0.6737 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.201e-05/0.1923, allocations: 84.12 kB / 0.6737 GB, free: 12.45 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001397/0.1925, allocations: 259.5 kB / 0.674 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.769e-05/0.1926, allocations: 154.7 kB / 0.6741 GB, free: 12 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.814e-05/0.1926, allocations: 154.6 kB / 0.6743 GB, free: 11.85 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.385e-05/0.1927, allocations: 104.9 kB / 0.6744 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.409e-05/0.1927, allocations: 79.22 kB / 0.6745 GB, free: 11.66 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.576e-05/0.1928, allocations: 158.5 kB / 0.6746 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-05/0.1928, allocations: 150.6 kB / 0.6748 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.137e-05/0.1929, allocations: 150.6 kB / 0.6749 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002831/0.1932, allocations: 465.9 kB / 0.6753 GB, free: 10.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.499e-05/0.1933, allocations: 173.1 kB / 0.6755 GB, free: 10.52 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.1933, allocations: 92.08 kB / 0.6756 GB, free: 10.43 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.586e-05/0.1933, allocations: 75.28 kB / 0.6757 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.1934, allocations: 105.8 kB / 0.6758 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 2.244e-06/0.1934, allocations: 3.984 kB / 0.6758 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 6.871e-05/0.1935, allocations: 37.59 kB / 0.6758 GB, free: 10.2 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.1935, allocations: 126.7 kB / 0.6759 GB, free: 10.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.1937, allocations: 135.5 kB / 0.6761 GB, free: 9.918 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.216e-05/0.1937, allocations: 25.7 kB / 0.6761 GB, free: 9.887 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.1937, allocations: 92.05 kB / 0.6762 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.1938, allocations: 0 / 0.6762 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.1938, allocations: 21.7 kB / 0.6762 GB, free: 9.766 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.1939, allocations: 318.8 kB / 0.6765 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.508e-05/0.1939, allocations: 4 kB / 0.6765 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.61e-05/0.194, allocations: 11.92 kB / 0.6765 GB, free: 9.43 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.552e-05/0.194, allocations: 24.83 kB / 0.6765 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.194, allocations: 0 / 0.6765 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001271/0.1941, allocations: 45.7 kB / 0.6766 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.1942, allocations: 4 kB / 0.6766 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.1942, allocations: 4 kB / 0.6766 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1942, allocations: 0 / 0.6766 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.22e-07/0.1942, allocations: 0 / 0.6766 GB, free: 9.344 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.1942, allocations: 3.984 kB / 0.6766 GB, free: 9.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.129e-05/0.1942, allocations: 3.906 kB / 0.6766 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.1942, allocations: 4 kB / 0.6766 GB, free: 9.332 MB / 0.5137 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 9.762e-05/0.1943, allocations: 202.4 kB / 0.6768 GB, free: 9.125 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.195e-05/0.1944, allocations: 105 kB / 0.6769 GB, free: 9.016 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.287e-05/0.1945, allocations: 108.6 kB / 0.677 GB, free: 8.898 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.22e-05/0.1945, allocations: 188.2 kB / 0.6772 GB, free: 8.707 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.295e-05/0.1946, allocations: 176.3 kB / 0.6773 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-05/0.1947, allocations: 188.2 kB / 0.6775 GB, free: 8.336 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.1949, allocations: 417.1 kB / 0.6779 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.789e-05/0.1949, allocations: 101 kB / 0.678 GB, free: 7.766 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.238e-05/0.195, allocations: 108.9 kB / 0.6781 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.988e-05/0.195, allocations: 176.3 kB / 0.6783 GB, free: 7.473 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.248e-05/0.1951, allocations: 192.2 kB / 0.6785 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.867e-05/0.1952, allocations: 176.3 kB / 0.6786 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-05/0.1952, allocations: 180.2 kB / 0.6788 GB, free: 6.914 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001343/0.1954, allocations: 315.6 kB / 0.6791 GB, free: 6.582 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.09e-05/0.1954, allocations: 189.9 kB / 0.6793 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.918e-05/0.1955, allocations: 184.3 kB / 0.6795 GB, free: 6.184 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.583e-05/0.1956, allocations: 113 kB / 0.6796 GB, free: 6.066 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.934e-05/0.1957, allocations: 180.2 kB / 0.6798 GB, free: 5.883 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.1957, allocations: 101 kB / 0.6799 GB, free: 5.777 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.196e-05/0.1958, allocations: 101.1 kB / 0.6799 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1958, allocations: 0 / 0.6799 GB, free: 5.68 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0006217/0.1964, allocations: 283.8 kB / 0.6802 GB, free: 5.402 MB / 0.5137 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.0009534/0.1974, allocations: 0.5315 MB / 0.6807 GB, free: 4.863 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.502e-05/0.1975, allocations: 49.62 kB / 0.6808 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.1975, allocations: 0 / 0.6808 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.1975, allocations: 4.062 kB / 0.6808 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003927/0.1979, allocations: 463.6 kB / 0.6812 GB, free: 4.348 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003043/0.1982, allocations: 236 kB / 0.6815 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002439/0.1985, allocations: 0.6885 MB / 0.6821 GB, free: 3.375 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.248e-05/0.1985, allocations: 4 kB / 0.6821 GB, free: 3.371 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.668e-06/0.1985, allocations: 7.438 kB / 0.6821 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.1985, allocations: 0 / 0.6821 GB, free: 3.363 MB / 0.5137 GB Notification: Performance of Templates: time 0.008649/0.2072, allocations: 5.597 MB / 0.6876 GB, free: 13.8 MB / 0.5294 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)