Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 106.6 kB / 16.37 MB, free: 6.008 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.001681/0.001682, allocations: 193.9 kB / 17.3 MB, free: 5.617 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.37/1.37, 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.7881/0.7881, allocations: 132.2 MB / 423.4 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001216/0.001216, allocations: 71.83 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3605, allocations: 80.19 MB / 0.5815 GB, free: 27.55 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003685/0.3642, allocations: 3.013 MB / 0.5845 GB, free: 25.2 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002224/0.3664, allocations: 2.156 MB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001853/0.3666, allocations: 5.688 kB / 0.5866 GB, free: 23.46 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001196/0.3678, allocations: 0.4986 MB / 0.5871 GB, free: 23.14 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002154/0.3681, allocations: 145.8 kB / 0.5872 GB, free: 23.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001021/0.3682, allocations: 62.17 kB / 0.5873 GB, free: 22.96 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003865/0.3686, allocations: 444.3 kB / 0.5877 GB, free: 22.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.3688, allocations: 158.5 kB / 0.5878 GB, free: 22.61 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001721/0.369, allocations: 164 kB / 0.588 GB, free: 22.52 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001789/0.3692, allocations: 183.2 kB / 0.5882 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.458e-05/0.3692, allocations: 34.38 kB / 0.5882 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.02e-05/0.3693, allocations: 35.22 kB / 0.5882 GB, free: 22.39 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.419e-05/0.3694, allocations: 98.56 kB / 0.5883 GB, free: 22.31 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001527/0.3695, allocations: 218.5 kB / 0.5885 GB, free: 22.17 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000361/0.3699, allocations: 0.5448 MB / 0.5891 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3699, allocations: 2.25 kB / 0.5891 GB, free: 21.76 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.382e-06/0.3699, allocations: 0 / 0.5891 GB, free: 21.76 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.264e-06/0.3699, allocations: 1.188 kB / 0.5891 GB, free: 21.76 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008443/0.3708, allocations: 0.6933 MB / 0.5898 GB, free: 21.14 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.901e-05/0.3708, allocations: 14.66 kB / 0.5898 GB, free: 21.14 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.274e-05/0.3709, allocations: 43.81 kB / 0.5898 GB, free: 21.12 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004612/0.3714, allocations: 381.2 kB / 0.5902 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.3714, allocations: 16.94 kB / 0.5902 GB, free: 20.77 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.292e-05/0.3715, allocations: 27.66 kB / 0.5902 GB, free: 20.75 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003787/0.3718, allocations: 198.2 kB / 0.5904 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.3719, allocations: 0 / 0.5904 GB, free: 20.63 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.108e-05/0.3719, allocations: 15.56 kB / 0.5904 GB, free: 20.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.418e-06/0.3719, allocations: 8.734 kB / 0.5904 GB, free: 20.61 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.3723, allocations: 164.5 kB / 0.5906 GB, free: 20.54 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001026/0.3733, allocations: 0.8646 MB / 0.5914 GB, free: 19.79 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000274/0.3736, allocations: 154.1 kB / 0.5916 GB, free: 19.71 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001852/0.3738, allocations: 112.8 kB / 0.5917 GB, free: 19.61 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.3738, allocations: 5.375 kB / 0.5917 GB, free: 19.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.3739, allocations: 34.5 kB / 0.5917 GB, free: 19.56 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.342e-06/0.3739, allocations: 0.875 kB / 0.5917 GB, free: 19.56 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005109/0.3744, allocations: 256.9 kB / 0.592 GB, free: 19.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.854e-05/0.3744, allocations: 56.19 kB / 0.592 GB, free: 19.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003404/0.3748, allocations: 413.7 kB / 0.5924 GB, free: 18.83 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.3748, allocations: 32.23 kB / 0.5925 GB, free: 18.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.046e-05/0.3749, allocations: 208.2 kB / 0.5927 GB, free: 18.59 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.252e-05/0.3749, allocations: 59.02 kB / 0.5927 GB, free: 18.53 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.879e-05/0.375, allocations: 37.7 kB / 0.5927 GB, free: 18.48 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 6.525e-05/0.3751, allocations: 346.8 kB / 0.5931 GB, free: 18.14 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001207/0.3752, allocations: 57.59 kB / 0.5931 GB, free: 18.08 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001091/0.3753, allocations: 59.92 kB / 0.5932 GB, free: 18.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002305/0.3755, allocations: 138.7 kB / 0.5933 GB, free: 17.89 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3755, allocations: 3.938 kB / 0.5933 GB, free: 17.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002992/0.3758, allocations: 202.8 kB / 0.5935 GB, free: 17.68 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3759, allocations: 11.94 kB / 0.5935 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.3759, allocations: 0 / 0.5935 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.434e-05/0.3759, allocations: 0 / 0.5935 GB, free: 17.67 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002243/0.3761, allocations: 57.5 kB / 0.5936 GB, free: 17.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.3761, allocations: 7.938 kB / 0.5936 GB, free: 17.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001263/0.3763, allocations: 19.83 kB / 0.5936 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.3763, allocations: 8.5 kB / 0.5936 GB, free: 17.58 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 (20): * Single equations (assignments): 20 * 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.0001023/0.3764, allocations: 163 kB / 0.5938 GB, free: 17.41 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.833e-05/0.3764, allocations: 35.56 kB / 0.5938 GB, free: 17.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.785e-05/0.3765, allocations: 40.25 kB / 0.5938 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.3765, allocations: 6.469 kB / 0.5939 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.3765, allocations: 0 / 0.5939 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.3765, allocations: 0 / 0.5939 GB, free: 17.34 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.3768, allocations: 377.2 kB / 0.5942 GB, free: 16.92 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.3768, allocations: 0 / 0.5942 GB, free: 16.92 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3771, allocations: 55.91 kB / 0.5943 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3771, allocations: 6.188 kB / 0.5943 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.309e-05/0.3771, allocations: 4 kB / 0.5943 GB, free: 16.86 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.3771, allocations: 4 kB / 0.5943 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3771, allocations: 0 / 0.5943 GB, free: 16.85 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004618/0.3776, allocations: 381.7 kB / 0.5946 GB, free: 16.46 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.69e-05/0.3777, allocations: 120.5 kB / 0.5948 GB, free: 16.33 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.315e-05/0.3777, allocations: 8 kB / 0.5948 GB, free: 16.32 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001641/0.3779, allocations: 11.98 kB / 0.5948 GB, free: 16.31 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.196e-05/0.3779, allocations: 9.516 kB / 0.5948 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.3779, allocations: 4 kB / 0.5948 GB, free: 16.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.3782, allocations: 307.1 kB / 0.5951 GB, free: 16 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3782, allocations: 1.219 kB / 0.5951 GB, free: 16 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002845/0.3785, allocations: 75.83 kB / 0.5952 GB, free: 15.92 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.0001075/0.3786, allocations: 104.2 kB / 0.5953 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003055/0.3789, allocations: 137 kB / 0.5954 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.3789, allocations: 0 / 0.5954 GB, free: 15.68 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.3791, allocations: 88.42 kB / 0.5955 GB, free: 15.59 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.3796, allocations: 101.9 kB / 0.5956 GB, free: 15.51 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009677/0.3805, allocations: 0.7533 MB / 0.5963 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001721/0.3807, allocations: 0.7912 MB / 0.5971 GB, free: 13.95 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.767e-05/0.3808, allocations: 30.97 kB / 0.5971 GB, free: 13.93 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.321e-05/0.3809, allocations: 23.44 kB / 0.5971 GB, free: 13.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.72e-07/0.3809, allocations: 0 / 0.5971 GB, free: 13.9 MB / 446.1 MB Notification: Performance of Templates: time 0.006301/0.3872, allocations: 3.94 MB / 0.601 GB, free: 10.07 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)