Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00112/0.00112, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001208/0.001208, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.655/1.655, allocations: 205.4 MB / 222.1 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.641/1.641, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005322/0.0005322, allocations: 14.44 kB / 0.6736 GB, free: 26.25 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2657/0.2662, allocations: 116.3 MB / 0.7872 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.003661/0.2699, allocations: 2.416 MB / 0.7895 GB, free: 9.531 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003022/0.273, allocations: 1.954 MB / 0.7914 GB, free: 7.566 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003742/0.2734, allocations: 8 kB / 0.7914 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.275, allocations: 446.4 kB / 0.7919 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004733/0.2755, allocations: 147.7 kB / 0.792 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001595/0.2756, allocations: 35.97 kB / 0.792 GB, free: 6.941 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007789/0.2764, allocations: 323.3 kB / 0.7923 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002764/0.2767, allocations: 119 kB / 0.7925 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003584/0.2771, allocations: 139.4 kB / 0.7926 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002888/0.2774, allocations: 151.3 kB / 0.7927 GB, free: 6.223 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.556e-05/0.2774, allocations: 20 kB / 0.7927 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.435e-05/0.2775, allocations: 16 kB / 0.7928 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001114/0.2776, allocations: 71.73 kB / 0.7928 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001307/0.2778, allocations: 113.5 kB / 0.7929 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0004449/0.2782, allocations: 438.7 kB / 0.7934 GB, free: 5.57 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2783, allocations: 4 kB / 0.7934 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.395e-06/0.2783, allocations: 0 / 0.7934 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.123e-05/0.2783, allocations: 4 kB / 0.7934 GB, free: 5.562 MB / 0.6075 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.001253/0.2796, allocations: 0.6384 MB / 0.794 GB, free: 4.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.373e-05/0.2796, allocations: 12.03 kB / 0.794 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001177/0.2797, allocations: 47.44 kB / 0.794 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005883/0.2803, allocations: 361.1 kB / 0.7944 GB, free: 4.422 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.2804, allocations: 16.38 kB / 0.7944 GB, free: 4.402 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.765e-05/0.2804, allocations: 27.91 kB / 0.7944 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004279/0.2808, allocations: 203.3 kB / 0.7946 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.651e-05/0.2809, allocations: 0 / 0.7946 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.367e-05/0.2809, allocations: 8 kB / 0.7946 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.806e-06/0.2809, allocations: 8 kB / 0.7946 GB, free: 4.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003955/0.2813, allocations: 169.7 kB / 0.7948 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001321/0.2826, allocations: 0.8702 MB / 0.7957 GB, free: 3.055 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.283, allocations: 170.5 kB / 0.7958 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.283, allocations: 0 / 0.7958 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.321e-05/0.283, allocations: 34.56 kB / 0.7958 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=18): time 1.513e-06/0.283, allocations: 0 / 0.7958 GB, free: 2.836 MB / 0.6075 GB Notification: Performance of matching and sorting (n=18): time 0.0006469/0.2837, allocations: 269.4 kB / 0.7961 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.298e-05/0.2837, allocations: 55.41 kB / 0.7962 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004983/0.2843, allocations: 413.7 kB / 0.7966 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.693e-05/0.2843, allocations: 33.7 kB / 0.7966 GB, free: 2.047 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001482/0.2844, allocations: 204.2 kB / 0.7968 GB, free: 1.844 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/0.2845, allocations: 67 kB / 0.7968 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.983e-06/0.2845, allocations: 0 / 0.7968 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.2847, allocations: 346.8 kB / 0.7972 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.2848, allocations: 63.97 kB / 0.7972 GB, free: 1.367 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001477/0.285, allocations: 63.92 kB / 0.7973 GB, free: 1.305 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001532/0.2852, allocations: 66.73 kB / 0.7974 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.2852, allocations: 0 / 0.7974 GB, free: 1.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004119/0.2856, allocations: 221.2 kB / 0.7976 GB, free: 1.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.8e-05/0.2856, allocations: 7.125 kB / 0.7976 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2856, allocations: 0 / 0.7976 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.2856, allocations: 4 kB / 0.7976 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002545/0.2859, allocations: 59.89 kB / 0.7976 GB, free: 0.9531 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.2859, allocations: 3.984 kB / 0.7976 GB, free: 0.9492 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001999/0.2861, allocations: 35.73 kB / 0.7977 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.371e-05/0.2862, allocations: 4 kB / 0.7977 GB, free: 0.9102 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001999/0.2864, allocations: 169.7 kB / 0.7978 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.679e-05/0.2864, allocations: 31.62 kB / 0.7979 GB, free: 0.7031 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.22e-05/0.2865, allocations: 43.58 kB / 0.7979 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.537e-06/0.2865, allocations: 0 / 0.7979 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.2865, allocations: 0 / 0.7979 GB, free: 0.6523 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.2866, allocations: 8 kB / 0.7979 GB, free: 0.6445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004546/0.287, allocations: 377.2 kB / 0.7983 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.287, allocations: 0 / 0.7983 GB, free: 232 kB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002664/0.2873, allocations: 63.89 kB / 0.7983 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.552e-06/0.2873, allocations: 0 / 0.7983 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.66e-05/0.2873, allocations: 0 / 0.7983 GB, free: 168 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.558e-06/0.2874, allocations: 4 kB / 0.7983 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.2874, allocations: 0 / 0.7983 GB, free: 164 kB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006712/0.288, allocations: 402.8 kB / 0.7987 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001402/0.2882, allocations: 124.6 kB / 0.7988 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.6e-05/0.2882, allocations: 4.062 kB / 0.7989 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000169/0.2884, allocations: 12 kB / 0.7989 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.2885, allocations: 11.97 kB / 0.7989 GB, free: 15.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.117e-06/0.2885, allocations: 8 kB / 0.7989 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003595/0.2889, allocations: 295.2 kB / 0.7992 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.31e-07/0.2889, allocations: 0 / 0.7992 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003314/0.2892, allocations: 71.84 kB / 0.7992 GB, free: 15.22 MB / 0.6231 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 (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.0001528/0.2894, allocations: 119.2 kB / 0.7993 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0003872/0.2898, allocations: 147.9 kB / 0.7995 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2898, allocations: 4 kB / 0.7995 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0001706/0.29, allocations: 87.89 kB / 0.7996 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005272/0.2905, allocations: 86.06 kB / 0.7997 GB, free: 14.78 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001325/0.2918, allocations: 0.8917 MB / 0.8005 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.2922, allocations: 0.7992 MB / 0.8013 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001306/0.2924, allocations: 34.95 kB / 0.8013 GB, free: 13 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.762e-05/0.2924, allocations: 23.44 kB / 0.8014 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of SimCode: time 2.11e-07/0.2924, allocations: 0 / 0.8014 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of Templates: time 0.008245/0.3007, allocations: 3.568 MB / 0.8048 GB, free: 9.516 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) Environment - environmentSimulation: