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.001099/0.001099, allocations: 100.1 kB / 15.88 MB, free: 12 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.001139/0.001138, allocations: 196.7 kB / 16.79 MB, free: 6.809 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.413/1.413, allocations: 222.9 MB / 240.5 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 135.1 MB / 425.7 MB, free: 11.97 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001274, allocations: 59.62 kB / 0.5054 GB, free: 5.734 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1915, allocations: 80.93 MB / 0.5844 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002904/0.1945, allocations: 1.497 MB / 0.5859 GB, free: 3.449 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.199, allocations: 2.994 MB / 0.5888 GB, free: 456 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.441e-05/0.1991, allocations: 0 / 0.5888 GB, free: 456 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.699e-05/0.1991, allocations: 4 kB / 0.5888 GB, free: 452 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.092e-05/0.1992, allocations: 15.84 kB / 0.5888 GB, free: 436 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003697/0.2029, allocations: 1.382 MB / 0.5902 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.717e-05/0.203, allocations: 39.69 kB / 0.5902 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.042e-05/0.2031, allocations: 7.984 kB / 0.5902 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.264e-05/0.2031, allocations: 15.94 kB / 0.5902 GB, free: 15 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.464e-05/0.2031, allocations: 15.94 kB / 0.5902 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.144e-05/0.2032, allocations: 0 / 0.5902 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.2054, allocations: 1.462 MB / 0.5917 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.71e-05/0.2054, allocations: 3.938 kB / 0.5917 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.2055, allocations: 23.86 kB / 0.5917 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001033/0.2065, allocations: 0.7762 MB / 0.5924 GB, free: 12.72 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2065, allocations: 3.938 kB / 0.5924 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2065, allocations: 0 / 0.5924 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.061e-05/0.2065, allocations: 0 / 0.5924 GB, free: 12.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.0006125/0.2072, allocations: 0.5185 MB / 0.593 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.2072, allocations: 8.75 kB / 0.593 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.457e-05/0.2073, allocations: 92.11 kB / 0.5931 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001648/0.2075, allocations: 247.5 kB / 0.5933 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.528e-05/0.2075, allocations: 150.9 kB / 0.5934 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.446e-05/0.2076, allocations: 154.5 kB / 0.5936 GB, free: 11.47 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.4e-05/0.2077, allocations: 112.9 kB / 0.5937 GB, free: 11.35 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.744e-05/0.2077, allocations: 75.28 kB / 0.5938 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.102e-05/0.2078, allocations: 150.6 kB / 0.5939 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.497e-05/0.2078, allocations: 150.6 kB / 0.594 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.159e-05/0.2079, allocations: 150.6 kB / 0.5942 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000291/0.2082, allocations: 465.9 kB / 0.5946 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.631e-05/0.2083, allocations: 177 kB / 0.5948 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.261e-05/0.2083, allocations: 80.14 kB / 0.5949 GB, free: 10.06 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.552e-05/0.2084, allocations: 79.27 kB / 0.595 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.443e-05/0.2084, allocations: 113.8 kB / 0.5951 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.61e-07/0.2084, allocations: 0 / 0.5951 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.089e-05/0.2085, allocations: 29.61 kB / 0.5951 GB, free: 9.828 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.894e-05/0.2086, allocations: 134.6 kB / 0.5952 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.2087, allocations: 132.3 kB / 0.5953 GB, free: 9.547 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2087, allocations: 25.7 kB / 0.5954 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.479e-05/0.2088, allocations: 96.12 kB / 0.5955 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.314e-06/0.2088, allocations: 0 / 0.5955 GB, free: 9.418 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.489e-05/0.2088, allocations: 17.72 kB / 0.5955 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.209, allocations: 322.8 kB / 0.5958 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.193e-05/0.209, allocations: 0 / 0.5958 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.295e-05/0.209, allocations: 8.031 kB / 0.5958 GB, free: 9.062 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.2091, allocations: 16.86 kB / 0.5958 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.2091, allocations: 7.875 kB / 0.5958 GB, free: 9.035 MB / 0.4981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001311/0.2092, allocations: 49.55 kB / 0.5959 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.712e-05/0.2092, allocations: 8 kB / 0.5959 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.2093, allocations: 3.984 kB / 0.5959 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.515e-05/0.2093, allocations: 12.05 kB / 0.5959 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.2093, allocations: 0 / 0.5959 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.591e-06/0.2093, allocations: 0 / 0.5959 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.388e-05/0.2093, allocations: 3.984 kB / 0.5959 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.2093, allocations: 0 / 0.5959 GB, free: 8.953 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.0001032/0.2095, allocations: 197.1 kB / 0.5961 GB, free: 8.75 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.611e-05/0.2095, allocations: 112.9 kB / 0.5962 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.223e-05/0.2096, allocations: 116.7 kB / 0.5963 GB, free: 8.508 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-05/0.2096, allocations: 180.3 kB / 0.5965 GB, free: 8.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.506e-05/0.2097, allocations: 184.3 kB / 0.5966 GB, free: 8.137 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.408e-05/0.2098, allocations: 180.2 kB / 0.5968 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002477/0.21, allocations: 413.2 kB / 0.5972 GB, free: 7.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.912e-05/0.2101, allocations: 108.9 kB / 0.5973 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.289e-05/0.2101, allocations: 105 kB / 0.5974 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.537e-05/0.2102, allocations: 180.3 kB / 0.5976 GB, free: 7.086 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.626e-05/0.2103, allocations: 180.2 kB / 0.5978 GB, free: 6.902 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.14e-05/0.2103, allocations: 180.3 kB / 0.5979 GB, free: 6.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.411e-05/0.2104, allocations: 184.2 kB / 0.5981 GB, free: 6.531 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.2105, allocations: 311.7 kB / 0.5984 GB, free: 6.203 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.449e-05/0.2106, allocations: 186 kB / 0.5986 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.636e-05/0.2107, allocations: 184.3 kB / 0.5988 GB, free: 5.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.023e-05/0.2108, allocations: 108.9 kB / 0.5989 GB, free: 5.695 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.819e-05/0.2109, allocations: 180.3 kB / 0.599 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.026e-05/0.2109, allocations: 105 kB / 0.5991 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.55e-05/0.211, allocations: 108.4 kB / 0.5992 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.211, allocations: 0 / 0.5992 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008729/0.2119, allocations: 287.8 kB / 0.5995 GB, free: 5.016 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.001146/0.213, allocations: 0.5331 MB / 0.6 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000101/0.2131, allocations: 41.7 kB / 0.6001 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2131, allocations: 0 / 0.6001 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.925e-06/0.2131, allocations: 0 / 0.6001 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.2136, allocations: 0.5301 MB / 0.6006 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.2139, allocations: 275.6 kB / 0.6009 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002425/0.2142, allocations: 0.6809 MB / 0.6015 GB, free: 2.887 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.101e-05/0.2142, allocations: 7.438 kB / 0.6015 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.2142, allocations: 4 kB / 0.6015 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of Templates: time 0.312/0.5262, allocations: 4.73 MB / 0.6061 GB, free: 50.75 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)