Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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/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.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001262/0.001262, allocations: 106.9 kB / 16.36 MB, free: 5.824 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.001197/0.001197, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.289/1.289, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7747/0.7747, allocations: 132.2 MB / 423.3 MB, free: 6.617 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 59.91 kB / 0.5032 GB, free: 10.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3339, allocations: 80.17 MB / 0.5815 GB, free: 27.62 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004661/0.3386, allocations: 4.145 MB / 0.5856 GB, free: 24.37 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002963/0.3416, allocations: 2.423 MB / 0.5879 GB, free: 22.4 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004875/0.3421, allocations: 14.16 kB / 0.5879 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001697/0.3438, allocations: 0.5372 MB / 0.5885 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006735/0.3445, allocations: 245.6 kB / 0.5887 GB, free: 21.83 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.3447, allocations: 140 kB / 0.5888 GB, free: 21.71 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007343/0.3455, allocations: 0.8085 MB / 0.5896 GB, free: 21.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004028/0.3459, allocations: 328 kB / 0.5899 GB, free: 21.03 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000287/0.3462, allocations: 297.5 kB / 0.5902 GB, free: 20.86 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002955/0.3465, allocations: 333 kB / 0.5905 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000105/0.3466, allocations: 74.28 kB / 0.5906 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001263/0.3467, allocations: 75.75 kB / 0.5907 GB, free: 20.62 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001434/0.3469, allocations: 170 kB / 0.5908 GB, free: 20.48 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002783/0.3472, allocations: 376.3 kB / 0.5912 GB, free: 20.24 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005505/0.3477, allocations: 0.997 MB / 0.5922 GB, free: 19.24 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.3477, allocations: 2.281 kB / 0.5922 GB, free: 19.24 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.3477, allocations: 3.938 kB / 0.5922 GB, free: 19.24 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.997e-06/0.3478, allocations: 0 / 0.5922 GB, free: 19.24 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001103/0.3489, allocations: 0.9507 MB / 0.5931 GB, free: 18.24 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.3489, allocations: 12.03 kB / 0.5931 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.349e-05/0.349, allocations: 74.34 kB / 0.5932 GB, free: 18.16 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005031/0.3495, allocations: 461.7 kB / 0.5936 GB, free: 17.67 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.3495, allocations: 33.38 kB / 0.5937 GB, free: 17.64 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.049e-05/0.3496, allocations: 52.12 kB / 0.5937 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005874/0.3502, allocations: 423.6 kB / 0.5941 GB, free: 17.17 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.856e-05/0.3502, allocations: 3.984 kB / 0.5941 GB, free: 17.16 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.27e-05/0.3503, allocations: 25.47 kB / 0.5941 GB, free: 17.14 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.357e-06/0.3503, allocations: 12 kB / 0.5942 GB, free: 17.13 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005726/0.3509, allocations: 365.4 kB / 0.5945 GB, free: 16.77 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001654/0.3525, allocations: 1.521 MB / 0.596 GB, free: 15.18 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004262/0.353, allocations: 345.5 kB / 0.5963 GB, free: 14.83 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003729/0.3533, allocations: 321.5 kB / 0.5966 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.511e-05/0.3534, allocations: 4 kB / 0.5966 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.3534, allocations: 35.97 kB / 0.5967 GB, free: 14.47 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.573e-06/0.3534, allocations: 0 / 0.5967 GB, free: 14.47 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007449/0.3542, allocations: 0.4924 MB / 0.5971 GB, free: 13.97 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.3542, allocations: 55.41 kB / 0.5972 GB, free: 13.91 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004062/0.3546, allocations: 485.9 kB / 0.5977 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.3546, allocations: 34.2 kB / 0.5977 GB, free: 13.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001335/0.3548, allocations: 278.4 kB / 0.598 GB, free: 13.11 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.146e-05/0.3549, allocations: 145.8 kB / 0.5981 GB, free: 12.96 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.811e-05/0.3549, allocations: 58.08 kB / 0.5982 GB, free: 12.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 8.196e-05/0.355, allocations: 366.8 kB / 0.5985 GB, free: 12.53 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002015/0.3552, allocations: 122.2 kB / 0.5986 GB, free: 12.41 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.3554, allocations: 129.2 kB / 0.5987 GB, free: 12.29 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000393/0.3558, allocations: 291.8 kB / 0.599 GB, free: 12 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.3558, allocations: 1.562 kB / 0.599 GB, free: 12 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005027/0.3564, allocations: 400.9 kB / 0.5994 GB, free: 11.61 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3564, allocations: 8 kB / 0.5994 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.3564, allocations: 1.719 kB / 0.5994 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.927e-05/0.3564, allocations: 0 / 0.5994 GB, free: 11.6 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004375/0.3569, allocations: 127.1 kB / 0.5995 GB, free: 11.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.525e-06/0.3569, allocations: 4 kB / 0.5995 GB, free: 11.47 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001758/0.3571, allocations: 31.67 kB / 0.5996 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.73e-05/0.3571, allocations: 15.94 kB / 0.5996 GB, free: 11.43 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 (46): * Single equations (assignments): 46 * 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 prepare postOptimizeDAE: time 0.0001538/0.3572, allocations: 201.7 kB / 0.5998 GB, free: 11.22 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.695e-05/0.3573, allocations: 51.34 kB / 0.5998 GB, free: 11.17 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.464e-05/0.3574, allocations: 61.05 kB / 0.5999 GB, free: 11.11 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3574, allocations: 9.484 kB / 0.5999 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5e-06/0.3574, allocations: 0 / 0.5999 GB, free: 11.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3574, allocations: 3.984 kB / 0.5999 GB, free: 11.09 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004613/0.3579, allocations: 0.5828 MB / 0.6005 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.3579, allocations: 0.5625 kB / 0.6005 GB, free: 10.46 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000446/0.3584, allocations: 126.1 kB / 0.6006 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/0.3584, allocations: 4 kB / 0.6006 GB, free: 10.34 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.3584, allocations: 4 kB / 0.6006 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.3584, allocations: 4 kB / 0.6006 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.3584, allocations: 0.7812 kB / 0.6006 GB, free: 10.33 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007467/0.3592, allocations: 0.6526 MB / 0.6012 GB, free: 9.66 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.964e-05/0.3593, allocations: 128.5 kB / 0.6014 GB, free: 9.516 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.637e-05/0.3593, allocations: 13.28 kB / 0.6014 GB, free: 9.504 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001955/0.3595, allocations: 15.98 kB / 0.6014 GB, free: 9.488 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.3596, allocations: 23.97 kB / 0.6014 GB, free: 9.465 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.3596, allocations: 12.69 kB / 0.6014 GB, free: 9.453 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002872/0.3599, allocations: 355.6 kB / 0.6018 GB, free: 9.109 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3599, allocations: 0 / 0.6018 GB, free: 9.109 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003278/0.3602, allocations: 149.6 kB / 0.6019 GB, free: 8.965 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.T) * 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 (42): * Single equations (assignments): 42 * 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.0001235/0.3604, allocations: 111.8 kB / 0.602 GB, free: 8.848 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0004788/0.3609, allocations: 317.4 kB / 0.6023 GB, free: 8.539 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3609, allocations: 0 / 0.6023 GB, free: 8.539 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002306/0.3611, allocations: 189.4 kB / 0.6025 GB, free: 8.355 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005757/0.3617, allocations: 130.7 kB / 0.6026 GB, free: 8.238 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001471/0.3632, allocations: 1.189 MB / 0.6038 GB, free: 7.07 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002331/0.3634, allocations: 0.8626 MB / 0.6046 GB, free: 6.176 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001505/0.3636, allocations: 60.33 kB / 0.6047 GB, free: 6.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.566e-05/0.3637, allocations: 35.44 kB / 0.6047 GB, free: 6.078 MB / 446.1 MB Notification: Performance of SimCode: time 2.6e-07/0.3637, allocations: 0 / 0.6047 GB, free: 6.078 MB / 446.1 MB Notification: Performance of Templates: time 0.008705/0.3724, allocations: 5.917 MB / 0.6105 GB, free: 316 kB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)