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.00104/0.00104, 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.001091/0.001091, allocations: 199.3 kB / 16.54 MB, free: 6.672 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.244/1.244, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7266/0.7266, allocations: 132.2 MB / 422.6 MB, free: 1.758 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001177, allocations: 64.75 kB / 0.5018 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3482, allocations: 80.2 MB / 0.5801 GB, free: 4.582 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003878/0.3521, allocations: 3.019 MB / 0.5831 GB, free: 2.465 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002302/0.3544, allocations: 2.149 MB / 0.5852 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001871/0.3546, allocations: 5.125 kB / 0.5852 GB, free: 0.9023 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001235/0.3558, allocations: 0.4946 MB / 0.5857 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000254/0.3561, allocations: 147.5 kB / 0.5858 GB, free: 0.582 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001165/0.3563, allocations: 69.98 kB / 0.5859 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.3567, allocations: 442.5 kB / 0.5863 GB, free: 320 kB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000214/0.3569, allocations: 156.5 kB / 0.5864 GB, free: 236 kB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.3571, allocations: 158.4 kB / 0.5866 GB, free: 156 kB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001875/0.3572, allocations: 182.7 kB / 0.5868 GB, free: 60 kB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.632e-05/0.3573, allocations: 35.16 kB / 0.5868 GB, free: 60 kB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.774e-05/0.3574, allocations: 34.75 kB / 0.5868 GB, free: 60 kB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.697e-05/0.3575, allocations: 94.62 kB / 0.5869 GB, free: 4 kB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002272/0.3577, allocations: 225.5 kB / 0.5871 GB, free: 15.86 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005585/0.3583, allocations: 0.5433 MB / 0.5877 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.3583, allocations: 1.609 kB / 0.5877 GB, free: 15.66 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.3583, allocations: 0 / 0.5877 GB, free: 15.66 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.675e-06/0.3583, allocations: 0 / 0.5877 GB, free: 15.66 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.001001/0.3593, allocations: 0.7012 MB / 0.5884 GB, free: 15.09 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.175e-05/0.3594, allocations: 9.844 kB / 0.5884 GB, free: 15.09 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.866e-05/0.3595, allocations: 46.28 kB / 0.5884 GB, free: 15.07 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004457/0.3599, allocations: 373.2 kB / 0.5888 GB, free: 14.76 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.3599, allocations: 21.44 kB / 0.5888 GB, free: 14.75 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.36, allocations: 26.31 kB / 0.5888 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003864/0.3604, allocations: 199.5 kB / 0.589 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.307e-05/0.3604, allocations: 1.344 kB / 0.589 GB, free: 14.64 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.3604, allocations: 13.17 kB / 0.589 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.263e-06/0.3604, allocations: 5.094 kB / 0.589 GB, free: 14.62 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003862/0.3608, allocations: 165.3 kB / 0.5892 GB, free: 14.57 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001202/0.362, allocations: 0.8656 MB / 0.59 GB, free: 13.97 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003035/0.3624, allocations: 151.5 kB / 0.5902 GB, free: 13.9 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002264/0.3626, allocations: 113.5 kB / 0.5903 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.614e-05/0.3626, allocations: 0.9688 kB / 0.5903 GB, free: 13.86 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.3626, allocations: 41.27 kB / 0.5903 GB, free: 13.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.362e-06/0.3627, allocations: 0 / 0.5903 GB, free: 13.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0006208/0.3633, allocations: 256.3 kB / 0.5906 GB, free: 13.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.541e-05/0.3633, allocations: 57.97 kB / 0.5906 GB, free: 13.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005313/0.3639, allocations: 418.4 kB / 0.591 GB, free: 13.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.928e-05/0.3639, allocations: 26.8 kB / 0.591 GB, free: 13.39 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001782/0.3641, allocations: 207.6 kB / 0.5912 GB, free: 13.22 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.622e-05/0.3641, allocations: 63.19 kB / 0.5913 GB, free: 13.17 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.316e-05/0.3642, allocations: 34.91 kB / 0.5913 GB, free: 13.14 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.3644, allocations: 348.6 kB / 0.5917 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001547/0.3645, allocations: 52.67 kB / 0.5917 GB, free: 12.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001463/0.3647, allocations: 62.88 kB / 0.5918 GB, free: 12.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003011/0.365, allocations: 143.9 kB / 0.5919 GB, free: 12.71 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.365, allocations: 0 / 0.5919 GB, free: 12.71 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003855/0.3654, allocations: 201.5 kB / 0.5921 GB, free: 12.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3654, allocations: 11.72 kB / 0.5921 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3654, allocations: 0 / 0.5921 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.3655, allocations: 4 kB / 0.5921 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.3657, allocations: 54.06 kB / 0.5922 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.3657, allocations: 2.312 kB / 0.5922 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.3659, allocations: 23.28 kB / 0.5922 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3659, allocations: 3.406 kB / 0.5922 GB, free: 12.59 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.0001498/0.366, allocations: 167.7 kB / 0.5924 GB, free: 12.45 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.3661, allocations: 40.06 kB / 0.5924 GB, free: 12.42 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.893e-05/0.3662, allocations: 44.47 kB / 0.5924 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3662, allocations: 2.438 kB / 0.5924 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.989e-06/0.3662, allocations: 0.5 kB / 0.5924 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.3662, allocations: 5.266 kB / 0.5924 GB, free: 12.39 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004071/0.3666, allocations: 379.8 kB / 0.5928 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.3666, allocations: 0.875 kB / 0.5928 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002482/0.3669, allocations: 54.5 kB / 0.5929 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.761e-06/0.3669, allocations: 5.219 kB / 0.5929 GB, free: 12.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.515e-05/0.3669, allocations: 5 kB / 0.5929 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.3669, allocations: 1.609 kB / 0.5929 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.3669, allocations: 5.562 kB / 0.5929 GB, free: 12.1 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006069/0.3675, allocations: 373.3 kB / 0.5932 GB, free: 11.87 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-05/0.3676, allocations: 120.4 kB / 0.5933 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.564e-05/0.3677, allocations: 5.25 kB / 0.5934 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.3679, allocations: 6.297 kB / 0.5934 GB, free: 11.75 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.263e-05/0.3679, allocations: 21.55 kB / 0.5934 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.3679, allocations: 4.125 kB / 0.5934 GB, free: 11.73 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003438/0.3683, allocations: 304 kB / 0.5937 GB, free: 11.58 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3683, allocations: 0 / 0.5937 GB, free: 11.58 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000301/0.3686, allocations: 74.14 kB / 0.5937 GB, free: 11.57 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.0001024/0.3687, allocations: 100.4 kB / 0.5938 GB, free: 11.48 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003623/0.3691, allocations: 153.9 kB / 0.594 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.3691, allocations: 0 / 0.594 GB, free: 11.43 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001565/0.3693, allocations: 83.7 kB / 0.5941 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005761/0.3698, allocations: 93.02 kB / 0.5942 GB, free: 11.37 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001112/0.371, allocations: 0.7589 MB / 0.5949 GB, free: 10.9 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003483/0.3713, allocations: 0.7924 MB / 0.5957 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001068/0.3714, allocations: 31.59 kB / 0.5957 GB, free: 10.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.425e-05/0.3715, allocations: 23.56 kB / 0.5957 GB, free: 10.19 MB / 446.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3715, allocations: 2.031 kB / 0.5957 GB, free: 10.19 MB / 446.1 MB Notification: Performance of Templates: time 0.007356/0.3789, allocations: 3.946 MB / 0.5996 GB, free: 8.652 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)