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.001265/0.001265, allocations: 116.7 kB / 16.37 MB, free: 6 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.001346/0.001346, allocations: 193.1 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.378/1.378, 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.7958/0.7958, allocations: 132.2 MB / 423.4 MB, free: 6.523 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002168/0.002168, allocations: 59.91 kB / 0.5032 GB, free: 10.85 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3484/0.3506, allocations: 80.19 MB / 0.5815 GB, free: 27.69 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004449/0.3551, allocations: 4.127 MB / 0.5856 GB, free: 24.45 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002863/0.358, allocations: 2.427 MB / 0.5879 GB, free: 22.47 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002817/0.3583, allocations: 10.38 kB / 0.588 GB, free: 22.47 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001471/0.3598, allocations: 0.5402 MB / 0.5885 GB, free: 22.11 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004339/0.3602, allocations: 246.9 kB / 0.5887 GB, free: 21.91 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.3604, allocations: 140.5 kB / 0.5888 GB, free: 21.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006781/0.3611, allocations: 0.8068 MB / 0.5896 GB, free: 21.29 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004358/0.3615, allocations: 334.3 kB / 0.59 GB, free: 21.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002828/0.3618, allocations: 284.6 kB / 0.5902 GB, free: 20.94 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002904/0.3621, allocations: 336.2 kB / 0.5905 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 8.76e-05/0.3622, allocations: 75.34 kB / 0.5906 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.3623, allocations: 74.91 kB / 0.5907 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.3625, allocations: 170.5 kB / 0.5909 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.3627, allocations: 380.5 kB / 0.5912 GB, free: 20.2 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005201/0.3632, allocations: 0.9967 MB / 0.5922 GB, free: 19.2 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.3633, allocations: 1.156 kB / 0.5922 GB, free: 19.2 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.634e-06/0.3633, allocations: 0 / 0.5922 GB, free: 19.2 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.3633, allocations: 0 / 0.5922 GB, free: 19.2 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.001132/0.3644, allocations: 0.9514 MB / 0.5931 GB, free: 18.21 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/0.3645, allocations: 17.55 kB / 0.5931 GB, free: 18.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.909e-05/0.3646, allocations: 72.09 kB / 0.5932 GB, free: 18.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004712/0.365, allocations: 458.6 kB / 0.5936 GB, free: 17.63 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3651, allocations: 33.38 kB / 0.5937 GB, free: 17.6 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.033e-05/0.3651, allocations: 52.62 kB / 0.5937 GB, free: 17.55 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006065/0.3657, allocations: 424 kB / 0.5941 GB, free: 17.13 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.996e-05/0.3658, allocations: 0 / 0.5941 GB, free: 17.13 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.49e-05/0.3658, allocations: 23.98 kB / 0.5942 GB, free: 17.11 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.002e-05/0.3658, allocations: 15.94 kB / 0.5942 GB, free: 17.09 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005691/0.3664, allocations: 369.2 kB / 0.5945 GB, free: 16.73 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001524/0.3679, allocations: 1.517 MB / 0.596 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004204/0.3684, allocations: 351.8 kB / 0.5963 GB, free: 14.79 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003659/0.3687, allocations: 316.8 kB / 0.5966 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.3688, allocations: 4 kB / 0.5966 GB, free: 14.48 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.3688, allocations: 41.06 kB / 0.5967 GB, free: 14.43 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 1.543e-06/0.3688, allocations: 0 / 0.5967 GB, free: 14.43 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0007473/0.3696, allocations: 498 kB / 0.5972 GB, free: 13.94 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.885e-05/0.3696, allocations: 57.73 kB / 0.5972 GB, free: 13.87 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003968/0.37, allocations: 485.9 kB / 0.5977 GB, free: 13.39 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.935e-05/0.37, allocations: 33.7 kB / 0.5977 GB, free: 13.35 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.3702, allocations: 274 kB / 0.598 GB, free: 13.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.195e-05/0.3702, allocations: 149.8 kB / 0.5981 GB, free: 12.93 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/0.3703, allocations: 58.08 kB / 0.5982 GB, free: 12.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.943e-05/0.3704, allocations: 362.8 kB / 0.5985 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002001/0.3706, allocations: 131.3 kB / 0.5986 GB, free: 12.38 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001878/0.3708, allocations: 129.1 kB / 0.5988 GB, free: 12.25 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003944/0.3712, allocations: 290.4 kB / 0.599 GB, free: 11.96 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3712, allocations: 2 kB / 0.599 GB, free: 11.96 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005128/0.3717, allocations: 400.1 kB / 0.5994 GB, free: 11.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3717, allocations: 4 kB / 0.5994 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.689e-06/0.3718, allocations: 4.594 kB / 0.5994 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.54e-05/0.3718, allocations: 0 / 0.5994 GB, free: 11.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004494/0.3722, allocations: 124.9 kB / 0.5995 GB, free: 11.44 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.644e-06/0.3722, allocations: 4.938 kB / 0.5996 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001845/0.3724, allocations: 37.08 kB / 0.5996 GB, free: 11.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.947e-05/0.3725, allocations: 12 kB / 0.5996 GB, free: 11.39 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.0001658/0.3726, allocations: 201.6 kB / 0.5998 GB, free: 11.18 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.317e-05/0.3727, allocations: 57.53 kB / 0.5998 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.335e-05/0.3728, allocations: 57.11 kB / 0.5999 GB, free: 11.07 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3728, allocations: 4 kB / 0.5999 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/0.3728, allocations: 0 / 0.5999 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.3728, allocations: 3.984 kB / 0.5999 GB, free: 11.06 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004735/0.3733, allocations: 0.5796 MB / 0.6005 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.3733, allocations: 0 / 0.6005 GB, free: 10.43 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004549/0.3738, allocations: 126.1 kB / 0.6006 GB, free: 10.31 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.3738, allocations: 4 kB / 0.6006 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.113e-05/0.3738, allocations: 4 kB / 0.6006 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.276e-06/0.3738, allocations: 4 kB / 0.6006 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.3738, allocations: 0.5625 kB / 0.6006 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007729/0.3746, allocations: 0.6531 MB / 0.6012 GB, free: 9.629 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.223e-05/0.3747, allocations: 136.4 kB / 0.6014 GB, free: 9.477 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.666e-05/0.3748, allocations: 15.94 kB / 0.6014 GB, free: 9.461 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.375, allocations: 13.33 kB / 0.6014 GB, free: 9.449 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.3751, allocations: 27.95 kB / 0.6014 GB, free: 9.422 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.652e-05/0.3751, allocations: 12.78 kB / 0.6014 GB, free: 9.41 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002998/0.3754, allocations: 347.1 kB / 0.6018 GB, free: 9.074 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.3754, allocations: 1.219 kB / 0.6018 GB, free: 9.074 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003473/0.3757, allocations: 147.5 kB / 0.6019 GB, free: 8.93 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.0001214/0.3759, allocations: 112.6 kB / 0.602 GB, free: 8.812 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.00048/0.3764, allocations: 317.4 kB / 0.6023 GB, free: 8.504 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3764, allocations: 4.531 kB / 0.6023 GB, free: 8.5 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002282/0.3766, allocations: 184.5 kB / 0.6025 GB, free: 8.32 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005748/0.3772, allocations: 147.3 kB / 0.6026 GB, free: 8.195 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.3787, allocations: 1.176 MB / 0.6038 GB, free: 7.027 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002396/0.3789, allocations: 0.8665 MB / 0.6046 GB, free: 6.129 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001636/0.3791, allocations: 60.38 kB / 0.6047 GB, free: 6.066 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.59e-05/0.3792, allocations: 35.44 kB / 0.6047 GB, free: 6.031 MB / 446.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3792, allocations: 4 kB / 0.6047 GB, free: 6.027 MB / 446.1 MB Notification: Performance of Templates: time 0.00898/0.3882, allocations: 5.912 MB / 0.6105 GB, free: 264 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)