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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001315/0.001315, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001761/0.001761, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.381/1.381, allocations: 222.9 MB / 239.9 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9526/0.9526, allocations: 135.1 MB / 425.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001196/0.001197, allocations: 64 kB / 0.5049 GB, free: 5.613 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1853/0.1865, allocations: 80.94 MB / 0.584 GB, free: 4.844 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002662/0.1892, allocations: 1.47 MB / 0.5854 GB, free: 3.355 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004177/0.1934, allocations: 2.834 MB / 0.5882 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.742e-05/0.1935, allocations: 3.938 kB / 0.5882 GB, free: 0.5078 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.883e-05/0.1935, allocations: 3.984 kB / 0.5882 GB, free: 0.5039 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.75e-05/0.1936, allocations: 15.86 kB / 0.5882 GB, free: 500 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003843/0.1975, allocations: 1.424 MB / 0.5896 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.559e-05/0.1976, allocations: 43.67 kB / 0.5896 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.891e-05/0.1976, allocations: 8.266 kB / 0.5896 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.912e-05/0.1976, allocations: 11.94 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.452e-05/0.1977, allocations: 11.94 kB / 0.5896 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.36e-05/0.1977, allocations: 4 kB / 0.5896 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.1997, allocations: 1.412 MB / 0.591 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.525e-05/0.1998, allocations: 15.91 kB / 0.591 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.584e-05/0.1998, allocations: 19.88 kB / 0.5911 GB, free: 13.56 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001407/0.2012, allocations: 1.053 MB / 0.5921 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/0.2012, allocations: 7.984 kB / 0.5921 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.002e-06/0.2012, allocations: 0 / 0.5921 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.2013, allocations: 0 / 0.5921 GB, free: 12.5 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.0006277/0.2019, allocations: 0.5068 MB / 0.5926 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.2019, allocations: 8.75 kB / 0.5926 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.573e-05/0.202, allocations: 80.22 kB / 0.5927 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.2022, allocations: 255.4 kB / 0.5929 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.602e-05/0.2022, allocations: 158.9 kB / 0.5931 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.2023, allocations: 158.4 kB / 0.5932 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.973e-05/0.2024, allocations: 109 kB / 0.5933 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.617e-05/0.2024, allocations: 75.28 kB / 0.5934 GB, free: 11.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.935e-05/0.2025, allocations: 154.6 kB / 0.5935 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.291e-05/0.2025, allocations: 154.6 kB / 0.5937 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.768e-05/0.2026, allocations: 150.6 kB / 0.5938 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000296/0.2029, allocations: 461.9 kB / 0.5943 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.384e-05/0.203, allocations: 173 kB / 0.5944 GB, free: 9.934 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.48e-05/0.203, allocations: 84.14 kB / 0.5945 GB, free: 9.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.157e-05/0.2031, allocations: 75.28 kB / 0.5946 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.99e-05/0.2031, allocations: 109.8 kB / 0.5947 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.31e-07/0.2031, allocations: 0 / 0.5947 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.129e-05/0.2032, allocations: 33.62 kB / 0.5947 GB, free: 9.617 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/0.2033, allocations: 130.7 kB / 0.5949 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001415/0.2034, allocations: 139.6 kB / 0.595 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.2034, allocations: 25.7 kB / 0.595 GB, free: 9.301 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.732e-05/0.2035, allocations: 92.12 kB / 0.5951 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.244e-06/0.2035, allocations: 0 / 0.5951 GB, free: 9.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.126e-05/0.2035, allocations: 17.72 kB / 0.5951 GB, free: 9.184 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.2036, allocations: 318.8 kB / 0.5954 GB, free: 8.863 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.975e-05/0.2037, allocations: 4 kB / 0.5954 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.407e-05/0.2037, allocations: 4 kB / 0.5954 GB, free: 8.855 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.605e-05/0.2037, allocations: 16.89 kB / 0.5954 GB, free: 8.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.2037, allocations: 3.938 kB / 0.5954 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001227/0.2039, allocations: 49.53 kB / 0.5955 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2039, allocations: 8 kB / 0.5955 GB, free: 8.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.2039, allocations: 7.938 kB / 0.5955 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.045e-05/0.2039, allocations: 0 / 0.5955 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.32e-07/0.2039, allocations: 0 / 0.5955 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.539e-06/0.2039, allocations: 0 / 0.5955 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.891e-05/0.204, allocations: 4 kB / 0.5955 GB, free: 8.758 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.204, allocations: 0 / 0.5955 GB, free: 8.758 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.0001023/0.2041, allocations: 193 kB / 0.5957 GB, free: 8.559 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/0.2041, allocations: 108.9 kB / 0.5958 GB, free: 8.445 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.8e-05/0.2042, allocations: 116.8 kB / 0.5959 GB, free: 8.32 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.756e-05/0.2043, allocations: 184.3 kB / 0.5961 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.386e-05/0.2043, allocations: 180.2 kB / 0.5963 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.285e-05/0.2044, allocations: 180.3 kB / 0.5964 GB, free: 7.766 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002253/0.2046, allocations: 421.1 kB / 0.5968 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.496e-05/0.2047, allocations: 104.9 kB / 0.5969 GB, free: 7.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.83e-05/0.2047, allocations: 105 kB / 0.597 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.269e-05/0.2048, allocations: 184.2 kB / 0.5972 GB, free: 6.891 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.59e-05/0.2048, allocations: 180.2 kB / 0.5974 GB, free: 6.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.352e-05/0.2049, allocations: 184.2 kB / 0.5976 GB, free: 6.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.347e-05/0.205, allocations: 184.2 kB / 0.5977 GB, free: 6.332 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001311/0.2051, allocations: 307.7 kB / 0.598 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.747e-05/0.2052, allocations: 186 kB / 0.5982 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.716e-05/0.2053, allocations: 184.3 kB / 0.5984 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.079e-05/0.2054, allocations: 104.9 kB / 0.5985 GB, free: 5.504 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.578e-05/0.2055, allocations: 176.3 kB / 0.5986 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.262e-05/0.2055, allocations: 112.9 kB / 0.5988 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.491e-05/0.2056, allocations: 101.6 kB / 0.5989 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2056, allocations: 0 / 0.5989 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0007438/0.2063, allocations: 271.8 kB / 0.5991 GB, free: 4.844 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.0009936/0.2073, allocations: 0.5136 MB / 0.5996 GB, free: 4.32 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001027/0.2074, allocations: 41.69 kB / 0.5997 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2074, allocations: 0 / 0.5997 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.833e-06/0.2074, allocations: 0 / 0.5997 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003945/0.2078, allocations: 473.5 kB / 0.6001 GB, free: 3.812 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003192/0.2082, allocations: 248.3 kB / 0.6003 GB, free: 3.543 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002531/0.2084, allocations: 0.6923 MB / 0.601 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.303e-05/0.2085, allocations: 0 / 0.601 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.21e-05/0.2085, allocations: 7.438 kB / 0.601 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2085, allocations: 4 kB / 0.601 GB, free: 2.812 MB / 0.4981 GB Notification: Performance of Templates: time 0.2883/0.4968, allocations: 5.437 MB / 0.6063 GB, free: 51.93 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)