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.005729/0.005729, allocations: 100.2 kB / 15.87 MB, free: 5.871 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.001149/0.001149, allocations: 192 kB / 16.79 MB, free: 5.816 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.382/1.382, allocations: 222.9 MB / 240.5 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.025/1.025, allocations: 135.1 MB / 425.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 68.17 kB / 0.5054 GB, free: 5.684 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1812/0.1827, allocations: 80.91 MB / 0.5844 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.004895/0.1876, allocations: 3.069 MB / 0.5874 GB, free: 1.836 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.003207/0.1909, allocations: 2.102 MB / 0.5894 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004016/0.1913, allocations: 4 kB / 0.5894 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001829/0.1932, allocations: 478 kB / 0.5899 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0005169/0.1937, allocations: 127.2 kB / 0.59 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001783/0.1939, allocations: 59.91 kB / 0.5901 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006832/0.1946, allocations: 472.8 kB / 0.5905 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002573/0.1949, allocations: 135.9 kB / 0.5906 GB, free: 14.47 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002315/0.1951, allocations: 143.4 kB / 0.5908 GB, free: 14.33 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002214/0.1953, allocations: 183.2 kB / 0.591 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.049e-05/0.1954, allocations: 20 kB / 0.591 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.134e-05/0.1954, allocations: 24 kB / 0.591 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001194/0.1956, allocations: 87.61 kB / 0.5911 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001993/0.1958, allocations: 210.9 kB / 0.5913 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003773/0.1962, allocations: 450.8 kB / 0.5917 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.1962, allocations: 0 / 0.5917 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1962, allocations: 0 / 0.5917 GB, free: 13.38 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.1962, allocations: 4 kB / 0.5917 GB, free: 13.37 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.00108/0.1973, allocations: 0.6967 MB / 0.5924 GB, free: 12.62 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.1973, allocations: 8.031 kB / 0.5924 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.317e-05/0.1974, allocations: 48.38 kB / 0.5925 GB, free: 12.57 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004482/0.1979, allocations: 382 kB / 0.5928 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/0.1979, allocations: 20.8 kB / 0.5928 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.24e-05/0.198, allocations: 24.12 kB / 0.5929 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003932/0.1984, allocations: 199.3 kB / 0.5931 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/0.1984, allocations: 0 / 0.5931 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.1984, allocations: 8 kB / 0.5931 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.684e-06/0.1984, allocations: 4 kB / 0.5931 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003679/0.1988, allocations: 161.7 kB / 0.5932 GB, free: 11.75 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001147/0.1999, allocations: 0.8739 MB / 0.5941 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002887/0.2002, allocations: 153.3 kB / 0.5942 GB, free: 10.64 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002341/0.2005, allocations: 108.8 kB / 0.5943 GB, free: 10.54 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.2005, allocations: 3.938 kB / 0.5943 GB, free: 10.53 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/0.2006, allocations: 46.5 kB / 0.5944 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=18): time 1.643e-06/0.2006, allocations: 0 / 0.5944 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of matching and sorting (n=18): time 0.0005685/0.2011, allocations: 247.9 kB / 0.5946 GB, free: 10.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/0.2012, allocations: 55.41 kB / 0.5947 GB, free: 10.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004429/0.2016, allocations: 421.7 kB / 0.5951 GB, free: 9.742 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.908e-05/0.2017, allocations: 29.7 kB / 0.5951 GB, free: 9.707 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001404/0.2018, allocations: 200.2 kB / 0.5953 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.491e-05/0.2019, allocations: 75.02 kB / 0.5954 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/0.2019, allocations: 37.66 kB / 0.5954 GB, free: 9.391 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.2021, allocations: 346.8 kB / 0.5957 GB, free: 9.043 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.2022, allocations: 51.97 kB / 0.5958 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001356/0.2024, allocations: 67.89 kB / 0.5958 GB, free: 8.926 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002742/0.2027, allocations: 138.8 kB / 0.596 GB, free: 8.789 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.2027, allocations: 4 kB / 0.596 GB, free: 8.785 MB / 0.4981 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000366/0.203, allocations: 199.7 kB / 0.5962 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.806e-05/0.2031, allocations: 7.938 kB / 0.5962 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.2031, allocations: 0 / 0.5962 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.2031, allocations: 7.984 kB / 0.5962 GB, free: 8.57 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002573/0.2034, allocations: 55.91 kB / 0.5962 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.504e-06/0.2034, allocations: 0 / 0.5962 GB, free: 8.516 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.2036, allocations: 19.89 kB / 0.5962 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.2036, allocations: 8 kB / 0.5963 GB, free: 8.488 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 (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.0001609/0.2037, allocations: 165.8 kB / 0.5964 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.746e-05/0.2038, allocations: 43.47 kB / 0.5965 GB, free: 8.273 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.211e-05/0.2039, allocations: 39.59 kB / 0.5965 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.2039, allocations: 0 / 0.5965 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.812e-06/0.2039, allocations: 0 / 0.5965 GB, free: 8.227 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.2039, allocations: 7.938 kB / 0.5965 GB, free: 8.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004017/0.2043, allocations: 377.3 kB / 0.5969 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2043, allocations: 4 kB / 0.5969 GB, free: 7.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002671/0.2046, allocations: 51.91 kB / 0.5969 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.528e-06/0.2046, allocations: 3.938 kB / 0.5969 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.712e-05/0.2046, allocations: 8 kB / 0.5969 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.2047, allocations: 0 / 0.5969 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.31e-07/0.2047, allocations: 0 / 0.5969 GB, free: 7.734 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005831/0.2052, allocations: 389.3 kB / 0.5973 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.49e-05/0.2054, allocations: 116.6 kB / 0.5974 GB, free: 7.207 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.29e-05/0.2054, allocations: 8 kB / 0.5974 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/0.2056, allocations: 15.89 kB / 0.5974 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.552e-05/0.2056, allocations: 11.98 kB / 0.5974 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.694e-06/0.2056, allocations: 0 / 0.5974 GB, free: 7.172 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003161/0.206, allocations: 311.2 kB / 0.5977 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.206, allocations: 0 / 0.5977 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003076/0.2063, allocations: 71.84 kB / 0.5978 GB, free: 6.801 MB / 0.4981 GB 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.0001386/0.2064, allocations: 111.2 kB / 0.5979 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003433/0.2068, allocations: 135.9 kB / 0.598 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.2068, allocations: 0 / 0.598 GB, free: 6.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001531/0.2069, allocations: 83.89 kB / 0.5981 GB, free: 6.469 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006426/0.2076, allocations: 90.48 kB / 0.5982 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.2089, allocations: 0.9013 MB / 0.5991 GB, free: 5.453 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.2093, allocations: 0.7953 MB / 0.5999 GB, free: 4.633 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.2094, allocations: 27.44 kB / 0.5999 GB, free: 4.605 MB / 0.4981 GB Notification: Performance of SimCode: time 3.81e-07/0.2094, allocations: 3.938 kB / 0.5999 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of Templates: time 0.006583/0.216, allocations: 4.351 MB / 0.6041 GB, free: 308 kB / 0.4981 GB 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)