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.001689/0.001689, allocations: 104.8 kB / 16.27 MB, free: 6.055 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.001646/0.001646, allocations: 189.7 kB / 17.2 MB, free: 5.688 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.329/1.329, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8358/0.8358, allocations: 135.2 MB / 426.2 MB, free: 4.164 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001882/0.001883, allocations: 67.91 kB / 0.5061 GB, free: 8.332 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3755/0.3774, allocations: 80.92 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003662/0.3811, allocations: 3.021 MB / 0.588 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002267/0.3834, allocations: 2.149 MB / 0.5901 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001586/0.3836, allocations: 5.062 kB / 0.5902 GB, free: 21.16 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001183/0.3848, allocations: 0.4913 MB / 0.5906 GB, free: 20.84 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000217/0.385, allocations: 147 kB / 0.5908 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001015/0.3851, allocations: 67.86 kB / 0.5908 GB, free: 20.64 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003009/0.3854, allocations: 430 kB / 0.5912 GB, free: 20.22 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001927/0.3856, allocations: 156.6 kB / 0.5914 GB, free: 20.07 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001398/0.3858, allocations: 163.3 kB / 0.5916 GB, free: 19.91 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001539/0.3859, allocations: 179.2 kB / 0.5917 GB, free: 19.73 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.832e-05/0.386, allocations: 36.53 kB / 0.5918 GB, free: 19.7 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.27e-05/0.386, allocations: 37.16 kB / 0.5918 GB, free: 19.66 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.374e-05/0.3861, allocations: 95.61 kB / 0.5919 GB, free: 19.57 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001333/0.3862, allocations: 218.9 kB / 0.5921 GB, free: 19.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003093/0.3866, allocations: 0.5384 MB / 0.5926 GB, free: 18.81 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3866, allocations: 0 / 0.5926 GB, free: 18.81 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.3866, allocations: 0 / 0.5926 GB, free: 18.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.013e-06/0.3866, allocations: 0 / 0.5926 GB, free: 18.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.0007912/0.3874, allocations: 0.7004 MB / 0.5933 GB, free: 18.07 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.3874, allocations: 13.05 kB / 0.5933 GB, free: 18.05 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.618e-05/0.3875, allocations: 48.38 kB / 0.5934 GB, free: 18.01 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003356/0.3878, allocations: 379 kB / 0.5937 GB, free: 17.6 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.3879, allocations: 16.81 kB / 0.5937 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.604e-05/0.3879, allocations: 24.12 kB / 0.5938 GB, free: 17.56 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003269/0.3882, allocations: 209.4 kB / 0.594 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.3883, allocations: 0 / 0.594 GB, free: 17.36 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.038e-05/0.3883, allocations: 8 kB / 0.594 GB, free: 17.35 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3883, allocations: 4 kB / 0.594 GB, free: 17.34 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000317/0.3886, allocations: 162.4 kB / 0.5941 GB, free: 17.18 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008739/0.3895, allocations: 0.8751 MB / 0.595 GB, free: 16.24 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002395/0.3898, allocations: 148.3 kB / 0.5951 GB, free: 16.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001704/0.3899, allocations: 110.6 kB / 0.5952 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/0.39, allocations: 11.94 kB / 0.5952 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.623e-05/0.39, allocations: 34.5 kB / 0.5953 GB, free: 15.92 MB / 446.1 MB Notification: Performance of pre-optimization done (n=18): time 1.112e-06/0.39, allocations: 1.156 kB / 0.5953 GB, free: 15.92 MB / 446.1 MB Notification: Performance of matching and sorting (n=18): time 0.0005088/0.3905, allocations: 252 kB / 0.5955 GB, free: 15.67 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.624e-05/0.3905, allocations: 51.97 kB / 0.5956 GB, free: 15.61 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003281/0.3909, allocations: 423.6 kB / 0.596 GB, free: 15.19 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.204e-05/0.3909, allocations: 29.7 kB / 0.596 GB, free: 15.16 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.391, allocations: 200.2 kB / 0.5962 GB, free: 14.96 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.158e-05/0.391, allocations: 63.09 kB / 0.5962 GB, free: 14.89 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.534e-05/0.3911, allocations: 36.56 kB / 0.5963 GB, free: 14.86 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.767e-05/0.3911, allocations: 346.8 kB / 0.5966 GB, free: 14.51 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001238/0.3913, allocations: 55.97 kB / 0.5967 GB, free: 14.45 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001173/0.3914, allocations: 67.89 kB / 0.5967 GB, free: 14.39 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002408/0.3917, allocations: 136.2 kB / 0.5969 GB, free: 14.25 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.3917, allocations: 4 kB / 0.5969 GB, free: 14.25 MB / 446.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003056/0.392, allocations: 196.2 kB / 0.5971 GB, free: 14.05 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.493e-05/0.392, allocations: 11.94 kB / 0.5971 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.392, allocations: 0 / 0.5971 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.531e-05/0.392, allocations: 0 / 0.5971 GB, free: 14.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.3923, allocations: 63.83 kB / 0.5971 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.3923, allocations: 4.562 kB / 0.5971 GB, free: 13.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001242/0.3924, allocations: 12.62 kB / 0.5971 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.3924, allocations: 8 kB / 0.5971 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.0001096/0.3925, allocations: 163.7 kB / 0.5973 GB, free: 13.79 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.3926, allocations: 39.47 kB / 0.5973 GB, free: 13.75 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.862e-05/0.3926, allocations: 43.58 kB / 0.5974 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.936e-06/0.3927, allocations: 4 kB / 0.5974 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.581e-06/0.3927, allocations: 1.219 kB / 0.5974 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3927, allocations: 3.938 kB / 0.5974 GB, free: 13.7 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.3929, allocations: 373.3 kB / 0.5977 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.393, allocations: 1.719 kB / 0.5978 GB, free: 13.28 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.3932, allocations: 55.95 kB / 0.5978 GB, free: 13.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.3932, allocations: 3.938 kB / 0.5978 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.312e-05/0.3932, allocations: 5.688 kB / 0.5978 GB, free: 13.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3932, allocations: 7.922 kB / 0.5978 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.865e-06/0.3932, allocations: 4 kB / 0.5978 GB, free: 13.21 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004741/0.3937, allocations: 385.2 kB / 0.5982 GB, free: 12.82 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.468e-05/0.3938, allocations: 113.7 kB / 0.5983 GB, free: 12.69 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.374e-05/0.3938, allocations: 11.98 kB / 0.5983 GB, free: 12.68 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000146/0.394, allocations: 8.719 kB / 0.5983 GB, free: 12.67 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.394, allocations: 12.52 kB / 0.5983 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.394, allocations: 4 kB / 0.5983 GB, free: 12.66 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002416/0.3943, allocations: 304.5 kB / 0.5986 GB, free: 12.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3943, allocations: 4 kB / 0.5986 GB, free: 12.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002731/0.3946, allocations: 67.84 kB / 0.5987 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 0.0001109/0.3947, allocations: 108.7 kB / 0.5988 GB, free: 12.18 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003322/0.395, allocations: 156.9 kB / 0.5989 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.395, allocations: 2.312 kB / 0.599 GB, free: 12.03 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00013/0.3952, allocations: 75.91 kB / 0.599 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005482/0.3957, allocations: 103.7 kB / 0.5991 GB, free: 11.86 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001019/0.3968, allocations: 0.7891 MB / 0.5999 GB, free: 11.08 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.3969, allocations: 0.7951 MB / 0.6007 GB, free: 10.26 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.012e-05/0.397, allocations: 27.44 kB / 0.6007 GB, free: 10.23 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.397, allocations: 0 / 0.6007 GB, free: 10.23 MB / 446.1 MB Notification: Performance of Templates: time 0.005178/0.4022, allocations: 4.356 MB / 0.6049 GB, free: 5.918 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)