Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.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.009091/0.009091, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001527/0.001528, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.407/1.407, 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/package.mo): time 0.8225/0.8225, allocations: 132.2 MB / 422.7 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001242/0.001242, allocations: 64.64 kB / 0.5814 GB, free: 23.74 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1726/0.1738, allocations: 80.22 MB / 0.6598 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002529/0.1764, allocations: 1.417 MB / 0.6611 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004246/0.1807, allocations: 2.837 MB / 0.6639 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.942e-05/0.1808, allocations: 0 / 0.6639 GB, free: 5.98 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.608e-05/0.1808, allocations: 3.938 kB / 0.6639 GB, free: 5.977 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.754e-05/0.1809, allocations: 15.84 kB / 0.6639 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004028/0.1849, allocations: 1.562 MB / 0.6654 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001066/0.1851, allocations: 51.67 kB / 0.6655 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.1851, allocations: 3.984 kB / 0.6655 GB, free: 4.367 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.166e-05/0.1851, allocations: 15.92 kB / 0.6655 GB, free: 4.352 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.994e-05/0.1852, allocations: 15.94 kB / 0.6655 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.073e-05/0.1852, allocations: 4 kB / 0.6655 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002163/0.1874, allocations: 1.47 MB / 0.667 GB, free: 2.859 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.792e-05/0.1874, allocations: 15.86 kB / 0.667 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.634e-05/0.1875, allocations: 27.86 kB / 0.667 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.1888, allocations: 1.057 MB / 0.668 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.1888, allocations: 0 / 0.668 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.332e-06/0.1888, allocations: 0 / 0.668 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.42e-06/0.1889, allocations: 0 / 0.668 GB, free: 1.758 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.0005906/0.1894, allocations: 0.5147 MB / 0.6685 GB, free: 1.195 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.724e-05/0.1895, allocations: 8.031 kB / 0.6686 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.45e-05/0.1896, allocations: 84.12 kB / 0.6686 GB, free: 1.105 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.1897, allocations: 255.5 kB / 0.6689 GB, free: 0.8164 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.092e-05/0.1898, allocations: 154.7 kB / 0.669 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.1899, allocations: 150.6 kB / 0.6692 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.019e-05/0.1899, allocations: 112.9 kB / 0.6693 GB, free: 408 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.912e-05/0.19, allocations: 79.28 kB / 0.6694 GB, free: 328 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.294e-05/0.19, allocations: 150.6 kB / 0.6695 GB, free: 176 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.498e-05/0.1901, allocations: 150.6 kB / 0.6696 GB, free: 24 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.884e-05/0.1902, allocations: 154.6 kB / 0.6698 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003061/0.1905, allocations: 461.9 kB / 0.6702 GB, free: 15.37 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001057/0.1906, allocations: 181 kB / 0.6704 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.1906, allocations: 80.14 kB / 0.6705 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 2.632e-05/0.1907, allocations: 75.28 kB / 0.6705 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.1907, allocations: 105.8 kB / 0.6707 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=0): time 8.51e-07/0.1907, allocations: 4 kB / 0.6707 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of matching and sorting (n=0): time 7.558e-05/0.1908, allocations: 33.61 kB / 0.6707 GB, free: 14.87 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/0.1909, allocations: 134.6 kB / 0.6708 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.191, allocations: 131.7 kB / 0.6709 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.1911, allocations: 25.7 kB / 0.671 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.192e-05/0.1911, allocations: 96.03 kB / 0.6711 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-06/0.1911, allocations: 0 / 0.6711 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1912, allocations: 17.72 kB / 0.6711 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001132/0.1913, allocations: 322.8 kB / 0.6714 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.403e-05/0.1913, allocations: 8 kB / 0.6714 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.579e-05/0.1913, allocations: 4 kB / 0.6714 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.91e-05/0.1914, allocations: 12.8 kB / 0.6714 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.1914, allocations: 0 / 0.6714 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001212/0.1915, allocations: 53.62 kB / 0.6715 GB, free: 14.03 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.1915, allocations: 4 kB / 0.6715 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.1916, allocations: 4 kB / 0.6715 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.1916, allocations: 0 / 0.6715 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.1916, allocations: 64 / 0.6715 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.1916, allocations: 4 kB / 0.6715 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.215e-05/0.1916, allocations: 7.844 kB / 0.6715 GB, free: 14.01 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1916, allocations: 4 kB / 0.6715 GB, free: 14 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 8.95e-05/0.1917, allocations: 185.1 kB / 0.6717 GB, free: 13.81 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.825e-05/0.1918, allocations: 113 kB / 0.6718 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.735e-05/0.1919, allocations: 112.8 kB / 0.6719 GB, free: 13.57 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.36e-05/0.1919, allocations: 180.3 kB / 0.672 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.777e-05/0.192, allocations: 184.3 kB / 0.6722 GB, free: 13.2 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.661e-05/0.1921, allocations: 180.2 kB / 0.6724 GB, free: 13.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002391/0.1923, allocations: 421.1 kB / 0.6728 GB, free: 12.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.424e-05/0.1924, allocations: 104.9 kB / 0.6729 GB, free: 12.44 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.519e-05/0.1924, allocations: 101 kB / 0.673 GB, free: 12.34 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.467e-05/0.1925, allocations: 180.3 kB / 0.6732 GB, free: 12.15 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.508e-05/0.1926, allocations: 188.2 kB / 0.6733 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.983e-05/0.1926, allocations: 184.2 kB / 0.6735 GB, free: 11.77 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.692e-05/0.1927, allocations: 180.2 kB / 0.6737 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001383/0.1929, allocations: 311.6 kB / 0.674 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 7.868e-05/0.1929, allocations: 194 kB / 0.6742 GB, free: 11.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.702e-05/0.193, allocations: 176.3 kB / 0.6743 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.988e-05/0.1931, allocations: 104.9 kB / 0.6744 GB, free: 10.76 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.366e-05/0.1932, allocations: 184.3 kB / 0.6746 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.709e-05/0.1932, allocations: 104.9 kB / 0.6747 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.702e-05/0.1933, allocations: 109.3 kB / 0.6748 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1933, allocations: 0 / 0.6748 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0007616/0.1941, allocations: 267.8 kB / 0.6751 GB, free: 10.09 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.001039/0.1951, allocations: 0.5175 MB / 0.6756 GB, free: 9.566 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.654e-05/0.1952, allocations: 33.7 kB / 0.6756 GB, free: 9.527 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.1952, allocations: 4.062 kB / 0.6756 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 2.034e-06/0.1953, allocations: 4 kB / 0.6756 GB, free: 9.52 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004132/0.1957, allocations: 463.6 kB / 0.6761 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003378/0.196, allocations: 232 kB / 0.6763 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002541/0.1963, allocations: 0.6846 MB / 0.6769 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 1.238e-05/0.1963, allocations: 0 / 0.6769 GB, free: 8.098 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.22e-05/0.1963, allocations: 7.438 kB / 0.677 GB, free: 8.09 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/0.1963, allocations: 4 kB / 0.677 GB, free: 8.086 MB / 0.5137 GB Notification: Performance of Templates: time 0.009856/0.2062, allocations: 5.447 MB / 0.6823 GB, free: 2.691 MB / 0.5137 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1)