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.001458/0.001458, allocations: 105.7 kB / 16.37 MB, free: 6.48 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.001715/0.001715, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7461/0.7461, allocations: 132.2 MB / 423.4 MB, free: 6.629 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 0.5032 GB, free: 10.93 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3151, allocations: 80.19 MB / 0.5815 GB, free: 27.6 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003462/0.3186, allocations: 3.015 MB / 0.5845 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.001928/0.3205, allocations: 2.157 MB / 0.5866 GB, free: 23.51 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001406/0.3207, allocations: 9.656 kB / 0.5866 GB, free: 23.5 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0011/0.3218, allocations: 0.4975 MB / 0.5871 GB, free: 23.18 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001963/0.322, allocations: 148.4 kB / 0.5872 GB, free: 23.06 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.11e-05/0.3221, allocations: 57.53 kB / 0.5873 GB, free: 23.01 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003674/0.3225, allocations: 440.8 kB / 0.5877 GB, free: 22.75 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002107/0.3227, allocations: 160.2 kB / 0.5878 GB, free: 22.66 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000159/0.3228, allocations: 159.1 kB / 0.588 GB, free: 22.57 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000171/0.323, allocations: 184.1 kB / 0.5882 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.252e-05/0.3231, allocations: 35.22 kB / 0.5882 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.807e-05/0.3231, allocations: 33.72 kB / 0.5882 GB, free: 22.44 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.638e-05/0.3232, allocations: 101 kB / 0.5883 GB, free: 22.36 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001524/0.3234, allocations: 217.3 kB / 0.5885 GB, free: 22.22 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003396/0.3237, allocations: 0.545 MB / 0.5891 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3237, allocations: 0.9688 kB / 0.5891 GB, free: 21.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3238, allocations: 0 / 0.5891 GB, free: 21.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.3238, allocations: 0 / 0.5891 GB, free: 21.81 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.0008215/0.3246, allocations: 0.6957 MB / 0.5898 GB, free: 21.2 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.018e-05/0.3246, allocations: 14.22 kB / 0.5898 GB, free: 21.19 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.967e-05/0.3247, allocations: 42.47 kB / 0.5898 GB, free: 21.17 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004048/0.3251, allocations: 387.1 kB / 0.5902 GB, free: 20.82 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.3251, allocations: 17.12 kB / 0.5902 GB, free: 20.81 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.869e-05/0.3252, allocations: 26.69 kB / 0.5902 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003428/0.3255, allocations: 194.9 kB / 0.5904 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.293e-05/0.3256, allocations: 4 kB / 0.5904 GB, free: 20.68 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.788e-05/0.3256, allocations: 11.44 kB / 0.5904 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.3256, allocations: 5.375 kB / 0.5904 GB, free: 20.67 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000337/0.3259, allocations: 167.8 kB / 0.5906 GB, free: 20.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009003/0.3268, allocations: 0.8648 MB / 0.5914 GB, free: 19.84 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002461/0.3271, allocations: 157.3 kB / 0.5916 GB, free: 19.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.3273, allocations: 116.7 kB / 0.5917 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.771e-05/0.3273, allocations: 320 / 0.5917 GB, free: 19.59 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.392e-05/0.3273, allocations: 38.44 kB / 0.5917 GB, free: 19.54 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.072e-06/0.3273, allocations: 5.594 kB / 0.5917 GB, free: 19.54 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004786/0.3278, allocations: 250.5 kB / 0.592 GB, free: 19.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.896e-05/0.3278, allocations: 55.41 kB / 0.592 GB, free: 19.22 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.3282, allocations: 417.6 kB / 0.5924 GB, free: 18.8 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.3282, allocations: 30.48 kB / 0.5925 GB, free: 18.77 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.284e-05/0.3283, allocations: 204.2 kB / 0.5927 GB, free: 18.57 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.753e-05/0.3283, allocations: 67.77 kB / 0.5927 GB, free: 18.5 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.717e-05/0.3284, allocations: 34.39 kB / 0.5927 GB, free: 18.46 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.3284, allocations: 347.6 kB / 0.5931 GB, free: 18.11 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001253/0.3286, allocations: 53.62 kB / 0.5931 GB, free: 18.06 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000112/0.3287, allocations: 63.92 kB / 0.5932 GB, free: 18 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.3289, allocations: 135.4 kB / 0.5933 GB, free: 17.87 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.3289, allocations: 0 / 0.5933 GB, free: 17.87 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003034/0.3292, allocations: 208 kB / 0.5935 GB, free: 17.66 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.3293, allocations: 11.22 kB / 0.5935 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.3293, allocations: 0 / 0.5935 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.368e-05/0.3293, allocations: 5.344 kB / 0.5935 GB, free: 17.65 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.3295, allocations: 59.84 kB / 0.5936 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.019e-06/0.3296, allocations: 0 / 0.5936 GB, free: 17.59 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001273/0.3297, allocations: 27.33 kB / 0.5936 GB, free: 17.57 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.658e-06/0.3297, allocations: 4 kB / 0.5936 GB, free: 17.56 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.000104/0.3298, allocations: 161.8 kB / 0.5938 GB, free: 17.39 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.857e-05/0.3299, allocations: 35.56 kB / 0.5938 GB, free: 17.36 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.778e-05/0.3299, allocations: 39.59 kB / 0.5938 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.3299, allocations: 0 / 0.5938 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.3299, allocations: 0 / 0.5938 GB, free: 17.32 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.557e-06/0.3299, allocations: 8.578 kB / 0.5939 GB, free: 17.31 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002812/0.3302, allocations: 373.9 kB / 0.5942 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3302, allocations: 0 / 0.5942 GB, free: 16.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002306/0.3305, allocations: 56.44 kB / 0.5943 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.3305, allocations: 6.094 kB / 0.5943 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.249e-05/0.3305, allocations: 4 kB / 0.5943 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.3305, allocations: 0 / 0.5943 GB, free: 16.84 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.3305, allocations: 7.969 kB / 0.5943 GB, free: 16.83 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.331, allocations: 377.1 kB / 0.5946 GB, free: 16.45 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.252e-05/0.3311, allocations: 124.6 kB / 0.5948 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.178e-05/0.3311, allocations: 1.5 kB / 0.5948 GB, free: 16.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001563/0.3313, allocations: 19.97 kB / 0.5948 GB, free: 16.29 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.588e-05/0.3313, allocations: 7.984 kB / 0.5948 GB, free: 16.28 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.115e-06/0.3313, allocations: 9.906 kB / 0.5948 GB, free: 16.27 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002321/0.3316, allocations: 303.1 kB / 0.5951 GB, free: 15.97 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3316, allocations: 0 / 0.5951 GB, free: 15.97 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002756/0.3319, allocations: 71.84 kB / 0.5952 GB, free: 15.9 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 8.376e-05/0.3319, allocations: 104.4 kB / 0.5953 GB, free: 15.79 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002925/0.3322, allocations: 141.4 kB / 0.5954 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3323, allocations: 3.938 kB / 0.5954 GB, free: 15.65 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001311/0.3324, allocations: 85.3 kB / 0.5955 GB, free: 15.57 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004841/0.3329, allocations: 85.95 kB / 0.5956 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009368/0.3338, allocations: 0.7489 MB / 0.5963 GB, free: 14.77 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001753/0.334, allocations: 0.799 MB / 0.5971 GB, free: 13.94 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.68e-05/0.3341, allocations: 34.97 kB / 0.5971 GB, free: 13.91 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.165e-05/0.3342, allocations: 23.44 kB / 0.5971 GB, free: 13.89 MB / 446.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3342, allocations: 0 / 0.5971 GB, free: 13.89 MB / 446.1 MB Notification: Performance of Templates: time 0.006084/0.3403, allocations: 3.943 MB / 0.601 GB, free: 10.06 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 gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)