Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_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.0007965/0.0007968, allocations: 97.95 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.00482/0.00482, allocations: 168.8 kB / 16.26 MB, free: 6.652 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.368/1.368, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7626/0.7626, allocations: 132.4 MB / 423.8 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003564/0.0003566, allocations: 14.19 kB / 0.5041 GB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4766/0.4769, allocations: 81.58 MB / 0.5837 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.001531/0.4785, allocations: 1.158 MB / 0.5849 GB, free: 3.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004518/0.4831, allocations: 2.927 MB / 0.5877 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.678e-05/0.4831, allocations: 0 / 0.5877 GB, free: 1.203 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.283e-05/0.4832, allocations: 5.297 kB / 0.5877 GB, free: 1.199 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 8.561e-05/0.4833, allocations: 16.52 kB / 0.5877 GB, free: 1.188 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004901/0.4882, allocations: 1.378 MB / 0.5891 GB, free: 0.4922 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001164/0.4883, allocations: 48.7 kB / 0.5891 GB, free: 476 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.671e-05/0.4884, allocations: 7.047 kB / 0.5891 GB, free: 472 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.024e-05/0.4884, allocations: 12.06 kB / 0.5892 GB, free: 468 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.36e-05/0.4884, allocations: 18.39 kB / 0.5892 GB, free: 460 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.341e-05/0.4885, allocations: 1.219 kB / 0.5892 GB, free: 460 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003732/0.4922, allocations: 1.457 MB / 0.5906 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 2.988e-05/0.4923, allocations: 9.266 kB / 0.5906 GB, free: 15.99 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 9.399e-05/0.4924, allocations: 46.86 kB / 0.5906 GB, free: 15.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00321/0.4956, allocations: 1.106 MB / 0.5917 GB, free: 15.67 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.4956, allocations: 4.656 kB / 0.5917 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.295e-06/0.4956, allocations: 0 / 0.5917 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.441e-06/0.4956, allocations: 0.5 kB / 0.5917 GB, free: 15.66 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.00143/0.4971, allocations: 0.5114 MB / 0.5922 GB, free: 15.18 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.846e-05/0.4971, allocations: 13.41 kB / 0.5922 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.358e-05/0.4973, allocations: 83.69 kB / 0.5923 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002018/0.4975, allocations: 253 kB / 0.5926 GB, free: 14.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.627e-05/0.4975, allocations: 156 kB / 0.5927 GB, free: 14.66 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.656e-05/0.4976, allocations: 156.1 kB / 0.5929 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.195e-05/0.4977, allocations: 104.9 kB / 0.593 GB, free: 14.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.946e-05/0.4977, allocations: 76.16 kB / 0.593 GB, free: 14.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.766e-05/0.4978, allocations: 151.2 kB / 0.5932 GB, free: 14.18 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.794e-05/0.4979, allocations: 151.8 kB / 0.5933 GB, free: 14.03 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.994e-05/0.498, allocations: 154.6 kB / 0.5935 GB, free: 13.88 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003729/0.4983, allocations: 462.3 kB / 0.5939 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.4984, allocations: 178.1 kB / 0.5941 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.525e-05/0.4985, allocations: 81.23 kB / 0.5942 GB, free: 13.13 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.103e-05/0.4985, allocations: 79.84 kB / 0.5942 GB, free: 13.05 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.733e-05/0.4986, allocations: 107.8 kB / 0.5943 GB, free: 12.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.703e-06/0.4986, allocations: 0 / 0.5943 GB, free: 12.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 0.0001048/0.4987, allocations: 32.89 kB / 0.5944 GB, free: 12.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.421e-05/0.4988, allocations: 128.1 kB / 0.5945 GB, free: 12.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000195/0.499, allocations: 138.8 kB / 0.5946 GB, free: 12.65 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.499, allocations: 30.39 kB / 0.5947 GB, free: 12.61 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.435e-05/0.4991, allocations: 96.86 kB / 0.5947 GB, free: 12.52 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.4991, allocations: 0 / 0.5947 GB, free: 12.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.787e-05/0.4991, allocations: 13.56 kB / 0.5948 GB, free: 12.5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001315/0.4993, allocations: 319.3 kB / 0.5951 GB, free: 12.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.028e-05/0.4993, allocations: 2.75 kB / 0.5951 GB, free: 12.19 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.4993, allocations: 4.641 kB / 0.5951 GB, free: 12.19 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.169e-05/0.4994, allocations: 15.58 kB / 0.5951 GB, free: 12.18 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.4994, allocations: 3.938 kB / 0.5951 GB, free: 12.17 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00016/0.4996, allocations: 45.69 kB / 0.5951 GB, free: 12.14 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.065e-05/0.4996, allocations: 12.03 kB / 0.5951 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.182e-05/0.4996, allocations: 3.594 kB / 0.5951 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.4997, allocations: 3.938 kB / 0.5952 GB, free: 12.13 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.368e-06/0.4997, allocations: 4.812 kB / 0.5952 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.4997, allocations: 1.312 kB / 0.5952 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.705e-05/0.4997, allocations: 4.844 kB / 0.5952 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.4998, allocations: 1.188 kB / 0.5952 GB, free: 12.12 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 0.0001237/0.4999, allocations: 192.8 kB / 0.5953 GB, free: 11.93 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.005e-05/0.5, allocations: 113 kB / 0.5955 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.055e-05/0.5, allocations: 111.5 kB / 0.5956 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.305e-05/0.5001, allocations: 178.3 kB / 0.5957 GB, free: 11.52 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.843e-05/0.5002, allocations: 186.1 kB / 0.5959 GB, free: 11.33 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.76e-05/0.5003, allocations: 186 kB / 0.5961 GB, free: 11.14 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000303/0.5006, allocations: 420.3 kB / 0.5965 GB, free: 10.69 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.343e-05/0.5007, allocations: 106.5 kB / 0.5966 GB, free: 10.58 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.767e-05/0.5007, allocations: 102.5 kB / 0.5967 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.561e-05/0.5008, allocations: 182.2 kB / 0.5969 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.362e-05/0.5009, allocations: 182 kB / 0.597 GB, free: 10.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.78e-05/0.5009, allocations: 178.4 kB / 0.5972 GB, free: 9.926 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.605e-05/0.501, allocations: 186.4 kB / 0.5974 GB, free: 9.738 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001404/0.5011, allocations: 306.4 kB / 0.5977 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001075/0.5013, allocations: 193.2 kB / 0.5979 GB, free: 9.211 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.069e-05/0.5013, allocations: 178.4 kB / 0.598 GB, free: 9.031 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.725e-05/0.5014, allocations: 106.6 kB / 0.5981 GB, free: 8.922 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.642e-05/0.5015, allocations: 181.9 kB / 0.5983 GB, free: 8.738 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.755e-05/0.5015, allocations: 102.8 kB / 0.5984 GB, free: 8.633 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.776e-05/0.5016, allocations: 105.9 kB / 0.5985 GB, free: 8.547 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.395e-06/0.5016, allocations: 0 / 0.5985 GB, free: 8.547 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001435/0.5031, allocations: 288.4 kB / 0.5988 GB, free: 8.48 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.002161/0.5052, allocations: 0.5267 MB / 0.5993 GB, free: 8.219 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001349/0.5054, allocations: 39.66 kB / 0.5993 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.5054, allocations: 0 / 0.5993 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.017e-06/0.5054, allocations: 0.9688 kB / 0.5993 GB, free: 8.184 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004795/0.5059, allocations: 0.5359 MB / 0.5999 GB, free: 7.648 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003701/0.5063, allocations: 261.9 kB / 0.6001 GB, free: 7.434 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004067/0.5067, allocations: 0.6873 MB / 0.6008 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.935e-05/0.5067, allocations: 0.8438 kB / 0.6008 GB, free: 6.734 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.5067, allocations: 10.16 kB / 0.6008 GB, free: 6.727 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5067, allocations: 0 / 0.6008 GB, free: 6.727 MB / 446.1 MB Notification: Performance of Templates: time 0.01349/0.5202, allocations: 5.666 MB / 0.6063 GB, free: 4.207 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)