Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.0009675/0.0009675, allocations: 100.1 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.001222/0.001222, allocations: 177.3 kB / 15.95 MB, free: 216 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.6/1.6, 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.673/1.673, allocations: 292.5 MB / 0.5497 GB, free: 14.61 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.0005359/0.0005362, allocations: 18.16 kB / 0.6736 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2648, allocations: 116.3 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00396/0.2688, allocations: 3.266 MB / 0.7903 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003116/0.272, allocations: 2.246 MB / 0.7925 GB, free: 6.395 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003071/0.2723, allocations: 11.94 kB / 0.7925 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001237/0.2735, allocations: 478.1 kB / 0.793 GB, free: 5.914 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0004113/0.274, allocations: 255.3 kB / 0.7932 GB, free: 5.664 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000188/0.2742, allocations: 83.92 kB / 0.7933 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0006306/0.2748, allocations: 0.5545 MB / 0.7939 GB, free: 5.023 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003615/0.2752, allocations: 241.5 kB / 0.7941 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.2755, allocations: 239.1 kB / 0.7943 GB, free: 4.551 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002752/0.2758, allocations: 266.8 kB / 0.7946 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.808e-05/0.2758, allocations: 40 kB / 0.7946 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.459e-05/0.2759, allocations: 32 kB / 0.7946 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.276, allocations: 119.6 kB / 0.7948 GB, free: 4.102 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000127/0.2762, allocations: 165.3 kB / 0.7949 GB, free: 3.934 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0006029/0.2768, allocations: 0.7828 MB / 0.7957 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.2768, allocations: 0 / 0.7957 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2768, allocations: 0 / 0.7957 GB, free: 3.148 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.597e-06/0.2768, allocations: 0 / 0.7957 GB, free: 3.148 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001221/0.278, allocations: 0.8528 MB / 0.7965 GB, free: 2.246 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.2781, allocations: 8.031 kB / 0.7965 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.2782, allocations: 71.16 kB / 0.7966 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005454/0.2787, allocations: 444.6 kB / 0.797 GB, free: 1.691 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.021e-05/0.2788, allocations: 37 kB / 0.797 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.996e-05/0.2789, allocations: 48 kB / 0.7971 GB, free: 1.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007096/0.2796, allocations: 422.5 kB / 0.7975 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.669e-05/0.2796, allocations: 0 / 0.7975 GB, free: 1.188 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.829e-05/0.2796, allocations: 24 kB / 0.7975 GB, free: 1.164 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.275e-05/0.2797, allocations: 12 kB / 0.7975 GB, free: 1.152 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006579/0.2803, allocations: 379.7 kB / 0.7979 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001975/0.2823, allocations: 1.532 MB / 0.7994 GB, free: 15.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005036/0.2828, allocations: 346.7 kB / 0.7997 GB, free: 14.83 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.281e-05/0.2829, allocations: 4 kB / 0.7997 GB, free: 14.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.52e-05/0.2829, allocations: 46.45 kB / 0.7998 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 1.362e-06/0.2829, allocations: 0 / 0.7998 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.0009361/0.2839, allocations: 0.5017 MB / 0.8003 GB, free: 14.26 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.836e-05/0.2839, allocations: 56.17 kB / 0.8003 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.2844, allocations: 481.9 kB / 0.8008 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.858e-05/0.2845, allocations: 37.7 kB / 0.8008 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001864/0.2847, allocations: 276.3 kB / 0.8011 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/0.2848, allocations: 145.8 kB / 0.8012 GB, free: 13.26 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.2848, allocations: 12 kB / 0.8012 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001615/0.285, allocations: 358.8 kB / 0.8016 GB, free: 12.89 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002352/0.2852, allocations: 132.6 kB / 0.8017 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000233/0.2855, allocations: 133.1 kB / 0.8018 GB, free: 12.62 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.2857, allocations: 154.5 kB / 0.802 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.2857, allocations: 0 / 0.802 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006154/0.2864, allocations: 395.8 kB / 0.8023 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.173e-05/0.2864, allocations: 11.95 kB / 0.8024 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.2864, allocations: 4 kB / 0.8024 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.2864, allocations: 0 / 0.8024 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.2869, allocations: 127.9 kB / 0.8025 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.887e-06/0.2869, allocations: 3.984 kB / 0.8025 GB, free: 11.94 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002517/0.2872, allocations: 55.66 kB / 0.8025 GB, free: 11.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.018e-05/0.2872, allocations: 12 kB / 0.8025 GB, free: 11.87 MB / 0.6231 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.0002412/0.2875, allocations: 189.8 kB / 0.8027 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.035e-05/0.2875, allocations: 51.34 kB / 0.8028 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.755e-05/0.2877, allocations: 72.98 kB / 0.8028 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.2877, allocations: 4 kB / 0.8028 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.2877, allocations: 0 / 0.8028 GB, free: 11.55 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.2877, allocations: 7.984 kB / 0.8029 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006087/0.2883, allocations: 0.5712 MB / 0.8034 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.2883, allocations: 0 / 0.8034 GB, free: 10.92 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004881/0.2888, allocations: 127.8 kB / 0.8035 GB, free: 10.8 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.639e-06/0.2888, allocations: 4 kB / 0.8035 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.23e-05/0.2889, allocations: 8 kB / 0.8035 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.669e-06/0.2889, allocations: 7.953 kB / 0.8036 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.2889, allocations: 0 / 0.8036 GB, free: 10.78 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009302/0.2898, allocations: 0.6558 MB / 0.8042 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001147/0.2899, allocations: 148.2 kB / 0.8043 GB, free: 9.941 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.605e-05/0.29, allocations: 12 kB / 0.8043 GB, free: 9.93 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.2902, allocations: 23.98 kB / 0.8044 GB, free: 9.906 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.032e-05/0.2903, allocations: 23.92 kB / 0.8044 GB, free: 9.883 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.2903, allocations: 8 kB / 0.8044 GB, free: 9.875 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003491/0.2907, allocations: 351 kB / 0.8047 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2907, allocations: 8 kB / 0.8047 GB, free: 9.523 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0003734/0.2911, allocations: 143.6 kB / 0.8049 GB, free: 9.383 MB / 0.6231 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.0001335/0.2912, allocations: 115.5 kB / 0.805 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000585/0.2918, allocations: 331.4 kB / 0.8053 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.2918, allocations: 0 / 0.8053 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002757/0.2921, allocations: 183.8 kB / 0.8055 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.2927, allocations: 113.9 kB / 0.8056 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.2946, allocations: 1.436 MB / 0.807 GB, free: 7.18 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004515/0.295, allocations: 0.8863 MB / 0.8079 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.000181/0.2952, allocations: 52.39 kB / 0.8079 GB, free: 6.219 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.897e-05/0.2953, allocations: 35.44 kB / 0.8079 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of SimCode: time 2.81e-07/0.2953, allocations: 0 / 0.8079 GB, free: 6.184 MB / 0.6231 GB Notification: Performance of Templates: time 0.009765/0.3051, allocations: 5.37 MB / 0.8132 GB, free: 0.9492 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: