Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00731/0.00731, allocations: 170.8 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7312/0.7312, allocations: 132.3 MB / 148.1 MB, free: 192 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.544/1.544, allocations: 223.2 MB / 403.2 MB, free: 6.715 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008543/0.0008542, allocations: 89.86 kB / 485.5 MB, free: 14.13 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 8 kB / 0.5641 GB, free: 2.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.46/0.4604, allocations: 81.59 MB / 0.6438 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1594/0.6198, allocations: 121.7 MB / 0.7627 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003444/0.6202, allocations: 111.9 kB / 0.7628 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.05798/0.6782, allocations: 22.21 MB / 0.7845 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.803e-06/0.6782, allocations: 0 / 0.7845 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 2.129e-05/0.6783, allocations: 12 kB / 0.7845 GB, free: 7.75 MB / 0.5573 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.001416/0.6797, allocations: 0.8435 MB / 0.7853 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.585e-05/0.6798, allocations: 16.03 kB / 0.7853 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000118/0.6799, allocations: 71.16 kB / 0.7854 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006129/0.6805, allocations: 436.7 kB / 0.7858 GB, free: 6.305 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.079e-05/0.6806, allocations: 37 kB / 0.7858 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-05/0.6807, allocations: 44 kB / 0.7859 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008484/0.6815, allocations: 422.4 kB / 0.7863 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.6815, allocations: 4 kB / 0.7863 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.6816, allocations: 20 kB / 0.7863 GB, free: 5.781 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.865e-05/0.6816, allocations: 15.98 kB / 0.7863 GB, free: 5.766 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006976/0.6823, allocations: 371.8 kB / 0.7867 GB, free: 5.402 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002305/0.6846, allocations: 1.551 MB / 0.7882 GB, free: 3.777 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005491/0.6852, allocations: 339 kB / 0.7885 GB, free: 3.434 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.773e-05/0.6852, allocations: 4 kB / 0.7885 GB, free: 3.43 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.6853, allocations: 34.56 kB / 0.7886 GB, free: 3.387 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=42): time 5.16e-06/0.6853, allocations: 4.75 kB / 0.7886 GB, free: 3.383 MB / 0.5573 GB Notification: Performance of matching and sorting (n=42): time 0.001038/0.6863, allocations: 0.5058 MB / 0.7891 GB, free: 2.871 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.541e-05/0.6864, allocations: 59.39 kB / 0.7891 GB, free: 2.801 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006597/0.6871, allocations: 429.1 kB / 0.7895 GB, free: 2.375 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.6871, allocations: 33.7 kB / 0.7896 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002566/0.6874, allocations: 272.4 kB / 0.7898 GB, free: 2.066 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001576/0.6876, allocations: 149.8 kB / 0.79 GB, free: 1.918 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.561e-05/0.6876, allocations: 7.938 kB / 0.79 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0002444/0.6878, allocations: 366.7 kB / 0.7903 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002705/0.6881, allocations: 128.6 kB / 0.7904 GB, free: 1.414 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002535/0.6884, allocations: 129.2 kB / 0.7906 GB, free: 1.289 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002972/0.6887, allocations: 141.9 kB / 0.7907 GB, free: 1.148 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.6887, allocations: 3.938 kB / 0.7907 GB, free: 1.145 MB / 0.5573 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000714/0.6894, allocations: 396.6 kB / 0.7911 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 3.401e-05/0.6895, allocations: 15.98 kB / 0.7911 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.105e-06/0.6895, allocations: 0 / 0.7911 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.439e-05/0.6895, allocations: 0 / 0.7911 GB, free: 0.7383 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005421/0.69, allocations: 127.9 kB / 0.7912 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.24e-05/0.6901, allocations: 0 / 0.7912 GB, free: 0.6133 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.6904, allocations: 51.67 kB / 0.7913 GB, free: 0.5625 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.274e-05/0.6904, allocations: 8 kB / 0.7913 GB, free: 0.5547 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003472/0.6908, allocations: 201.7 kB / 0.7915 GB, free: 356 kB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.742e-05/0.6909, allocations: 51.34 kB / 0.7915 GB, free: 304 kB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001324/0.691, allocations: 61.09 kB / 0.7916 GB, free: 240 kB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.374e-06/0.691, allocations: 8 kB / 0.7916 GB, free: 232 kB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.6911, allocations: 4 kB / 0.7916 GB, free: 228 kB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.6911, allocations: 0 / 0.7916 GB, free: 228 kB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4351/1.126, allocations: 0.5609 MB / 0.7921 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.884e-06/1.126, allocations: 3.516 kB / 0.7921 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006263/1.127, allocations: 126.1 kB / 0.7923 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.807e-06/1.127, allocations: 2.031 kB / 0.7923 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.371e-05/1.127, allocations: 8.219 kB / 0.7923 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.133e-06/1.127, allocations: 1.844 kB / 0.7923 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/1.127, allocations: 9.781 kB / 0.7923 GB, free: 132.8 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/1.128, allocations: 0.6617 MB / 0.7929 GB, free: 132.7 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000198/1.128, allocations: 141.5 kB / 0.7931 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.909e-05/1.129, allocations: 5.469 kB / 0.7931 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002534/1.129, allocations: 26.72 kB / 0.7931 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.249e-05/1.129, allocations: 23.34 kB / 0.7931 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/1.129, allocations: 14.12 kB / 0.7931 GB, free: 132.6 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0005308/1.129, allocations: 347.9 kB / 0.7935 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 2.21e-07/1.129, allocations: 0.8438 kB / 0.7935 GB, free: 132.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006104/1.13, allocations: 152 kB / 0.7936 GB, free: 132.5 MB / 0.5573 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004666/1.131, allocations: 268.3 kB / 0.7939 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007329/1.131, allocations: 332.6 kB / 0.7942 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/1.131, allocations: 0.875 kB / 0.7942 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003764/1.132, allocations: 185.8 kB / 0.7943 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006161/1.132, allocations: 120 kB / 0.7945 GB, free: 132.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002305/1.135, allocations: 1.435 MB / 0.7959 GB, free: 131.7 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004563/1.135, allocations: 0.8813 MB / 0.7967 GB, free: 131 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0002804/1.135, allocations: 53.88 kB / 0.7968 GB, free: 131 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/1.136, allocations: 35.12 kB / 0.7968 GB, free: 131 MB / 0.5573 GB Notification: Performance of SimCode: time 6.91e-07/1.136, allocations: 0 / 0.7968 GB, free: 131 MB / 0.5573 GB Notification: Performance of Templates: time 0.02015/1.156, allocations: 7.046 MB / 0.8037 GB, free: 130.6 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)