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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001483/0.001483, 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.002136/0.002136, allocations: 198.5 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.471/1.471, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9811/0.9811, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001239/0.00124, allocations: 72.98 kB / 0.5054 GB, free: 5.289 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1979/0.1992, allocations: 80.92 MB / 0.5844 GB, free: 4.523 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003155/0.2024, allocations: 1.424 MB / 0.5858 GB, free: 3.078 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004492/0.2069, allocations: 2.823 MB / 0.5886 GB, free: 252 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.207, allocations: 0 / 0.5886 GB, free: 252 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.221e-05/0.207, allocations: 3.938 kB / 0.5886 GB, free: 248 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 7.505e-05/0.2071, allocations: 15.84 kB / 0.5886 GB, free: 232 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004182/0.2113, allocations: 1.544 MB / 0.5901 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.597e-05/0.2114, allocations: 47.67 kB / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.203e-05/0.2114, allocations: 288 / 0.5901 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.484e-05/0.2115, allocations: 19.94 kB / 0.5902 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.277e-05/0.2115, allocations: 15.92 kB / 0.5902 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.919e-06/0.2115, allocations: 0 / 0.5902 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.2138, allocations: 1.423 MB / 0.5916 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.849e-05/0.2139, allocations: 3.938 kB / 0.5916 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.239e-05/0.2139, allocations: 15.94 kB / 0.5916 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.2158, allocations: 1.068 MB / 0.5926 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.2159, allocations: 0 / 0.5926 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.873e-06/0.2159, allocations: 0 / 0.5926 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.913e-06/0.2159, allocations: 0 / 0.5926 GB, free: 12.11 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.0008468/0.2167, allocations: 0.5185 MB / 0.5931 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.2168, allocations: 8.75 kB / 0.5931 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.341e-05/0.2169, allocations: 80.22 kB / 0.5932 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001739/0.217, allocations: 259.4 kB / 0.5935 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.368e-05/0.2171, allocations: 154.9 kB / 0.5936 GB, free: 11.01 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.662e-05/0.2172, allocations: 154.5 kB / 0.5938 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.775e-05/0.2172, allocations: 105 kB / 0.5939 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.769e-05/0.2173, allocations: 75.28 kB / 0.5939 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.8e-05/0.2173, allocations: 150.6 kB / 0.5941 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.583e-05/0.2174, allocations: 154.6 kB / 0.5942 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.458e-05/0.2174, allocations: 158.6 kB / 0.5944 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003313/0.2178, allocations: 469.9 kB / 0.5948 GB, free: 9.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.484e-05/0.2179, allocations: 173.1 kB / 0.595 GB, free: 9.531 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.2179, allocations: 80.14 kB / 0.5951 GB, free: 9.449 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.784e-05/0.218, allocations: 75.28 kB / 0.5951 GB, free: 9.375 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.101e-05/0.218, allocations: 113.8 kB / 0.5952 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 7.62e-07/0.218, allocations: 0 / 0.5952 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 8.052e-05/0.2181, allocations: 33.69 kB / 0.5953 GB, free: 9.215 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.605e-05/0.2182, allocations: 130.7 kB / 0.5954 GB, free: 9.074 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001694/0.2183, allocations: 140 kB / 0.5955 GB, free: 8.93 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.2184, allocations: 25.7 kB / 0.5956 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.517e-05/0.2184, allocations: 92.14 kB / 0.5957 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.815e-06/0.2184, allocations: 0 / 0.5957 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.413e-05/0.2185, allocations: 21.7 kB / 0.5957 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.2186, allocations: 318.8 kB / 0.596 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.414e-05/0.2186, allocations: 0 / 0.596 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.755e-05/0.2186, allocations: 4 kB / 0.596 GB, free: 8.453 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.125e-05/0.2187, allocations: 16.84 kB / 0.596 GB, free: 8.434 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.885e-06/0.2187, allocations: 3.938 kB / 0.596 GB, free: 8.43 MB / 0.4981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001347/0.2188, allocations: 49.55 kB / 0.596 GB, free: 8.375 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.2189, allocations: 4 kB / 0.5961 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/0.2189, allocations: 4 kB / 0.5961 GB, free: 8.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.729e-05/0.2189, allocations: 4.062 kB / 0.5961 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.2189, allocations: 0 / 0.5961 GB, free: 8.363 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.575e-06/0.2189, allocations: 3.984 kB / 0.5961 GB, free: 8.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.28e-05/0.219, allocations: 3.938 kB / 0.5961 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-06/0.219, allocations: 4 kB / 0.5961 GB, free: 8.352 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.0001078/0.2191, allocations: 193 kB / 0.5963 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.734e-05/0.2192, allocations: 108.9 kB / 0.5964 GB, free: 8.039 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.488e-05/0.2192, allocations: 112.8 kB / 0.5965 GB, free: 7.918 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-05/0.2193, allocations: 188.2 kB / 0.5966 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.118e-05/0.2194, allocations: 184.2 kB / 0.5968 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.328e-05/0.2194, allocations: 176.3 kB / 0.597 GB, free: 7.359 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002348/0.2197, allocations: 413.2 kB / 0.5974 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-05/0.2197, allocations: 104.9 kB / 0.5975 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.757e-05/0.2197, allocations: 109 kB / 0.5976 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.086e-05/0.2198, allocations: 184.2 kB / 0.5978 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/0.2199, allocations: 180.3 kB / 0.5979 GB, free: 6.305 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.969e-05/0.2199, allocations: 176.3 kB / 0.5981 GB, free: 6.125 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.937e-05/0.22, allocations: 180.2 kB / 0.5983 GB, free: 5.941 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.2202, allocations: 315.7 kB / 0.5986 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.746e-05/0.2203, allocations: 190 kB / 0.5988 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.435e-05/0.2203, allocations: 176.3 kB / 0.5989 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.847e-05/0.2204, allocations: 108.9 kB / 0.599 GB, free: 5.105 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.964e-05/0.2205, allocations: 180.3 kB / 0.5992 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.504e-05/0.2206, allocations: 108.9 kB / 0.5993 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.833e-05/0.2206, allocations: 101.1 kB / 0.5994 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.2206, allocations: 0 / 0.5994 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0008841/0.2215, allocations: 275.8 kB / 0.5997 GB, free: 4.441 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.001363/0.2229, allocations: 0.5186 MB / 0.6002 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.223, allocations: 41.7 kB / 0.6002 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.223, allocations: 0 / 0.6002 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.915e-06/0.223, allocations: 0 / 0.6002 GB, free: 3.871 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.2234, allocations: 478.1 kB / 0.6007 GB, free: 3.406 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.2238, allocations: 236.1 kB / 0.6009 GB, free: 3.148 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002467/0.2241, allocations: 0.6807 MB / 0.6016 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.2241, allocations: 3.906 kB / 0.6016 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.447e-05/0.2241, allocations: 11.44 kB / 0.6016 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of SimCode: time 3.1e-07/0.2241, allocations: 0 / 0.6016 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of Templates: time 0.3072/0.5313, allocations: 5.443 MB / 0.6069 GB, free: 52.74 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)