Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.000934/0.000934, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.00111/0.00111, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.3 MB / 240 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7346/0.7346, allocations: 132.4 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003072/0.0003073, allocations: 8.688 kB / 0.5035 GB, free: 4.188 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3413/0.3417, allocations: 81.58 MB / 0.5831 GB, free: 3.996 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001137/0.3428, allocations: 1.13 MB / 0.5842 GB, free: 3.164 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00315/0.346, allocations: 2.608 MB / 0.5868 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.707e-05/0.346, allocations: 0.8438 kB / 0.5868 GB, free: 1.367 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.521e-05/0.346, allocations: 6 kB / 0.5868 GB, free: 1.363 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.703e-05/0.3461, allocations: 15.55 kB / 0.5868 GB, free: 1.352 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002745/0.3489, allocations: 1.221 MB / 0.588 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.765e-05/0.3489, allocations: 46.55 kB / 0.588 GB, free: 0.6953 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.226e-05/0.349, allocations: 8.031 kB / 0.5881 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.179e-05/0.349, allocations: 15.53 kB / 0.5881 GB, free: 0.6836 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.636e-05/0.349, allocations: 17.11 kB / 0.5881 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.526e-06/0.349, allocations: 1 kB / 0.5881 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001818/0.3509, allocations: 1.208 MB / 0.5893 GB, free: 348 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.083e-05/0.3509, allocations: 2.391 kB / 0.5893 GB, free: 348 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.062e-05/0.3509, allocations: 29.31 kB / 0.5893 GB, free: 316 kB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009129/0.3518, allocations: 0.6824 MB / 0.59 GB, free: 176 kB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.3519, allocations: 4 kB / 0.59 GB, free: 172 kB / 430.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3519, allocations: 4.906 kB / 0.59 GB, free: 168 kB / 430.1 MB Notification: Performance of Transformations before backend: time 3.006e-06/0.3519, allocations: 0 / 0.59 GB, free: 168 kB / 430.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.0004821/0.3524, allocations: 0.5025 MB / 0.5905 GB, free: 15.69 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.074e-05/0.3524, allocations: 10.09 kB / 0.5905 GB, free: 15.69 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.722e-05/0.3524, allocations: 86.22 kB / 0.5906 GB, free: 15.61 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.3526, allocations: 243.6 kB / 0.5908 GB, free: 15.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/0.3526, allocations: 155.4 kB / 0.5909 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.451e-05/0.3527, allocations: 151.9 kB / 0.5911 GB, free: 15.03 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.124e-05/0.3527, allocations: 106.3 kB / 0.5912 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.174e-05/0.3528, allocations: 75.28 kB / 0.5913 GB, free: 14.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.187e-05/0.3528, allocations: 159.2 kB / 0.5914 GB, free: 14.69 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.421e-05/0.3528, allocations: 150.6 kB / 0.5915 GB, free: 14.54 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.729e-05/0.3529, allocations: 159.2 kB / 0.5917 GB, free: 14.39 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002475/0.3531, allocations: 465.7 kB / 0.5921 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.855e-05/0.3532, allocations: 166.4 kB / 0.5923 GB, free: 13.73 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.3533, allocations: 81.14 kB / 0.5924 GB, free: 13.64 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.777e-05/0.3533, allocations: 83.88 kB / 0.5925 GB, free: 13.56 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.449e-05/0.3533, allocations: 106.9 kB / 0.5926 GB, free: 13.45 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.32e-07/0.3533, allocations: 0 / 0.5926 GB, free: 13.45 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 7.03e-05/0.3534, allocations: 32.94 kB / 0.5926 GB, free: 13.41 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.655e-05/0.3535, allocations: 128.7 kB / 0.5927 GB, free: 13.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001195/0.3536, allocations: 135.8 kB / 0.5928 GB, free: 13.16 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.3536, allocations: 25.7 kB / 0.5929 GB, free: 13.13 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.376e-05/0.3537, allocations: 96.95 kB / 0.593 GB, free: 13.04 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.483e-06/0.3537, allocations: 0 / 0.593 GB, free: 13.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-06/0.3537, allocations: 0 / 0.593 GB, free: 13.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.49e-05/0.3538, allocations: 323.4 kB / 0.5933 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.205e-05/0.3538, allocations: 6.719 kB / 0.5933 GB, free: 12.71 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.552e-05/0.3538, allocations: 7.562 kB / 0.5933 GB, free: 12.71 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.419e-05/0.3538, allocations: 3.906 kB / 0.5933 GB, free: 12.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.3539, allocations: 1.062 kB / 0.5933 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001117/0.354, allocations: 48.84 kB / 0.5933 GB, free: 12.67 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.354, allocations: 9.562 kB / 0.5933 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.354, allocations: 2.984 kB / 0.5933 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/0.354, allocations: 0.5312 kB / 0.5933 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.242e-06/0.354, allocations: 1.094 kB / 0.5933 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-06/0.354, allocations: 0.7031 kB / 0.5933 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.3541, allocations: 1.062 kB / 0.5933 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.131e-06/0.3541, allocations: 0.5625 kB / 0.5934 GB, free: 12.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.051e-05/0.3542, allocations: 188 kB / 0.5935 GB, free: 12.48 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.931e-05/0.3542, allocations: 121 kB / 0.5936 GB, free: 12.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.816e-05/0.3543, allocations: 112.1 kB / 0.5938 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-05/0.3543, allocations: 178 kB / 0.5939 GB, free: 12.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.063e-05/0.3544, allocations: 181.9 kB / 0.5941 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.423e-05/0.3544, allocations: 181.7 kB / 0.5943 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002019/0.3546, allocations: 430.2 kB / 0.5947 GB, free: 11.23 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.02e-05/0.3547, allocations: 101 kB / 0.5948 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.969e-05/0.3547, allocations: 106.2 kB / 0.5949 GB, free: 11.02 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.747e-05/0.3548, allocations: 179 kB / 0.595 GB, free: 10.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/0.3548, allocations: 177.5 kB / 0.5952 GB, free: 10.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.712e-05/0.3549, allocations: 182 kB / 0.5954 GB, free: 10.47 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.779e-05/0.3549, allocations: 185.9 kB / 0.5956 GB, free: 10.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001091/0.355, allocations: 307.1 kB / 0.5959 GB, free: 9.969 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.741e-05/0.3551, allocations: 185 kB / 0.596 GB, free: 9.766 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.145e-05/0.3552, allocations: 186.5 kB / 0.5962 GB, free: 9.578 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.019e-05/0.3553, allocations: 106.8 kB / 0.5963 GB, free: 9.469 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.225e-05/0.3553, allocations: 185.8 kB / 0.5965 GB, free: 9.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.997e-05/0.3553, allocations: 102.4 kB / 0.5966 GB, free: 9.176 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.62e-05/0.3554, allocations: 98.41 kB / 0.5967 GB, free: 9.098 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.31e-07/0.3554, allocations: 0 / 0.5967 GB, free: 9.098 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0007122/0.3561, allocations: 276.2 kB / 0.5969 GB, free: 9.031 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008925/0.357, allocations: 0.489 MB / 0.5974 GB, free: 8.773 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.487e-05/0.3571, allocations: 42.72 kB / 0.5975 GB, free: 8.734 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3571, allocations: 0 / 0.5975 GB, free: 8.734 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.168e-06/0.3571, allocations: 4.438 kB / 0.5975 GB, free: 8.73 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003707/0.3575, allocations: 0.5325 MB / 0.598 GB, free: 8.199 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002689/0.3578, allocations: 251.2 kB / 0.5982 GB, free: 7.992 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001917/0.358, allocations: 0.6866 MB / 0.5989 GB, free: 7.293 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.24e-05/0.358, allocations: 0.7969 kB / 0.5989 GB, free: 7.293 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.005e-05/0.358, allocations: 8.812 kB / 0.5989 GB, free: 7.285 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.358, allocations: 5.375 kB / 0.5989 GB, free: 7.281 MB / 446.1 MB Notification: Performance of Templates: time 0.008728/0.3668, allocations: 5.392 MB / 0.6042 GB, free: 5.188 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)