Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 119.8 kB / 16.37 MB, free: 6.016 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.001132/0.001132, allocations: 193 kB / 17.31 MB, free: 5.613 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.31/1.31, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.759/0.759, allocations: 132.2 MB / 423.3 MB, free: 6.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.91 kB / 0.5033 GB, free: 10.89 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3092/0.3105, allocations: 80.18 MB / 0.5816 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002145/0.3127, allocations: 1.362 MB / 0.5829 GB, free: 26.58 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002205/0.3149, allocations: 1.799 MB / 0.5846 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4e-05/0.315, allocations: 0 / 0.5846 GB, free: 25.18 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 7.4e-05/0.3151, allocations: 11.39 kB / 0.5847 GB, free: 25.17 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001329/0.3152, allocations: 34.14 kB / 0.5847 GB, free: 25.14 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002052/0.3173, allocations: 1.142 MB / 0.5858 GB, free: 24.39 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 8.586e-05/0.3174, allocations: 54.8 kB / 0.5859 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.227e-05/0.3174, allocations: 2.25 kB / 0.5859 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.894e-05/0.3175, allocations: 25.42 kB / 0.5859 GB, free: 24.36 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.596e-05/0.3175, allocations: 35.17 kB / 0.5859 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.3176, allocations: 1.375 kB / 0.5859 GB, free: 24.34 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009422/0.3185, allocations: 0.8876 MB / 0.5868 GB, free: 23.82 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 7.548e-05/0.3186, allocations: 63.88 kB / 0.5868 GB, free: 23.79 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.038e-05/0.3187, allocations: 68.88 kB / 0.5869 GB, free: 23.74 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008158/0.3195, allocations: 0.8799 MB / 0.5878 GB, free: 23.26 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.386e-06/0.3195, allocations: 5.531 kB / 0.5878 GB, free: 23.25 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.3195, allocations: 0 / 0.5878 GB, free: 23.25 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.02e-06/0.3195, allocations: 2.156 kB / 0.5878 GB, free: 23.25 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0005007/0.32, allocations: 0.5765 MB / 0.5883 GB, free: 22.71 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.3201, allocations: 13.25 kB / 0.5884 GB, free: 22.71 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.147e-05/0.3201, allocations: 25.41 kB / 0.5884 GB, free: 22.69 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.3203, allocations: 225.3 kB / 0.5886 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.3203, allocations: 2.5 kB / 0.5886 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.043e-06/0.3203, allocations: 3.938 kB / 0.5886 GB, free: 22.45 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001253/0.3204, allocations: 107.5 kB / 0.5887 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.3204, allocations: 0 / 0.5887 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.612e-06/0.3204, allocations: 0.7188 kB / 0.5887 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.3204, allocations: 1.094 kB / 0.5887 GB, free: 22.39 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.541e-05/0.3205, allocations: 84.03 kB / 0.5888 GB, free: 22.36 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001942/0.3207, allocations: 274.1 kB / 0.589 GB, free: 22.11 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.095e-05/0.3208, allocations: 125 kB / 0.5892 GB, free: 22.03 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.512e-05/0.3209, allocations: 108.8 kB / 0.5893 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.086e-05/0.3209, allocations: 2.469 kB / 0.5893 GB, free: 21.98 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.728e-05/0.3209, allocations: 33.56 kB / 0.5893 GB, free: 21.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.282e-06/0.321, allocations: 0 / 0.5893 GB, free: 21.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.0003369/0.3213, allocations: 350.8 kB / 0.5896 GB, free: 21.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.813e-05/0.3213, allocations: 51.41 kB / 0.5897 GB, free: 21.73 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001625/0.3215, allocations: 249 kB / 0.5899 GB, free: 21.48 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.612e-06/0.3215, allocations: 29.7 kB / 0.5899 GB, free: 21.45 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.218e-05/0.3216, allocations: 129.9 kB / 0.5901 GB, free: 21.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.142e-05/0.3216, allocations: 106.4 kB / 0.5902 GB, free: 21.21 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.3216, allocations: 30.48 kB / 0.5902 GB, free: 21.18 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.994e-05/0.3217, allocations: 343.5 kB / 0.5905 GB, free: 20.83 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.013e-05/0.3218, allocations: 75.97 kB / 0.5906 GB, free: 20.76 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.4e-05/0.3218, allocations: 81.8 kB / 0.5907 GB, free: 20.68 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.3219, allocations: 192.8 kB / 0.5909 GB, free: 20.49 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3219, allocations: 3.938 kB / 0.5909 GB, free: 20.48 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001526/0.3221, allocations: 221.5 kB / 0.5911 GB, free: 20.26 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/0.3221, allocations: 8.969 kB / 0.5911 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.3221, allocations: 0 / 0.5911 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.244e-05/0.3221, allocations: 0 / 0.5911 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.352e-06/0.3221, allocations: 0.625 kB / 0.5911 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.3222, allocations: 0 / 0.5911 GB, free: 20.25 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.6e-05/0.3222, allocations: 22.16 kB / 0.5911 GB, free: 20.23 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.3222, allocations: 0 / 0.5911 GB, free: 20.23 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 9.258e-05/0.3223, allocations: 166.6 kB / 0.5913 GB, free: 20.06 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.799e-05/0.3223, allocations: 23.7 kB / 0.5913 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001996/0.3225, allocations: 254.9 kB / 0.5915 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3226, allocations: 0 / 0.5915 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.3226, allocations: 0 / 0.5915 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3226, allocations: 0 / 0.5915 GB, free: 19.78 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.3227, allocations: 289.7 kB / 0.5918 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/0.3227, allocations: 3.984 kB / 0.5918 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.42e-07/0.3227, allocations: 0 / 0.5918 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.3227, allocations: 0.5 kB / 0.5918 GB, free: 19.45 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.44e-06/0.3227, allocations: 5.562 kB / 0.5918 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3227, allocations: 0 / 0.5918 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.3227, allocations: 0 / 0.5918 GB, free: 19.44 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001654/0.3229, allocations: 262.3 kB / 0.5921 GB, free: 19.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.304e-05/0.323, allocations: 96.77 kB / 0.5922 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.323, allocations: 4 kB / 0.5922 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.688e-05/0.323, allocations: 2.938 kB / 0.5922 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-06/0.3231, allocations: 0 / 0.5922 GB, free: 19.05 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.627e-06/0.3231, allocations: 4 kB / 0.5922 GB, free: 19.05 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001077/0.3232, allocations: 192.4 kB / 0.5924 GB, free: 18.86 MB / 446.1 MB Notification: Performance of sort global known variables: time 6.22e-07/0.3232, allocations: 0 / 0.5924 GB, free: 18.86 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004875/0.3237, allocations: 215.8 kB / 0.5926 GB, free: 18.65 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 (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 Backend phase and start with SimCode phase: time 0.0005589/0.3242, allocations: 342.2 kB / 0.5929 GB, free: 18.31 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001979/0.3244, allocations: 259.3 kB / 0.5931 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3245, allocations: 0 / 0.5931 GB, free: 18.05 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.766e-05/0.3246, allocations: 181.6 kB / 0.5933 GB, free: 17.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.3248, allocations: 18.41 kB / 0.5933 GB, free: 17.85 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.3253, allocations: 494 kB / 0.5938 GB, free: 17.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001498/0.3254, allocations: 0.7715 MB / 0.5946 GB, free: 16.54 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.397e-05/0.3255, allocations: 10.98 kB / 0.5946 GB, free: 16.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.188e-05/0.3255, allocations: 7.438 kB / 0.5946 GB, free: 16.52 MB / 446.1 MB Notification: Performance of SimCode: time 2.21e-07/0.3255, allocations: 0 / 0.5946 GB, free: 16.52 MB / 446.1 MB Notification: Performance of Templates: time 0.006876/0.3324, allocations: 4.592 MB / 0.5991 GB, free: 12.05 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)