Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00159/0.00159, allocations: 105.4 kB / 15.99 MB, free: 6.348 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.001595/0.001595, allocations: 198.9 kB / 16.91 MB, free: 6.188 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.394/1.394, allocations: 222.9 MB / 240.6 MB, free: 13.75 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8085/0.8085, allocations: 135.1 MB / 425.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001851/0.001852, allocations: 63.89 kB / 0.5056 GB, free: 8.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3614/0.3633, allocations: 80.91 MB / 0.5846 GB, free: 25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002072/0.3654, allocations: 1.487 MB / 0.5861 GB, free: 23.84 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002992/0.3684, allocations: 2.825 MB / 0.5888 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.804e-05/0.3684, allocations: 0 / 0.5888 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 2.869e-05/0.3685, allocations: 3.938 kB / 0.5888 GB, free: 21.62 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 5.451e-05/0.3685, allocations: 9.391 kB / 0.5888 GB, free: 21.61 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002857/0.3714, allocations: 1.428 MB / 0.5902 GB, free: 20.73 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 5.809e-05/0.3714, allocations: 37.95 kB / 0.5903 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.125e-05/0.3715, allocations: 4.75 kB / 0.5903 GB, free: 20.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.394e-05/0.3715, allocations: 17.12 kB / 0.5903 GB, free: 20.7 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.351e-05/0.3715, allocations: 22.41 kB / 0.5903 GB, free: 20.69 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.3716, allocations: 3.031 kB / 0.5903 GB, free: 20.69 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.3729, allocations: 1.417 MB / 0.5917 GB, free: 19.48 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 1.087e-05/0.373, allocations: 11.94 kB / 0.5917 GB, free: 19.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 2.277e-05/0.373, allocations: 15.88 kB / 0.5917 GB, free: 19.46 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006175/0.3736, allocations: 0.7336 MB / 0.5924 GB, free: 18.72 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.3736, allocations: 0.7812 kB / 0.5924 GB, free: 18.72 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3736, allocations: 0 / 0.5924 GB, free: 18.72 MB / 446.1 MB Notification: Performance of Transformations before backend: time 4.979e-06/0.3736, allocations: 1.438 kB / 0.5925 GB, free: 18.72 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004028/0.3741, allocations: 0.5184 MB / 0.593 GB, free: 18.16 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.3741, allocations: 8.031 kB / 0.593 GB, free: 18.15 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.183e-05/0.3741, allocations: 88.84 kB / 0.593 GB, free: 18.06 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.672e-05/0.3742, allocations: 250.8 kB / 0.5933 GB, free: 17.78 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.396e-05/0.3743, allocations: 150.9 kB / 0.5934 GB, free: 17.63 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.382e-05/0.3743, allocations: 155.6 kB / 0.5936 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.903e-05/0.3743, allocations: 105.7 kB / 0.5937 GB, free: 17.37 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.3744, allocations: 75.88 kB / 0.5938 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.115e-05/0.3744, allocations: 151.9 kB / 0.5939 GB, free: 17.15 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.773e-05/0.3744, allocations: 154.6 kB / 0.594 GB, free: 17 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.117e-05/0.3744, allocations: 151.2 kB / 0.5942 GB, free: 16.85 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001672/0.3746, allocations: 467 kB / 0.5946 GB, free: 16.34 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.195e-05/0.3746, allocations: 178.6 kB / 0.5948 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.625e-05/0.3747, allocations: 81.77 kB / 0.5949 GB, free: 16.08 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.3747, allocations: 75.28 kB / 0.595 GB, free: 16 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.218e-05/0.3747, allocations: 108.7 kB / 0.5951 GB, free: 15.89 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.342e-06/0.3747, allocations: 0 / 0.5951 GB, free: 15.89 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 5.962e-05/0.3748, allocations: 37.55 kB / 0.5951 GB, free: 15.85 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.101e-05/0.3748, allocations: 126.7 kB / 0.5952 GB, free: 15.71 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.3749, allocations: 132.2 kB / 0.5953 GB, free: 15.57 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.282e-06/0.3749, allocations: 29.64 kB / 0.5954 GB, free: 15.54 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.765e-05/0.375, allocations: 93.97 kB / 0.5955 GB, free: 15.45 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.573e-06/0.375, allocations: 0 / 0.5955 GB, free: 15.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.375, allocations: 17.72 kB / 0.5955 GB, free: 15.42 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.416e-05/0.375, allocations: 319.4 kB / 0.5958 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.3751, allocations: 4.5 kB / 0.5958 GB, free: 15.1 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.3751, allocations: 4.562 kB / 0.5958 GB, free: 15.09 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.844e-05/0.3751, allocations: 9.484 kB / 0.5958 GB, free: 15.08 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3751, allocations: 7.938 kB / 0.5958 GB, free: 15.07 MB / 446.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.765e-05/0.3752, allocations: 56.12 kB / 0.5959 GB, free: 15.02 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.899e-06/0.3752, allocations: 4 kB / 0.5959 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.649e-05/0.3753, allocations: 4 kB / 0.5959 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.3753, allocations: 0 / 0.5959 GB, free: 15.01 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.3753, allocations: 3.938 kB / 0.5959 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.018e-06/0.3753, allocations: 0 / 0.5959 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.884e-05/0.3753, allocations: 1.219 kB / 0.5959 GB, free: 15 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.3753, allocations: 7.938 kB / 0.5959 GB, free: 15 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 5.068e-05/0.3754, allocations: 190.6 kB / 0.5961 GB, free: 14.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.402e-05/0.3754, allocations: 116.9 kB / 0.5962 GB, free: 14.68 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.3754, allocations: 104.9 kB / 0.5963 GB, free: 14.57 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.379e-05/0.3755, allocations: 189.7 kB / 0.5965 GB, free: 14.38 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.53e-05/0.3755, allocations: 176.3 kB / 0.5966 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.383e-05/0.3755, allocations: 185.7 kB / 0.5968 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001266/0.3757, allocations: 418.6 kB / 0.5972 GB, free: 13.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.526e-05/0.3757, allocations: 105.1 kB / 0.5973 GB, free: 13.44 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.331e-05/0.3757, allocations: 108.9 kB / 0.5974 GB, free: 13.33 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.109e-05/0.3757, allocations: 177.7 kB / 0.5976 GB, free: 13.15 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.633e-05/0.3758, allocations: 188.2 kB / 0.5978 GB, free: 12.96 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.393e-05/0.3758, allocations: 181.2 kB / 0.5979 GB, free: 12.77 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.415e-05/0.3758, allocations: 181.3 kB / 0.5981 GB, free: 12.59 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.695e-05/0.3759, allocations: 301.9 kB / 0.5984 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.251e-05/0.3759, allocations: 197.9 kB / 0.5986 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.4e-05/0.376, allocations: 176.9 kB / 0.5987 GB, free: 11.88 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/0.376, allocations: 114 kB / 0.5989 GB, free: 11.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.855e-05/0.3761, allocations: 177.3 kB / 0.599 GB, free: 11.58 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.3761, allocations: 101 kB / 0.5991 GB, free: 11.47 MB / 446.1 MB Notification: Performance of sorting global known variables: time 3.237e-05/0.3761, allocations: 105.8 kB / 0.5992 GB, free: 11.37 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3761, allocations: 0 / 0.5992 GB, free: 11.37 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000506/0.3766, allocations: 275.8 kB / 0.5995 GB, free: 11.1 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.0008035/0.3774, allocations: 0.5151 MB / 0.6 GB, free: 10.58 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 8.385e-05/0.3775, allocations: 41.69 kB / 0.6 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3775, allocations: 0 / 0.6 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 1.493e-06/0.3775, allocations: 5.188 kB / 0.6 GB, free: 10.53 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002961/0.3778, allocations: 463.7 kB / 0.6005 GB, free: 10.07 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002385/0.3781, allocations: 276.9 kB / 0.6007 GB, free: 9.773 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.631e-05/0.3782, allocations: 0.6812 MB / 0.6014 GB, free: 9.066 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.107e-06/0.3782, allocations: 9.062 kB / 0.6014 GB, free: 9.059 MB / 446.1 MB Notification: Performance of SimCode: time 1.9e-07/0.3782, allocations: 0 / 0.6014 GB, free: 9.059 MB / 446.1 MB Notification: Performance of Templates: time 0.005445/0.3837, allocations: 4.624 MB / 0.6059 GB, free: 4.469 MB / 446.1 MB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)