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.001352/0.001352, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001353/0.001353, allocations: 198 kB / 16.54 MB, free: 6.672 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.362/1.362, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9278/0.9278, allocations: 135.1 MB / 425.5 MB, free: 12.1 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001573/0.001573, allocations: 61.03 kB / 0.5054 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1788, allocations: 80.93 MB / 0.5844 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003316/0.1821, allocations: 1.423 MB / 0.5858 GB, free: 3.031 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.005091/0.1872, allocations: 2.87 MB / 0.5886 GB, free: 156 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.758e-05/0.1873, allocations: 0 / 0.5886 GB, free: 156 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.878e-05/0.1874, allocations: 7.922 kB / 0.5886 GB, free: 148 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.1875, allocations: 11.86 kB / 0.5886 GB, free: 136 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004737/0.1922, allocations: 1.571 MB / 0.5902 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 9.117e-05/0.1923, allocations: 43.69 kB / 0.5902 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.476e-05/0.1924, allocations: 8.266 kB / 0.5902 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 5.778e-05/0.1924, allocations: 15.94 kB / 0.5902 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.132e-05/0.1925, allocations: 19.81 kB / 0.5903 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.566e-05/0.1925, allocations: 7.984 kB / 0.5903 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002482/0.195, allocations: 1.451 MB / 0.5917 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.15e-05/0.195, allocations: 7.938 kB / 0.5917 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.723e-05/0.1951, allocations: 19.88 kB / 0.5917 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00214/0.1972, allocations: 1.099 MB / 0.5928 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.071e-06/0.1972, allocations: 0 / 0.5928 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.657e-06/0.1972, allocations: 0 / 0.5928 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.031e-05/0.1973, allocations: 4 kB / 0.5928 GB, free: 11.91 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.001178/0.1984, allocations: 0.5184 MB / 0.5933 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.1985, allocations: 8.031 kB / 0.5933 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002105/0.1987, allocations: 84.12 kB / 0.5934 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002758/0.199, allocations: 247.6 kB / 0.5936 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001422/0.1992, allocations: 154.9 kB / 0.5938 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.355e-05/0.1992, allocations: 158.5 kB / 0.5939 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001055/0.1994, allocations: 109 kB / 0.594 GB, free: 10.55 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.894e-05/0.1994, allocations: 79.22 kB / 0.5941 GB, free: 10.47 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.056e-05/0.1995, allocations: 150.6 kB / 0.5942 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.658e-05/0.1996, allocations: 150.6 kB / 0.5944 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.355e-05/0.1997, allocations: 154.6 kB / 0.5945 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004228/0.2001, allocations: 465.9 kB / 0.595 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.2002, allocations: 169.1 kB / 0.5951 GB, free: 9.34 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.863e-05/0.2003, allocations: 96.02 kB / 0.5952 GB, free: 9.242 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.643e-05/0.2003, allocations: 75.28 kB / 0.5953 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.395e-05/0.2004, allocations: 113.9 kB / 0.5954 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 1.172e-06/0.2004, allocations: 0 / 0.5954 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 0.0001086/0.2006, allocations: 33.61 kB / 0.5954 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.726e-05/0.2007, allocations: 130.7 kB / 0.5956 GB, free: 8.867 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001931/0.2009, allocations: 133.8 kB / 0.5957 GB, free: 8.727 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.215e-05/0.2009, allocations: 25.7 kB / 0.5957 GB, free: 8.695 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 8.66e-05/0.201, allocations: 92.12 kB / 0.5958 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.927e-06/0.201, allocations: 4 kB / 0.5958 GB, free: 8.598 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.299e-05/0.2011, allocations: 21.7 kB / 0.5958 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001796/0.2013, allocations: 318.8 kB / 0.5961 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.2013, allocations: 3.938 kB / 0.5961 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.882e-05/0.2013, allocations: 4 kB / 0.5961 GB, free: 8.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.328e-05/0.2014, allocations: 20.84 kB / 0.5962 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.228e-06/0.2014, allocations: 3.938 kB / 0.5962 GB, free: 8.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001946/0.2016, allocations: 49.61 kB / 0.5962 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.744e-05/0.2016, allocations: 5.719 kB / 0.5962 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.951e-05/0.2017, allocations: 8.062 kB / 0.5962 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.962e-05/0.2017, allocations: 0 / 0.5962 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.2017, allocations: 3.938 kB / 0.5962 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.97e-06/0.2017, allocations: 0 / 0.5962 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.824e-05/0.2018, allocations: 0 / 0.5962 GB, free: 8.145 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.363e-05/0.2018, allocations: 4 kB / 0.5962 GB, free: 8.141 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.0002645/0.202, allocations: 196.3 kB / 0.5964 GB, free: 7.941 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.2022, allocations: 112.9 kB / 0.5965 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001583/0.2023, allocations: 108.9 kB / 0.5966 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.752e-05/0.2024, allocations: 180.2 kB / 0.5968 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0002258/0.2026, allocations: 184.2 kB / 0.597 GB, free: 7.336 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002393/0.2029, allocations: 180.2 kB / 0.5972 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005779/0.2035, allocations: 417.2 kB / 0.5975 GB, free: 6.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.892e-05/0.2035, allocations: 105 kB / 0.5976 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001686/0.2037, allocations: 104.9 kB / 0.5977 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.99e-05/0.2038, allocations: 180.3 kB / 0.5979 GB, free: 6.285 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002163/0.204, allocations: 188.2 kB / 0.5981 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.337e-05/0.2041, allocations: 180.3 kB / 0.5983 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001046/0.2042, allocations: 180.2 kB / 0.5984 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001962/0.2044, allocations: 323.6 kB / 0.5988 GB, free: 5.387 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001068/0.2045, allocations: 186 kB / 0.5989 GB, free: 5.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/0.2047, allocations: 176.3 kB / 0.5991 GB, free: 5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.266e-05/0.2048, allocations: 101 kB / 0.5992 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.669e-05/0.2048, allocations: 192.2 kB / 0.5994 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.2049, allocations: 105 kB / 0.5995 GB, free: 4.59 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.499e-05/0.205, allocations: 103.2 kB / 0.5996 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.205, allocations: 0 / 0.5996 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001036/0.206, allocations: 283.8 kB / 0.5998 GB, free: 4.211 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.001463/0.2075, allocations: 0.5304 MB / 0.6004 GB, free: 3.676 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.2077, allocations: 49.62 kB / 0.6004 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.2077, allocations: 0 / 0.6004 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.036e-06/0.2077, allocations: 0 / 0.6004 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005825/0.2083, allocations: 473.7 kB / 0.6009 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000432/0.2087, allocations: 230.1 kB / 0.6011 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003375/0.2091, allocations: 0.6846 MB / 0.6018 GB, free: 2.195 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.153e-05/0.2091, allocations: 8 kB / 0.6018 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.802e-05/0.2091, allocations: 7.438 kB / 0.6018 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of SimCode: time 1.202e-06/0.2091, allocations: 0 / 0.6018 GB, free: 2.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.2787/0.4879, allocations: 5.626 MB / 0.6073 GB, free: 51.67 MB / 0.4981 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)