Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001118/0.001118, allocations: 100.1 kB / 15.88 MB, free: 12 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.00124/0.00124, allocations: 196 kB / 16.79 MB, free: 6.809 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.416/1.416, allocations: 222.9 MB / 240.5 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.006/1.006, allocations: 135.1 MB / 425.7 MB, free: 11.86 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 64.72 kB / 0.5054 GB, free: 5.738 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1783, allocations: 80.92 MB / 0.5844 GB, free: 4.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00507/0.1834, allocations: 4.153 MB / 0.5884 GB, free: 0.7969 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003123/0.1866, allocations: 2.367 MB / 0.5908 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002822/0.1869, allocations: 8 kB / 0.5908 GB, free: 14.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00144/0.1884, allocations: 0.4978 MB / 0.5912 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004073/0.1888, allocations: 218.5 kB / 0.5915 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.189, allocations: 123.9 kB / 0.5916 GB, free: 13.58 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0007219/0.1898, allocations: 0.8086 MB / 0.5924 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004008/0.1902, allocations: 296.1 kB / 0.5926 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000292/0.1905, allocations: 255 kB / 0.5929 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003123/0.1908, allocations: 326.5 kB / 0.5932 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.613e-05/0.1909, allocations: 48 kB / 0.5932 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001/0.191, allocations: 48 kB / 0.5933 GB, free: 11.81 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001427/0.1911, allocations: 143.4 kB / 0.5934 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003018/0.1914, allocations: 350.3 kB / 0.5938 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006292/0.1921, allocations: 0.8104 MB / 0.5946 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.1921, allocations: 8 kB / 0.5946 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1921, allocations: 0 / 0.5946 GB, free: 10.51 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.1921, allocations: 0 / 0.5946 GB, free: 10.51 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001448/0.1936, allocations: 0.9463 MB / 0.5955 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.1936, allocations: 8.031 kB / 0.5955 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001182/0.1937, allocations: 80 kB / 0.5956 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005826/0.1943, allocations: 461.6 kB / 0.596 GB, free: 8.938 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.1944, allocations: 33.38 kB / 0.596 GB, free: 8.906 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.927e-05/0.1945, allocations: 56.12 kB / 0.5961 GB, free: 8.852 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007654/0.1952, allocations: 430.4 kB / 0.5965 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.896e-05/0.1953, allocations: 4 kB / 0.5965 GB, free: 8.422 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.854e-05/0.1953, allocations: 20 kB / 0.5965 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.482e-05/0.1953, allocations: 12 kB / 0.5965 GB, free: 8.391 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007002/0.196, allocations: 363.8 kB / 0.5969 GB, free: 8.035 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002174/0.1982, allocations: 1.528 MB / 0.5984 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005714/0.1988, allocations: 343.1 kB / 0.5987 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005056/0.1993, allocations: 324.8 kB / 0.599 GB, free: 5.777 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.065e-05/0.1994, allocations: 4.688 kB / 0.599 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.673e-05/0.1994, allocations: 38.56 kB / 0.5991 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=42): time 2.535e-06/0.1994, allocations: 0 / 0.5991 GB, free: 5.727 MB / 0.4981 GB Notification: Performance of matching and sorting (n=42): time 0.0009909/0.2004, allocations: 0.4885 MB / 0.5995 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.901e-05/0.2005, allocations: 63.12 kB / 0.5996 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006039/0.2011, allocations: 489.9 kB / 0.6001 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.84e-05/0.2011, allocations: 29.7 kB / 0.6001 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001999/0.2013, allocations: 280.3 kB / 0.6004 GB, free: 4.348 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.2015, allocations: 141.9 kB / 0.6005 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001002/0.2016, allocations: 62.08 kB / 0.6005 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001667/0.2017, allocations: 358.8 kB / 0.6009 GB, free: 3.777 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002495/0.202, allocations: 124.7 kB / 0.601 GB, free: 3.656 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002339/0.2022, allocations: 125.5 kB / 0.6011 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005014/0.2028, allocations: 299.3 kB / 0.6014 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.2028, allocations: 0 / 0.6014 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006402/0.2034, allocations: 400.3 kB / 0.6018 GB, free: 2.844 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.176e-05/0.2034, allocations: 6.031 kB / 0.6018 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/0.2035, allocations: 0 / 0.6018 GB, free: 2.84 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.2035, allocations: 8.766 kB / 0.6018 GB, free: 2.832 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004918/0.204, allocations: 127.8 kB / 0.6019 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.204, allocations: 0 / 0.6019 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002536/0.2043, allocations: 43.66 kB / 0.602 GB, free: 2.664 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.998e-05/0.2043, allocations: 16 kB / 0.602 GB, free: 2.648 MB / 0.4981 GB 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 (46): * Single equations (assignments): 46 * 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.0001921/0.2045, allocations: 197.7 kB / 0.6022 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.2046, allocations: 55.33 kB / 0.6022 GB, free: 2.391 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.2047, allocations: 65.05 kB / 0.6023 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.538e-06/0.2047, allocations: 4 kB / 0.6023 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.624e-06/0.2047, allocations: 0 / 0.6023 GB, free: 2.324 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.615e-06/0.2047, allocations: 7.984 kB / 0.6023 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006083/0.2053, allocations: 0.5713 MB / 0.6029 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-06/0.2053, allocations: 0 / 0.6029 GB, free: 1.695 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004906/0.2058, allocations: 127.9 kB / 0.603 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.2058, allocations: 0 / 0.603 GB, free: 1.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.486e-05/0.2059, allocations: 8 kB / 0.603 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.2059, allocations: 0 / 0.603 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.2059, allocations: 0 / 0.603 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000929/0.2068, allocations: 0.6558 MB / 0.6036 GB, free: 0.8906 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001189/0.2069, allocations: 140.4 kB / 0.6038 GB, free: 0.7344 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.151e-05/0.207, allocations: 8 kB / 0.6038 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002263/0.2072, allocations: 19.98 kB / 0.6038 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.889e-05/0.2073, allocations: 23.97 kB / 0.6038 GB, free: 0.6836 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.2073, allocations: 4 kB / 0.6038 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003774/0.2077, allocations: 355.1 kB / 0.6042 GB, free: 344 kB / 0.4981 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2077, allocations: 4 kB / 0.6042 GB, free: 340 kB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003864/0.2081, allocations: 147.6 kB / 0.6043 GB, free: 192 kB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001372/0.2083, allocations: 111.3 kB / 0.6044 GB, free: 72 kB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.2645/0.4728, allocations: 319 kB / 0.6047 GB, free: 52.65 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4728, allocations: 0.9688 kB / 0.6047 GB, free: 52.65 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003643/0.4732, allocations: 185.8 kB / 0.6049 GB, free: 52.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/0.4743, allocations: 121.2 kB / 0.605 GB, free: 52.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002333/0.4766, allocations: 1.443 MB / 0.6064 GB, free: 51.89 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003546/0.477, allocations: 0.8698 MB / 0.6073 GB, free: 51.18 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001397/0.4771, allocations: 37.25 kB / 0.6073 GB, free: 51.18 MB / 0.4981 GB Notification: Performance of SimCode: time 1.102e-06/0.4771, allocations: 0 / 0.6073 GB, free: 51.18 MB / 0.4981 GB Notification: Performance of Templates: time 0.00915/0.4863, allocations: 6.835 MB / 0.614 GB, free: 50.59 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)