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.001261/0.001261, 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.001307/0.001307, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.27/1.27, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7128/0.7128, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.23 kB / 0.5018 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3663/0.3676, allocations: 80.2 MB / 0.5801 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004633/0.3723, allocations: 4.137 MB / 0.5842 GB, free: 1.617 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.003115/0.3754, allocations: 2.416 MB / 0.5865 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002671/0.3757, allocations: 11.44 kB / 0.5865 GB, free: 15.84 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.3775, allocations: 0.5425 MB / 0.5871 GB, free: 15.59 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000554/0.378, allocations: 246.2 kB / 0.5873 GB, free: 15.42 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.3783, allocations: 138.1 kB / 0.5874 GB, free: 15.33 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009001/0.3792, allocations: 0.8104 MB / 0.5882 GB, free: 14.9 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004675/0.3797, allocations: 323 kB / 0.5885 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003927/0.3801, allocations: 295 kB / 0.5888 GB, free: 14.6 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003807/0.3805, allocations: 324.9 kB / 0.5891 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.988e-05/0.3806, allocations: 73.91 kB / 0.5892 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00013/0.3807, allocations: 74.72 kB / 0.5893 GB, free: 14.43 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00017/0.3809, allocations: 176.7 kB / 0.5894 GB, free: 14.32 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003524/0.3813, allocations: 383.8 kB / 0.5898 GB, free: 14.09 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001012/0.3823, allocations: 0.9836 MB / 0.5908 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.479e-06/0.3823, allocations: 0.7031 kB / 0.5908 GB, free: 13.73 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.3823, allocations: 5.312 kB / 0.5908 GB, free: 13.73 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.1e-05/0.3823, allocations: 0 / 0.5908 GB, free: 13.73 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.001446/0.3838, allocations: 0.9553 MB / 0.5917 GB, free: 13.03 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.318e-05/0.3838, allocations: 9.812 kB / 0.5917 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001213/0.384, allocations: 80.25 kB / 0.5918 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005806/0.3845, allocations: 453.3 kB / 0.5922 GB, free: 12.62 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.512e-05/0.3846, allocations: 41.2 kB / 0.5923 GB, free: 12.61 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.733e-05/0.3847, allocations: 54.31 kB / 0.5923 GB, free: 12.58 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000746/0.3854, allocations: 426.1 kB / 0.5927 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.782e-05/0.3854, allocations: 0.875 kB / 0.5927 GB, free: 12.4 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.1e-05/0.3855, allocations: 20.5 kB / 0.5927 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.505e-05/0.3855, allocations: 11.5 kB / 0.5927 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007044/0.3862, allocations: 369.2 kB / 0.5931 GB, free: 12.25 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00214/0.3884, allocations: 1.537 MB / 0.5946 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005111/0.3889, allocations: 343.6 kB / 0.5949 GB, free: 11.18 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004382/0.3893, allocations: 314.8 kB / 0.5952 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/0.3894, allocations: 3.938 kB / 0.5952 GB, free: 11.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.088e-05/0.3894, allocations: 39.38 kB / 0.5953 GB, free: 11.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=42): time 2.074e-06/0.3894, allocations: 0 / 0.5953 GB, free: 11.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=42): time 0.0009358/0.3904, allocations: 0.5009 MB / 0.5958 GB, free: 10.79 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.581e-05/0.3904, allocations: 54.78 kB / 0.5958 GB, free: 10.72 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005315/0.3909, allocations: 487.2 kB / 0.5963 GB, free: 10.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.565e-05/0.391, allocations: 31.2 kB / 0.5963 GB, free: 10.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001721/0.3912, allocations: 274.9 kB / 0.5966 GB, free: 10.16 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001123/0.3913, allocations: 146.2 kB / 0.5967 GB, free: 10.04 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.081e-05/0.3914, allocations: 65.14 kB / 0.5968 GB, free: 9.984 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001297/0.3915, allocations: 359.3 kB / 0.5971 GB, free: 9.637 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002325/0.3918, allocations: 121.5 kB / 0.5972 GB, free: 9.578 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00023/0.392, allocations: 129.4 kB / 0.5973 GB, free: 9.516 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.3925, allocations: 291.8 kB / 0.5976 GB, free: 9.367 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.3925, allocations: 1.594 kB / 0.5976 GB, free: 9.367 MB / 446.1 MB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006104/0.3931, allocations: 403.9 kB / 0.598 GB, free: 9.152 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.3931, allocations: 5.469 kB / 0.598 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.319e-06/0.3932, allocations: 0 / 0.598 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.49e-05/0.3932, allocations: 2.078 kB / 0.598 GB, free: 9.152 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004836/0.3937, allocations: 124.9 kB / 0.5981 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.3937, allocations: 1.281 kB / 0.5981 GB, free: 9.125 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002708/0.394, allocations: 40.83 kB / 0.5982 GB, free: 9.094 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.038e-05/0.394, allocations: 11.56 kB / 0.5982 GB, free: 9.09 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.0002001/0.3942, allocations: 193.8 kB / 0.5984 GB, free: 8.926 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.062e-05/0.3943, allocations: 51.62 kB / 0.5984 GB, free: 8.898 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.3944, allocations: 68.25 kB / 0.5985 GB, free: 8.844 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3944, allocations: 7.5 kB / 0.5985 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/0.3944, allocations: 1.344 kB / 0.5985 GB, free: 8.84 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.3944, allocations: 3.984 kB / 0.5985 GB, free: 8.836 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006168/0.395, allocations: 0.5741 MB / 0.5991 GB, free: 8.359 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.3951, allocations: 5.531 kB / 0.5991 GB, free: 8.355 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004819/0.3955, allocations: 127.4 kB / 0.5992 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.3956, allocations: 1.219 kB / 0.5992 GB, free: 8.324 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.488e-05/0.3956, allocations: 10.31 kB / 0.5992 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.777e-06/0.3956, allocations: 1.469 kB / 0.5992 GB, free: 8.316 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.3956, allocations: 5.062 kB / 0.5992 GB, free: 8.312 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/0.3966, allocations: 0.6488 MB / 0.5998 GB, free: 7.914 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001131/0.3967, allocations: 135.5 kB / 0.6 GB, free: 7.777 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.21e-05/0.3967, allocations: 11.06 kB / 0.6 GB, free: 7.77 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.397, allocations: 16.98 kB / 0.6 GB, free: 7.758 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.397, allocations: 23.59 kB / 0.6 GB, free: 7.746 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.705e-05/0.3971, allocations: 11.06 kB / 0.6 GB, free: 7.742 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003719/0.3974, allocations: 346.9 kB / 0.6004 GB, free: 7.543 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3974, allocations: 4 kB / 0.6004 GB, free: 7.539 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000423/0.3979, allocations: 149 kB / 0.6005 GB, free: 7.504 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.0001296/0.398, allocations: 120.2 kB / 0.6006 GB, free: 7.402 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0006915/0.3987, allocations: 337.8 kB / 0.6009 GB, free: 7.25 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.3987, allocations: 0 / 0.6009 GB, free: 7.25 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000276/0.399, allocations: 183.6 kB / 0.6011 GB, free: 7.168 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006801/0.3997, allocations: 131.2 kB / 0.6012 GB, free: 7.102 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.4015, allocations: 1.191 MB / 0.6024 GB, free: 6.324 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003972/0.4019, allocations: 0.8696 MB / 0.6033 GB, free: 5.539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002042/0.4021, allocations: 58.64 kB / 0.6033 GB, free: 5.508 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.95e-05/0.4022, allocations: 39.84 kB / 0.6034 GB, free: 5.496 MB / 446.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4022, allocations: 0 / 0.6034 GB, free: 5.496 MB / 446.1 MB Notification: Performance of Templates: time 0.01242/0.4147, allocations: 5.92 MB / 0.6091 GB, free: 2.723 MB / 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)