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.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-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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_dev_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.0009911/0.0009911, allocations: 92.23 kB / 16.02 MB, free: 80 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.001224/0.001224, allocations: 185.2 kB / 16.92 MB, free: 6.922 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.964/0.964, allocations: 135.3 MB / 427.4 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003291/0.0003292, allocations: 8 kB / 0.5083 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1826/0.183, allocations: 82.3 MB / 0.5887 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001696/0.1847, allocations: 1.156 MB / 0.5898 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004866/0.1896, allocations: 2.936 MB / 0.5927 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/0.1897, allocations: 0 / 0.5927 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.789e-05/0.1897, allocations: 3.938 kB / 0.5927 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 7.907e-05/0.1898, allocations: 15.92 kB / 0.5927 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005153/0.195, allocations: 1.361 MB / 0.594 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001285/0.1951, allocations: 47.67 kB / 0.5941 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.433e-05/0.1952, allocations: 0 / 0.5941 GB, free: 13.06 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.439e-05/0.1952, allocations: 15.94 kB / 0.5941 GB, free: 13.04 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.037e-05/0.1953, allocations: 15.92 kB / 0.5941 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.44e-05/0.1953, allocations: 0 / 0.5941 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003712/0.199, allocations: 1.466 MB / 0.5955 GB, free: 11.56 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.486e-05/0.1991, allocations: 7.938 kB / 0.5955 GB, free: 11.55 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 7.154e-05/0.1992, allocations: 45.52 kB / 0.5956 GB, free: 11.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001972/0.2011, allocations: 0.7722 MB / 0.5963 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.442e-05/0.2012, allocations: 7.984 kB / 0.5963 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.168e-06/0.2012, allocations: 3.938 kB / 0.5963 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.2012, allocations: 0 / 0.5963 GB, free: 10.71 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.001171/0.2024, allocations: 0.5069 MB / 0.5968 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.18e-05/0.2024, allocations: 16.75 kB / 0.5968 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.867e-05/0.2025, allocations: 80.12 kB / 0.5969 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002288/0.2028, allocations: 251.5 kB / 0.5972 GB, free: 9.781 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.481e-05/0.2029, allocations: 150.9 kB / 0.5973 GB, free: 9.633 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.25e-05/0.203, allocations: 158.5 kB / 0.5975 GB, free: 9.477 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.882e-05/0.2031, allocations: 101 kB / 0.5976 GB, free: 9.371 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/0.2031, allocations: 79.28 kB / 0.5976 GB, free: 9.293 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.782e-05/0.2032, allocations: 150.6 kB / 0.5978 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.937e-05/0.2033, allocations: 154.6 kB / 0.5979 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.2034, allocations: 154.5 kB / 0.5981 GB, free: 8.84 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004167/0.2038, allocations: 461.9 kB / 0.5985 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001015/0.2039, allocations: 177.1 kB / 0.5987 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.918e-05/0.204, allocations: 80.14 kB / 0.5988 GB, free: 8.074 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.327e-05/0.204, allocations: 75.28 kB / 0.5988 GB, free: 8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.557e-05/0.2041, allocations: 109.8 kB / 0.5989 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 2.945e-06/0.2041, allocations: 3.984 kB / 0.5989 GB, free: 7.879 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.639e-05/0.2042, allocations: 41.59 kB / 0.599 GB, free: 7.832 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.2042, allocations: 130.7 kB / 0.5991 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001505/0.2044, allocations: 127.7 kB / 0.5992 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.627e-05/0.2044, allocations: 25.7 kB / 0.5992 GB, free: 7.527 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.271e-05/0.2045, allocations: 96.05 kB / 0.5993 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.2045, allocations: 0 / 0.5993 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.905e-05/0.2045, allocations: 17.7 kB / 0.5994 GB, free: 7.406 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2046, allocations: 314.8 kB / 0.5997 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.2047, allocations: 8 kB / 0.5997 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.861e-05/0.2047, allocations: 8 kB / 0.5997 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.123e-05/0.2047, allocations: 16.84 kB / 0.5997 GB, free: 7.055 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.2047, allocations: 3.938 kB / 0.5997 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001414/0.2049, allocations: 53.7 kB / 0.5997 GB, free: 6.992 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.2049, allocations: 4 kB / 0.5997 GB, free: 6.988 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.607e-05/0.2049, allocations: 4 kB / 0.5997 GB, free: 6.984 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.205, allocations: 3.938 kB / 0.5998 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.21e-07/0.205, allocations: 0 / 0.5998 GB, free: 6.98 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.99e-06/0.205, allocations: 4.062 kB / 0.5998 GB, free: 6.977 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.915e-05/0.205, allocations: 11.84 kB / 0.5998 GB, free: 6.965 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.205, allocations: 0 / 0.5998 GB, free: 6.965 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.0001098/0.2051, allocations: 193 kB / 0.6 GB, free: 6.766 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.2052, allocations: 113 kB / 0.6001 GB, free: 6.648 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.927e-05/0.2053, allocations: 112.9 kB / 0.6002 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.215e-05/0.2053, allocations: 180.3 kB / 0.6003 GB, free: 6.344 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.969e-05/0.2054, allocations: 188.2 kB / 0.6005 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.615e-05/0.2055, allocations: 176.3 kB / 0.6007 GB, free: 5.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002377/0.2057, allocations: 417.1 kB / 0.6011 GB, free: 5.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.692e-05/0.2058, allocations: 101 kB / 0.6012 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.709e-05/0.2058, allocations: 112.9 kB / 0.6013 GB, free: 5.285 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.882e-05/0.2059, allocations: 184.2 kB / 0.6015 GB, free: 5.098 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.71e-05/0.206, allocations: 176.3 kB / 0.6016 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.9e-05/0.206, allocations: 180.2 kB / 0.6018 GB, free: 4.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.09e-05/0.2061, allocations: 180.3 kB / 0.602 GB, free: 4.551 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001475/0.2062, allocations: 319.6 kB / 0.6023 GB, free: 4.215 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.773e-05/0.2063, allocations: 182 kB / 0.6025 GB, free: 4.012 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.161e-05/0.2064, allocations: 184.2 kB / 0.6026 GB, free: 3.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.721e-05/0.2065, allocations: 105 kB / 0.6027 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.513e-05/0.2066, allocations: 188.2 kB / 0.6029 GB, free: 3.523 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.2066, allocations: 101 kB / 0.603 GB, free: 3.418 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.26e-05/0.2067, allocations: 105.8 kB / 0.6031 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.2067, allocations: 0 / 0.6031 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009104/0.2076, allocations: 287.8 kB / 0.6034 GB, free: 3.035 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.001067/0.2087, allocations: 0.5237 MB / 0.6039 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001029/0.2088, allocations: 45.69 kB / 0.6039 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.2088, allocations: 0 / 0.6039 GB, free: 2.457 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.516e-06/0.2088, allocations: 3.938 kB / 0.6039 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004283/0.2092, allocations: 0.5365 MB / 0.6045 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.2096, allocations: 289.5 kB / 0.6047 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.2098, allocations: 0.6809 MB / 0.6054 GB, free: 0.8984 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.2e-05/0.2098, allocations: 19.31 kB / 0.6054 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.2098, allocations: 0 / 0.6054 GB, free: 0.8789 MB / 0.4981 GB Notification: Performance of Templates: time 0.2813/0.4912, allocations: 4.721 MB / 0.61 GB, free: 48.23 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)