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/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.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.0009175/0.0009176, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006337/0.006337, allocations: 170.6 kB / 16.27 MB, free: 6.648 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.417/1.417, allocations: 223.3 MB / 240.3 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.778/0.778, allocations: 132.3 MB / 423.8 MB, free: 1.898 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003442/0.0003442, allocations: 12.59 kB / 0.5041 GB, free: 3.812 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4559/0.4562, allocations: 81.58 MB / 0.5837 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001493/0.4578, allocations: 1.156 MB / 0.5849 GB, free: 3.176 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004132/0.4619, allocations: 2.925 MB / 0.5877 GB, free: 1.184 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.779e-05/0.462, allocations: 4 kB / 0.5877 GB, free: 1.18 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.9e-05/0.462, allocations: 10.08 kB / 0.5877 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.502e-05/0.4621, allocations: 12.17 kB / 0.5877 GB, free: 1.164 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003641/0.4658, allocations: 1.373 MB / 0.5891 GB, free: 480 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.077e-05/0.4659, allocations: 48.41 kB / 0.5891 GB, free: 452 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.623e-05/0.4659, allocations: 3.094 kB / 0.5891 GB, free: 452 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.114e-05/0.466, allocations: 17.34 kB / 0.5891 GB, free: 444 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.424e-05/0.466, allocations: 17.69 kB / 0.5892 GB, free: 436 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.466, allocations: 1.312 kB / 0.5892 GB, free: 436 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003158/0.4692, allocations: 1.46 MB / 0.5906 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.078e-05/0.4692, allocations: 5.656 kB / 0.5906 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.4693, allocations: 47.23 kB / 0.5906 GB, free: 15.92 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002696/0.472, allocations: 1.107 MB / 0.5917 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.472, allocations: 3.938 kB / 0.5917 GB, free: 15.64 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.004e-06/0.472, allocations: 0 / 0.5917 GB, free: 15.64 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.472, allocations: 4 kB / 0.5917 GB, free: 15.64 MB / 446.1 MB 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.001103/0.4731, allocations: 0.508 MB / 0.5922 GB, free: 15.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.501e-05/0.4732, allocations: 9.469 kB / 0.5922 GB, free: 15.16 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.518e-05/0.4733, allocations: 83.53 kB / 0.5923 GB, free: 15.08 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.4734, allocations: 256.8 kB / 0.5926 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.191e-05/0.4735, allocations: 152.6 kB / 0.5927 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-05/0.4736, allocations: 155.7 kB / 0.5929 GB, free: 14.49 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.022e-05/0.4737, allocations: 108.9 kB / 0.593 GB, free: 14.38 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.4737, allocations: 77.64 kB / 0.593 GB, free: 14.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.455e-05/0.4738, allocations: 150.6 kB / 0.5932 GB, free: 14.16 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.173e-05/0.4738, allocations: 150.6 kB / 0.5933 GB, free: 14.01 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.284e-05/0.4739, allocations: 152 kB / 0.5935 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.4742, allocations: 465.2 kB / 0.5939 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.667e-05/0.4743, allocations: 179 kB / 0.5941 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.266e-05/0.4744, allocations: 80.89 kB / 0.5942 GB, free: 13.11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.625e-05/0.4744, allocations: 75.28 kB / 0.5942 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.58e-05/0.4745, allocations: 110.9 kB / 0.5943 GB, free: 12.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.353e-06/0.4745, allocations: 0.5938 kB / 0.5943 GB, free: 12.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.41e-05/0.4745, allocations: 33.59 kB / 0.5944 GB, free: 12.88 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.641e-05/0.4746, allocations: 130.6 kB / 0.5945 GB, free: 12.74 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001662/0.4748, allocations: 142.8 kB / 0.5946 GB, free: 12.62 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.4748, allocations: 27.02 kB / 0.5947 GB, free: 12.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.4749, allocations: 87.52 kB / 0.5947 GB, free: 12.5 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.685e-06/0.4749, allocations: 0 / 0.5947 GB, free: 12.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.097e-05/0.4749, allocations: 21.89 kB / 0.5948 GB, free: 12.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4751, allocations: 318.7 kB / 0.5951 GB, free: 12.16 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.4751, allocations: 3.141 kB / 0.5951 GB, free: 12.16 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.922e-05/0.4751, allocations: 8.312 kB / 0.5951 GB, free: 12.16 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.603e-05/0.4752, allocations: 15.41 kB / 0.5951 GB, free: 12.15 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.4752, allocations: 3.938 kB / 0.5951 GB, free: 12.14 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001376/0.4753, allocations: 47.38 kB / 0.5951 GB, free: 12.11 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4753, allocations: 9.094 kB / 0.5951 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.123e-05/0.4754, allocations: 2.531 kB / 0.5951 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4754, allocations: 5.281 kB / 0.5951 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.893e-06/0.4754, allocations: 0.5625 kB / 0.5952 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.741e-06/0.4754, allocations: 1 kB / 0.5952 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.672e-05/0.4755, allocations: 5.25 kB / 0.5952 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.768e-06/0.4755, allocations: 5.031 kB / 0.5952 GB, free: 12.09 MB / 446.1 MB 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.572e-05/0.4756, allocations: 187.4 kB / 0.5953 GB, free: 11.9 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.026e-05/0.4756, allocations: 112.1 kB / 0.5954 GB, free: 11.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.186e-05/0.4757, allocations: 120.5 kB / 0.5956 GB, free: 11.67 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.831e-05/0.4758, allocations: 178.2 kB / 0.5957 GB, free: 11.49 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.644e-05/0.4759, allocations: 177.6 kB / 0.5959 GB, free: 11.31 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-05/0.4759, allocations: 183 kB / 0.5961 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002493/0.4762, allocations: 417.2 kB / 0.5965 GB, free: 10.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.438e-05/0.4762, allocations: 110.8 kB / 0.5966 GB, free: 10.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.523e-05/0.4763, allocations: 105.7 kB / 0.5967 GB, free: 10.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.643e-05/0.4764, allocations: 178.2 kB / 0.5968 GB, free: 10.27 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.534e-05/0.4764, allocations: 182.5 kB / 0.597 GB, free: 10.09 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.438e-05/0.4765, allocations: 182.1 kB / 0.5972 GB, free: 9.902 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.986e-05/0.4766, allocations: 185.9 kB / 0.5974 GB, free: 9.715 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001493/0.4767, allocations: 310.4 kB / 0.5977 GB, free: 9.395 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.134e-05/0.4768, allocations: 189.1 kB / 0.5979 GB, free: 9.188 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.999e-05/0.4769, allocations: 179.3 kB / 0.598 GB, free: 9.008 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.573e-05/0.477, allocations: 106.1 kB / 0.5981 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.858e-05/0.4771, allocations: 178.3 kB / 0.5983 GB, free: 8.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.555e-05/0.4771, allocations: 115.1 kB / 0.5984 GB, free: 8.602 MB / 446.1 MB Notification: Performance of sorting global known variables: time 8.014e-05/0.4772, allocations: 107.4 kB / 0.5985 GB, free: 8.516 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4772, allocations: 0 / 0.5985 GB, free: 8.516 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001305/0.4785, allocations: 283.2 kB / 0.5988 GB, free: 8.453 MB / 446.1 MB 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.001839/0.4803, allocations: 0.528 MB / 0.5993 GB, free: 8.195 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.4805, allocations: 40.2 kB / 0.5993 GB, free: 8.16 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.4805, allocations: 0 / 0.5993 GB, free: 8.16 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.598e-06/0.4805, allocations: 4 kB / 0.5993 GB, free: 8.156 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.481, allocations: 0.5332 MB / 0.5999 GB, free: 7.625 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.4814, allocations: 260.6 kB / 0.6001 GB, free: 7.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/0.4816, allocations: 0.6829 MB / 0.6008 GB, free: 6.715 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.866e-05/0.4817, allocations: 4.703 kB / 0.6008 GB, free: 6.711 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.673e-05/0.4817, allocations: 9.375 kB / 0.6008 GB, free: 6.703 MB / 446.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4817, allocations: 0.8125 kB / 0.6008 GB, free: 6.703 MB / 446.1 MB Notification: Performance of Templates: time 0.01236/0.4941, allocations: 5.66 MB / 0.6063 GB, free: 4.176 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (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)