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.0007728/0.0007729, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.004568/0.004568, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.297/1.297, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.645/1.645, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.0005165/0.0005165, allocations: 13.69 kB / 0.6743 GB, free: 25.72 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2664, allocations: 116.3 MB / 0.7879 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004338/0.2708, allocations: 3.781 MB / 0.7916 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.003596/0.2744, allocations: 2.38 MB / 0.7939 GB, free: 5.367 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006141/0.2751, allocations: 12 kB / 0.7939 GB, free: 5.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.00188/0.277, allocations: 0.4901 MB / 0.7944 GB, free: 4.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0008511/0.2779, allocations: 218.4 kB / 0.7946 GB, free: 4.648 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003571/0.2782, allocations: 123.9 kB / 0.7947 GB, free: 4.527 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001158/0.2794, allocations: 0.802 MB / 0.7955 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000456/0.2799, allocations: 280.2 kB / 0.7958 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004446/0.2803, allocations: 242.9 kB / 0.796 GB, free: 3.207 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004266/0.2808, allocations: 286.6 kB / 0.7963 GB, free: 2.926 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.335e-05/0.2808, allocations: 32 kB / 0.7963 GB, free: 2.895 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001194/0.281, allocations: 36 kB / 0.7964 GB, free: 2.859 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001494/0.2811, allocations: 127.5 kB / 0.7965 GB, free: 2.734 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003735/0.2815, allocations: 360 kB / 0.7968 GB, free: 2.375 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008109/0.2823, allocations: 0.934 MB / 0.7977 GB, free: 1.438 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.2823, allocations: 8 kB / 0.7977 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.887e-06/0.2824, allocations: 0 / 0.7977 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.853e-05/0.2824, allocations: 3.938 kB / 0.7978 GB, free: 1.426 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.001459/0.2839, allocations: 0.8412 MB / 0.7986 GB, free: 0.5352 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.482e-05/0.2839, allocations: 8.031 kB / 0.7986 GB, free: 0.5273 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.2841, allocations: 72.09 kB / 0.7986 GB, free: 468 kB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006521/0.2848, allocations: 461.7 kB / 0.7991 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.277e-05/0.2848, allocations: 37.38 kB / 0.7991 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.2849, allocations: 52.38 kB / 0.7992 GB, free: 15.88 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000865/0.2858, allocations: 438.6 kB / 0.7996 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.194e-05/0.2858, allocations: 3.906 kB / 0.7996 GB, free: 15.43 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.217e-05/0.2858, allocations: 20 kB / 0.7996 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.2859, allocations: 12 kB / 0.7996 GB, free: 15.4 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007705/0.2866, allocations: 379.8 kB / 0.8 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002272/0.2889, allocations: 1.531 MB / 0.8015 GB, free: 13.43 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005479/0.2895, allocations: 350.7 kB / 0.8018 GB, free: 13.08 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004905/0.29, allocations: 332.5 kB / 0.8021 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 2.338e-05/0.29, allocations: 7.938 kB / 0.8021 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/0.29, allocations: 38.56 kB / 0.8022 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=42): time 2.064e-06/0.2901, allocations: 0 / 0.8022 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of matching and sorting (n=42): time 0.00103/0.2911, allocations: 0.5016 MB / 0.8027 GB, free: 12.19 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.535e-05/0.2911, allocations: 55.41 kB / 0.8027 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000595/0.2918, allocations: 489.9 kB / 0.8032 GB, free: 11.63 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 2.872e-05/0.2918, allocations: 33.7 kB / 0.8032 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001838/0.292, allocations: 280.3 kB / 0.8035 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.2921, allocations: 145.8 kB / 0.8036 GB, free: 11.17 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.309e-05/0.2922, allocations: 33.7 kB / 0.8037 GB, free: 11.13 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001422/0.2923, allocations: 362.8 kB / 0.804 GB, free: 10.77 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002552/0.2926, allocations: 128.7 kB / 0.8041 GB, free: 10.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002443/0.2928, allocations: 133.2 kB / 0.8043 GB, free: 10.51 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005186/0.2934, allocations: 310.5 kB / 0.8046 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/0.2934, allocations: 0 / 0.8046 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006726/0.2941, allocations: 404.6 kB / 0.8049 GB, free: 9.805 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.2941, allocations: 8 kB / 0.8049 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.432e-06/0.2941, allocations: 0 / 0.8049 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.466e-05/0.2941, allocations: 3.984 kB / 0.805 GB, free: 9.793 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005087/0.2946, allocations: 127.9 kB / 0.8051 GB, free: 9.668 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.918e-06/0.2946, allocations: 3.984 kB / 0.8051 GB, free: 9.664 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003113/0.295, allocations: 52.34 kB / 0.8051 GB, free: 9.613 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.295, allocations: 12 kB / 0.8051 GB, free: 9.602 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002219/0.2952, allocations: 198.4 kB / 0.8053 GB, free: 9.398 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.959e-05/0.2953, allocations: 51.38 kB / 0.8054 GB, free: 9.348 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001225/0.2954, allocations: 65.09 kB / 0.8054 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/0.2955, allocations: 8 kB / 0.8054 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/0.2955, allocations: 0 / 0.8054 GB, free: 9.277 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.2955, allocations: 7.875 kB / 0.8055 GB, free: 9.27 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006343/0.2961, allocations: 0.5751 MB / 0.806 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/0.2961, allocations: 3.938 kB / 0.806 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005101/0.2967, allocations: 123.9 kB / 0.8061 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.146e-06/0.2967, allocations: 4 kB / 0.8061 GB, free: 8.516 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.726e-05/0.2967, allocations: 4 kB / 0.8061 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.237e-06/0.2967, allocations: 8 kB / 0.8062 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/0.2967, allocations: 7.969 kB / 0.8062 GB, free: 8.496 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009873/0.2977, allocations: 0.6633 MB / 0.8068 GB, free: 7.816 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001292/0.2979, allocations: 140.4 kB / 0.8069 GB, free: 7.66 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.3e-05/0.2979, allocations: 11.98 kB / 0.807 GB, free: 7.648 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002585/0.2982, allocations: 27.89 kB / 0.807 GB, free: 7.621 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.508e-05/0.2983, allocations: 23.97 kB / 0.807 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.2983, allocations: 8 kB / 0.807 GB, free: 7.59 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0003836/0.2987, allocations: 355.1 kB / 0.8073 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.6e-07/0.2987, allocations: 0 / 0.8073 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004264/0.2991, allocations: 139.7 kB / 0.8075 GB, free: 7.105 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 (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.0001558/0.2993, allocations: 119.1 kB / 0.8076 GB, free: 6.98 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0006234/0.2999, allocations: 339.9 kB / 0.8079 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.2999, allocations: 0 / 0.8079 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.000287/0.3002, allocations: 179.8 kB / 0.8081 GB, free: 6.473 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007449/0.301, allocations: 129.7 kB / 0.8082 GB, free: 6.344 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002217/0.3032, allocations: 1.511 MB / 0.8097 GB, free: 4.805 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004573/0.3037, allocations: 0.8668 MB / 0.8105 GB, free: 3.91 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0001983/0.3039, allocations: 60.33 kB / 0.8106 GB, free: 3.852 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.486e-05/0.304, allocations: 35.44 kB / 0.8106 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of SimCode: time 3e-07/0.304, allocations: 0 / 0.8106 GB, free: 3.816 MB / 0.6231 GB Notification: Performance of Templates: time 0.0111/0.3151, allocations: 5.552 MB / 0.8161 GB, free: 14.4 MB / 0.6387 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: