Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.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.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 101.8 kB / 16.35 MB, free: 5.875 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.001435/0.001435, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8223/0.8223, allocations: 132.2 MB / 423.3 MB, free: 6.594 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 63.89 kB / 0.5032 GB, free: 10.88 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3941/0.3953, allocations: 80.17 MB / 0.5815 GB, free: 27.52 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002694/0.398, allocations: 1.372 MB / 0.5829 GB, free: 26.46 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002533/0.4006, allocations: 1.8 MB / 0.5846 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.4007, allocations: 1.094 kB / 0.5846 GB, free: 25.05 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 9.069e-05/0.4008, allocations: 16.23 kB / 0.5847 GB, free: 25.04 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001576/0.401, allocations: 30.47 kB / 0.5847 GB, free: 25.02 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002438/0.4034, allocations: 1.134 MB / 0.5858 GB, free: 24.28 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001192/0.4035, allocations: 54.58 kB / 0.5858 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.334e-05/0.4036, allocations: 2.875 kB / 0.5858 GB, free: 24.25 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.014e-05/0.4037, allocations: 25.86 kB / 0.5859 GB, free: 24.24 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.044e-05/0.4038, allocations: 37.95 kB / 0.5859 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.438e-05/0.4038, allocations: 3.062 kB / 0.5859 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001144/0.4049, allocations: 0.888 MB / 0.5868 GB, free: 23.7 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 9.017e-05/0.405, allocations: 63.38 kB / 0.5868 GB, free: 23.67 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.4051, allocations: 70.77 kB / 0.5869 GB, free: 23.62 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001027/0.4061, allocations: 0.8731 MB / 0.5878 GB, free: 23.14 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4061, allocations: 1.531 kB / 0.5878 GB, free: 23.14 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.294e-06/0.4062, allocations: 0.7188 kB / 0.5878 GB, free: 23.14 MB / 446.1 MB Notification: Performance of Transformations before backend: time 9.287e-06/0.4062, allocations: 0 / 0.5878 GB, free: 23.14 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.000638/0.4068, allocations: 0.5822 MB / 0.5883 GB, free: 22.59 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.463e-05/0.4069, allocations: 13.67 kB / 0.5883 GB, free: 22.59 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.432e-05/0.4069, allocations: 28.47 kB / 0.5884 GB, free: 22.57 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001821/0.4071, allocations: 224.5 kB / 0.5886 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.4071, allocations: 2.438 kB / 0.5886 GB, free: 22.33 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.4072, allocations: 3.938 kB / 0.5886 GB, free: 22.32 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000154/0.4073, allocations: 105.3 kB / 0.5887 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.304e-06/0.4073, allocations: 1.406 kB / 0.5887 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.514e-06/0.4073, allocations: 0 / 0.5887 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.4074, allocations: 0 / 0.5887 GB, free: 22.27 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.128e-05/0.4074, allocations: 79.91 kB / 0.5888 GB, free: 22.24 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002529/0.4077, allocations: 276.3 kB / 0.589 GB, free: 21.99 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.4078, allocations: 129.9 kB / 0.5892 GB, free: 21.91 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.449e-05/0.4079, allocations: 108.7 kB / 0.5893 GB, free: 21.86 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.408, allocations: 8.422 kB / 0.5893 GB, free: 21.85 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.823e-05/0.408, allocations: 32 kB / 0.5893 GB, free: 21.81 MB / 446.1 MB Notification: Performance of pre-optimization done (n=32): time 1.433e-06/0.408, allocations: 0 / 0.5893 GB, free: 21.81 MB / 446.1 MB Notification: Performance of matching and sorting (n=32): time 0.0004208/0.4084, allocations: 347 kB / 0.5896 GB, free: 21.68 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.605e-05/0.4085, allocations: 52.69 kB / 0.5897 GB, free: 21.62 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002281/0.4087, allocations: 252.8 kB / 0.5899 GB, free: 21.45 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.775e-06/0.4087, allocations: 25.7 kB / 0.5899 GB, free: 21.41 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.157e-05/0.4088, allocations: 133.7 kB / 0.5901 GB, free: 21.28 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.537e-05/0.4088, allocations: 102.4 kB / 0.5902 GB, free: 21.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.141e-05/0.4089, allocations: 26.3 kB / 0.5902 GB, free: 21.15 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.925e-05/0.4089, allocations: 347.8 kB / 0.5905 GB, free: 20.8 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.999e-05/0.409, allocations: 75.97 kB / 0.5906 GB, free: 20.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.279e-05/0.409, allocations: 78.23 kB / 0.5907 GB, free: 20.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.4092, allocations: 192.8 kB / 0.5909 GB, free: 20.46 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.4092, allocations: 3.938 kB / 0.5909 GB, free: 20.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0001661/0.4093, allocations: 225.5 kB / 0.5911 GB, free: 20.23 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/0.4094, allocations: 8 kB / 0.5911 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.4094, allocations: 0 / 0.5911 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.532e-05/0.4094, allocations: 1.625 kB / 0.5911 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.71e-07/0.4094, allocations: 0 / 0.5911 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.4094, allocations: 0 / 0.5911 GB, free: 20.22 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.532e-05/0.4095, allocations: 19.73 kB / 0.5911 GB, free: 20.2 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.4095, allocations: 0.8438 kB / 0.5911 GB, free: 20.2 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 9.084e-05/0.4096, allocations: 163.3 kB / 0.5913 GB, free: 20.04 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.814e-05/0.4096, allocations: 23.72 kB / 0.5913 GB, free: 20.01 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002179/0.4098, allocations: 249 kB / 0.5915 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.4098, allocations: 4 kB / 0.5915 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/0.4098, allocations: 0 / 0.5915 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.4099, allocations: 0 / 0.5915 GB, free: 19.76 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.41, allocations: 287.1 kB / 0.5918 GB, free: 19.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.41, allocations: 7.938 kB / 0.5918 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.41, allocations: 0 / 0.5918 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.41, allocations: 0 / 0.5918 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.681e-06/0.41, allocations: 5.75 kB / 0.5918 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.41, allocations: 0 / 0.5918 GB, free: 19.42 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4101, allocations: 4 kB / 0.5918 GB, free: 19.41 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001722/0.4102, allocations: 261.3 kB / 0.5921 GB, free: 19.14 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.905e-05/0.4103, allocations: 104.2 kB / 0.5922 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.4103, allocations: 3.938 kB / 0.5922 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.615e-05/0.4103, allocations: 4 kB / 0.5922 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.803e-05/0.4104, allocations: 0 / 0.5922 GB, free: 19.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.665e-06/0.4104, allocations: 0 / 0.5922 GB, free: 19.02 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001108/0.4105, allocations: 192.4 kB / 0.5924 GB, free: 18.83 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4105, allocations: 0 / 0.5924 GB, free: 18.83 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005972/0.4111, allocations: 211.8 kB / 0.5926 GB, free: 18.62 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 (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 Backend phase and start with SimCode phase: time 0.0006228/0.4117, allocations: 332.7 kB / 0.5929 GB, free: 18.29 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002206/0.412, allocations: 269.5 kB / 0.5931 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.412, allocations: 0.5312 kB / 0.5931 GB, free: 18.02 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.808e-05/0.4121, allocations: 177.6 kB / 0.5933 GB, free: 17.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002293/0.4123, allocations: 18.81 kB / 0.5933 GB, free: 17.82 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005368/0.4129, allocations: 498 kB / 0.5938 GB, free: 17.31 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001752/0.413, allocations: 0.7678 MB / 0.5945 GB, free: 16.51 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.344e-05/0.4131, allocations: 0.6875 kB / 0.5945 GB, free: 16.51 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.249e-05/0.4131, allocations: 12.41 kB / 0.5946 GB, free: 16.5 MB / 446.1 MB Notification: Performance of SimCode: time 2.2e-07/0.4131, allocations: 0 / 0.5946 GB, free: 16.5 MB / 446.1 MB Notification: Performance of Templates: time 0.007688/0.4208, allocations: 4.59 MB / 0.599 GB, free: 12.03 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1)