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.001228/0.001228, allocations: 104.5 kB / 16.35 MB, free: 5.875 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.001266/0.001266, allocations: 191 kB / 17.29 MB, free: 5.516 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.23/1.23, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7416/0.7416, allocations: 135.1 MB / 426.3 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001229/0.001229, allocations: 67.89 kB / 0.5068 GB, free: 7.605 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2974/0.2986, allocations: 80.9 MB / 0.5858 GB, free: 25.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002143/0.3008, allocations: 1.435 MB / 0.5872 GB, free: 24.56 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003022/0.3038, allocations: 2.876 MB / 0.59 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.781e-05/0.3039, allocations: 0 / 0.59 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.3039, allocations: 0 / 0.59 GB, free: 22.2 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 4.795e-05/0.304, allocations: 24.94 kB / 0.5901 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002589/0.3066, allocations: 1.569 MB / 0.5916 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 7.254e-05/0.3067, allocations: 44.77 kB / 0.5916 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.248e-05/0.3067, allocations: 4 kB / 0.5916 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.069e-05/0.3067, allocations: 19.92 kB / 0.5917 GB, free: 20.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.146e-05/0.3067, allocations: 16.52 kB / 0.5917 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.876e-06/0.3068, allocations: 0 / 0.5917 GB, free: 20.55 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.3082, allocations: 1.526 MB / 0.5932 GB, free: 19.03 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.378e-06/0.3082, allocations: 9.281 kB / 0.5932 GB, free: 19.02 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.3082, allocations: 23.86 kB / 0.5932 GB, free: 19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009218/0.3092, allocations: 1.089 MB / 0.5943 GB, free: 17.91 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.256e-06/0.3092, allocations: 0 / 0.5943 GB, free: 17.91 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3092, allocations: 3.5 kB / 0.5943 GB, free: 17.91 MB / 446.1 MB Notification: Performance of Transformations before backend: time 3.516e-06/0.3092, allocations: 0 / 0.5943 GB, free: 17.91 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.0003729/0.3096, allocations: 0.5223 MB / 0.5948 GB, free: 17.34 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.835e-05/0.3096, allocations: 8.031 kB / 0.5948 GB, free: 17.33 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.549e-05/0.3096, allocations: 84.12 kB / 0.5949 GB, free: 17.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.639e-05/0.3097, allocations: 255.5 kB / 0.5951 GB, free: 16.96 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.291e-05/0.3097, allocations: 155.5 kB / 0.5952 GB, free: 16.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.486e-05/0.3098, allocations: 155.1 kB / 0.5954 GB, free: 16.66 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.331e-05/0.3098, allocations: 105.5 kB / 0.5955 GB, free: 16.55 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.057e-05/0.3098, allocations: 77.44 kB / 0.5956 GB, free: 16.47 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.3099, allocations: 150.6 kB / 0.5957 GB, free: 16.32 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.3099, allocations: 150.6 kB / 0.5959 GB, free: 16.18 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.821e-05/0.3099, allocations: 151.5 kB / 0.596 GB, free: 16.03 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.3101, allocations: 464.1 kB / 0.5964 GB, free: 15.53 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.822e-05/0.3101, allocations: 177 kB / 0.5966 GB, free: 15.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.371e-05/0.3101, allocations: 85.67 kB / 0.5967 GB, free: 15.26 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.132e-05/0.3101, allocations: 75.28 kB / 0.5968 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.76e-05/0.3102, allocations: 107.6 kB / 0.5969 GB, free: 15.07 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.503e-06/0.3102, allocations: 3.938 kB / 0.5969 GB, free: 15.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.962e-05/0.3102, allocations: 45.47 kB / 0.5969 GB, free: 15.02 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.327e-05/0.3103, allocations: 127.9 kB / 0.597 GB, free: 14.88 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.976e-05/0.3104, allocations: 132.2 kB / 0.5972 GB, free: 14.74 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.3e-06/0.3104, allocations: 26.52 kB / 0.5972 GB, free: 14.71 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.702e-05/0.3104, allocations: 93.36 kB / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.693e-06/0.3104, allocations: 0 / 0.5973 GB, free: 14.62 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.3104, allocations: 17.7 kB / 0.5973 GB, free: 14.59 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.689e-05/0.3105, allocations: 319.6 kB / 0.5976 GB, free: 14.27 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.857e-05/0.3105, allocations: 1.062 kB / 0.5976 GB, free: 14.27 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.265e-05/0.3105, allocations: 8 kB / 0.5976 GB, free: 14.27 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.135e-05/0.3106, allocations: 22.34 kB / 0.5976 GB, free: 14.24 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3106, allocations: 3.938 kB / 0.5976 GB, free: 14.24 MB / 446.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001051/0.3107, allocations: 53.55 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.01e-05/0.3107, allocations: 4 kB / 0.5977 GB, free: 14.18 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/0.3107, allocations: 6.531 kB / 0.5977 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/0.3107, allocations: 0 / 0.5977 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.81e-07/0.3107, allocations: 0 / 0.5977 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.3107, allocations: 0 / 0.5977 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.907e-05/0.3108, allocations: 3.938 kB / 0.5977 GB, free: 14.17 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.3108, allocations: 8 kB / 0.5977 GB, free: 14.16 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 4.552e-05/0.3108, allocations: 190 kB / 0.5979 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.468e-05/0.3109, allocations: 110.2 kB / 0.598 GB, free: 13.85 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.1e-05/0.3109, allocations: 112.6 kB / 0.5981 GB, free: 13.74 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-05/0.3109, allocations: 178.7 kB / 0.5983 GB, free: 13.56 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.264e-05/0.3109, allocations: 196.2 kB / 0.5985 GB, free: 13.36 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.962e-05/0.311, allocations: 180.3 kB / 0.5986 GB, free: 13.18 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.3111, allocations: 413.8 kB / 0.599 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.3111, allocations: 106.2 kB / 0.5991 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.3111, allocations: 101 kB / 0.5992 GB, free: 12.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.189e-05/0.3111, allocations: 188.7 kB / 0.5994 GB, free: 12.31 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.296e-05/0.3112, allocations: 181.9 kB / 0.5996 GB, free: 12.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-05/0.3112, allocations: 176.3 kB / 0.5997 GB, free: 11.95 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-05/0.3112, allocations: 181.9 kB / 0.5999 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.942e-05/0.3113, allocations: 320.6 kB / 0.6002 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.3113, allocations: 185.4 kB / 0.6004 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.148e-05/0.3114, allocations: 176.3 kB / 0.6006 GB, free: 11.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.494e-05/0.3114, allocations: 112.9 kB / 0.6007 GB, free: 10.93 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.375e-05/0.3114, allocations: 180.2 kB / 0.6008 GB, free: 10.74 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.284e-05/0.3115, allocations: 108.9 kB / 0.6009 GB, free: 10.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.354e-05/0.3115, allocations: 99.8 kB / 0.601 GB, free: 10.53 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3115, allocations: 0.6562 kB / 0.601 GB, free: 10.53 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005034/0.312, allocations: 283.8 kB / 0.6013 GB, free: 10.25 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.0007792/0.3128, allocations: 0.5236 MB / 0.6018 GB, free: 9.727 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 7.428e-05/0.3129, allocations: 38.61 kB / 0.6019 GB, free: 9.684 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.026e-06/0.3129, allocations: 4 kB / 0.6019 GB, free: 9.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3129, allocations: 4.625 kB / 0.6019 GB, free: 9.676 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002773/0.3132, allocations: 482.9 kB / 0.6023 GB, free: 9.207 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002128/0.3134, allocations: 233.8 kB / 0.6026 GB, free: 8.953 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.652e-05/0.3135, allocations: 0.6857 MB / 0.6032 GB, free: 8.242 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.168e-05/0.3135, allocations: 0 / 0.6032 GB, free: 8.242 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.506e-06/0.3135, allocations: 13 kB / 0.6032 GB, free: 8.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3135, allocations: 0 / 0.6032 GB, free: 8.23 MB / 446.1 MB Notification: Performance of Templates: time 0.006993/0.3205, allocations: 5.594 MB / 0.6087 GB, free: 2.711 MB / 446.1 MB 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)