Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_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_dev_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.001205/0.001205, allocations: 107.6 kB / 16.36 MB, free: 6.336 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.001148/0.001148, allocations: 195.4 kB / 17.29 MB, free: 5.883 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.22/1.22, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7338/0.7338, allocations: 135.1 MB / 426.3 MB, free: 4.168 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 63.89 kB / 0.5068 GB, free: 7.688 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2978/0.299, allocations: 80.91 MB / 0.5858 GB, free: 25.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003648/0.3027, allocations: 3.016 MB / 0.5887 GB, free: 23.29 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002207/0.3049, allocations: 2.14 MB / 0.5908 GB, free: 21.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002951/0.3052, allocations: 12.5 kB / 0.5908 GB, free: 21.37 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001374/0.3066, allocations: 0.4918 MB / 0.5913 GB, free: 20.88 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003674/0.307, allocations: 152.8 kB / 0.5915 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001397/0.3071, allocations: 60.97 kB / 0.5915 GB, free: 20.67 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004631/0.3076, allocations: 453.5 kB / 0.592 GB, free: 20.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002123/0.3078, allocations: 157.2 kB / 0.5921 GB, free: 20.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002127/0.3081, allocations: 155.3 kB / 0.5923 GB, free: 19.92 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002012/0.3083, allocations: 183.1 kB / 0.5924 GB, free: 19.74 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 4.382e-05/0.3083, allocations: 37.34 kB / 0.5925 GB, free: 19.71 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.723e-05/0.3084, allocations: 32 kB / 0.5925 GB, free: 19.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.1e-05/0.3085, allocations: 95.67 kB / 0.5926 GB, free: 19.58 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001586/0.3086, allocations: 218.9 kB / 0.5928 GB, free: 19.37 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003274/0.309, allocations: 0.5459 MB / 0.5933 GB, free: 18.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.309, allocations: 0 / 0.5933 GB, free: 18.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.309, allocations: 1.562 kB / 0.5933 GB, free: 18.82 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.078e-05/0.309, allocations: 0 / 0.5933 GB, free: 18.82 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.0008517/0.3099, allocations: 0.7028 MB / 0.594 GB, free: 18.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.916e-05/0.3099, allocations: 9.109 kB / 0.594 GB, free: 18.06 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.36e-05/0.31, allocations: 49 kB / 0.5941 GB, free: 18.02 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004057/0.3104, allocations: 388.6 kB / 0.5944 GB, free: 17.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.3104, allocations: 12.81 kB / 0.5945 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.716e-05/0.3104, allocations: 24.12 kB / 0.5945 GB, free: 17.57 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003231/0.3108, allocations: 203.3 kB / 0.5947 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.3108, allocations: 0.5 kB / 0.5947 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.074e-05/0.3108, allocations: 7.984 kB / 0.5947 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.703e-06/0.3108, allocations: 8.594 kB / 0.5947 GB, free: 17.35 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003119/0.3112, allocations: 162.6 kB / 0.5948 GB, free: 17.19 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009621/0.3121, allocations: 0.8614 MB / 0.5957 GB, free: 16.26 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002307/0.3124, allocations: 156.2 kB / 0.5958 GB, free: 16.1 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000163/0.3125, allocations: 105.3 kB / 0.5959 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.437e-05/0.3126, allocations: 4.562 kB / 0.5959 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.203e-05/0.3126, allocations: 39 kB / 0.596 GB, free: 15.94 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.252e-06/0.3126, allocations: 0.6562 kB / 0.596 GB, free: 15.94 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0004675/0.3131, allocations: 258.2 kB / 0.5962 GB, free: 15.69 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.823e-05/0.3131, allocations: 55.41 kB / 0.5963 GB, free: 15.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003199/0.3134, allocations: 417.7 kB / 0.5967 GB, free: 15.2 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.133e-05/0.3134, allocations: 29.7 kB / 0.5967 GB, free: 15.17 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.621e-05/0.3135, allocations: 209.4 kB / 0.5969 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.035e-05/0.3136, allocations: 59.11 kB / 0.597 GB, free: 14.9 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.356e-05/0.3136, allocations: 27.34 kB / 0.597 GB, free: 14.87 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.791e-05/0.3137, allocations: 354.7 kB / 0.5973 GB, free: 14.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001184/0.3138, allocations: 61.3 kB / 0.5974 GB, free: 14.46 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001061/0.3139, allocations: 51.97 kB / 0.5974 GB, free: 14.41 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000224/0.3142, allocations: 148.4 kB / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.3142, allocations: 0 / 0.5976 GB, free: 14.26 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002958/0.3145, allocations: 201.2 kB / 0.5978 GB, free: 14.06 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.214e-05/0.3145, allocations: 11.92 kB / 0.5978 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.3145, allocations: 0 / 0.5978 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.467e-05/0.3145, allocations: 0 / 0.5978 GB, free: 14.05 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002178/0.3147, allocations: 57.16 kB / 0.5978 GB, free: 14 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.3147, allocations: 3.984 kB / 0.5978 GB, free: 13.99 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001225/0.3149, allocations: 28.73 kB / 0.5979 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.707e-06/0.3149, allocations: 0 / 0.5979 GB, free: 13.96 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.000105/0.315, allocations: 162.9 kB / 0.598 GB, free: 13.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.764e-05/0.3151, allocations: 39.47 kB / 0.5981 GB, free: 13.76 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.422e-05/0.3151, allocations: 45.14 kB / 0.5981 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.003e-06/0.3151, allocations: 0 / 0.5981 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.578e-06/0.3151, allocations: 0 / 0.5981 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.267e-06/0.3151, allocations: 0 / 0.5981 GB, free: 13.71 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000278/0.3154, allocations: 382.9 kB / 0.5985 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.3154, allocations: 3.984 kB / 0.5985 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002197/0.3157, allocations: 55.91 kB / 0.5985 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3157, allocations: 5.438 kB / 0.5985 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3157, allocations: 4 kB / 0.5985 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.3157, allocations: 4 kB / 0.5985 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.3157, allocations: 0 / 0.5985 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004448/0.3161, allocations: 391.5 kB / 0.5989 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.067e-05/0.3162, allocations: 121.4 kB / 0.599 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/0.3163, allocations: 0 / 0.599 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.3164, allocations: 10.34 kB / 0.599 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.111e-05/0.3165, allocations: 15.89 kB / 0.599 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.847e-06/0.3165, allocations: 7.984 kB / 0.5991 GB, free: 12.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002248/0.3167, allocations: 299.2 kB / 0.5993 GB, free: 12.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3167, allocations: 0 / 0.5993 GB, free: 12.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002678/0.317, allocations: 76.41 kB / 0.5994 GB, free: 12.3 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 9.657e-05/0.3171, allocations: 104.5 kB / 0.5995 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002835/0.3174, allocations: 144.6 kB / 0.5997 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3174, allocations: 0.5312 kB / 0.5997 GB, free: 12.04 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001388/0.3175, allocations: 77.12 kB / 0.5997 GB, free: 11.97 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004529/0.318, allocations: 93.73 kB / 0.5998 GB, free: 11.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009488/0.319, allocations: 0.7511 MB / 0.6005 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001786/0.3191, allocations: 0.7951 MB / 0.6013 GB, free: 10.32 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001017/0.3193, allocations: 34.95 kB / 0.6014 GB, free: 10.29 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.053e-05/0.3193, allocations: 23.44 kB / 0.6014 GB, free: 10.27 MB / 446.1 MB Notification: Performance of SimCode: time 1.91e-07/0.3193, allocations: 0 / 0.6014 GB, free: 10.27 MB / 446.1 MB Notification: Performance of Templates: time 0.006475/0.3258, allocations: 3.946 MB / 0.6052 GB, free: 6.438 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)