Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_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_1.6_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.001382/0.001382, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001631/0.001631, allocations: 195.7 kB / 16.14 MB, free: 6.688 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.337/1.337, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.798/2.798, allocations: 472.6 MB / 0.7447 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.7 kB / 0.9114 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2697, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00483/0.2745, allocations: 4.183 MB / 1.072 GB, free: 6.672 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.002814/0.2774, allocations: 2.375 MB / 1.074 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000204/0.2776, allocations: 15.94 kB / 1.074 GB, free: 4.27 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001302/0.2789, allocations: 0.4978 MB / 1.074 GB, free: 3.77 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.2793, allocations: 218.4 kB / 1.075 GB, free: 3.555 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.2795, allocations: 115.9 kB / 1.075 GB, free: 3.441 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006969/0.2802, allocations: 0.8137 MB / 1.076 GB, free: 2.621 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003765/0.2806, allocations: 280.1 kB / 1.076 GB, free: 2.34 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002627/0.2809, allocations: 255 kB / 1.076 GB, free: 2.09 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003087/0.2812, allocations: 322.6 kB / 1.076 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 7.121e-05/0.2813, allocations: 48 kB / 1.076 GB, free: 1.727 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.999e-05/0.2814, allocations: 44 kB / 1.076 GB, free: 1.684 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001433/0.2815, allocations: 147.4 kB / 1.077 GB, free: 1.539 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002991/0.2818, allocations: 366.3 kB / 1.077 GB, free: 1.18 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007067/0.2825, allocations: 0.9576 MB / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.09e-06/0.2825, allocations: 0 / 1.078 GB, free: 224 kB / 0.8262 GB Notification: Performance of FrontEnd: time 8.22e-07/0.2826, allocations: 7.938 kB / 1.078 GB, free: 216 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 1.151e-05/0.2826, allocations: 0 / 1.078 GB, free: 216 kB / 0.8262 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.001341/0.2839, allocations: 0.9424 MB / 1.079 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.425e-05/0.284, allocations: 8.031 kB / 1.079 GB, free: 15.21 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000108/0.2841, allocations: 72.09 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005192/0.2846, allocations: 461.5 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.932e-05/0.2846, allocations: 37.38 kB / 1.079 GB, free: 14.62 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.899e-05/0.2847, allocations: 52.38 kB / 1.079 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007767/0.2855, allocations: 434.7 kB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.2855, allocations: 0 / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.708e-05/0.2856, allocations: 16 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.137e-05/0.2856, allocations: 12 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007039/0.2863, allocations: 363.8 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001944/0.2883, allocations: 1.543 MB / 1.082 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005256/0.2888, allocations: 338.9 kB / 1.082 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004803/0.2893, allocations: 314.7 kB / 1.082 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.609e-05/0.2893, allocations: 4 kB / 1.082 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.363e-05/0.2894, allocations: 46.48 kB / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=42): time 1.553e-06/0.2894, allocations: 0 / 1.082 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=42): time 0.0009497/0.2903, allocations: 0.4902 MB / 1.083 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/0.2904, allocations: 59.41 kB / 1.083 GB, free: 10.86 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005292/0.2909, allocations: 489.9 kB / 1.083 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.434e-05/0.2909, allocations: 29.7 kB / 1.083 GB, free: 10.34 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.2911, allocations: 280.3 kB / 1.084 GB, free: 10.06 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001104/0.2912, allocations: 141.9 kB / 1.084 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.46e-05/0.2913, allocations: 62.08 kB / 1.084 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001309/0.2915, allocations: 362.8 kB / 1.084 GB, free: 9.488 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002498/0.2917, allocations: 120.7 kB / 1.084 GB, free: 9.371 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002423/0.292, allocations: 133.4 kB / 1.084 GB, free: 9.242 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005104/0.2925, allocations: 290.2 kB / 1.085 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2925, allocations: 4 kB / 1.085 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0006682/0.2932, allocations: 393 kB / 1.085 GB, free: 8.562 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.2932, allocations: 8 kB / 1.085 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.2932, allocations: 0 / 1.085 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.2932, allocations: 0 / 1.085 GB, free: 8.555 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000515/0.2937, allocations: 127.8 kB / 1.085 GB, free: 8.43 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2938, allocations: 4 kB / 1.085 GB, free: 8.426 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002648/0.294, allocations: 59.5 kB / 1.085 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.136e-05/0.2941, allocations: 15.94 kB / 1.085 GB, free: 8.352 MB / 0.8419 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.0002/0.2943, allocations: 193.8 kB / 1.086 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.198e-05/0.2944, allocations: 51.38 kB / 1.086 GB, free: 8.102 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.2945, allocations: 61.11 kB / 1.086 GB, free: 8.043 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.809e-06/0.2945, allocations: 4 kB / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.972e-06/0.2945, allocations: 0 / 1.086 GB, free: 8.039 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.601e-06/0.2945, allocations: 3.984 kB / 1.086 GB, free: 8.035 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006384/0.2951, allocations: 0.5749 MB / 1.086 GB, free: 7.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.2952, allocations: 4 kB / 1.086 GB, free: 7.406 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005418/0.2957, allocations: 127.8 kB / 1.086 GB, free: 7.281 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.2957, allocations: 3.984 kB / 1.086 GB, free: 7.277 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.584e-05/0.2958, allocations: 12 kB / 1.086 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.2958, allocations: 0 / 1.086 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.153e-06/0.2958, allocations: 0 / 1.086 GB, free: 7.266 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009813/0.2967, allocations: 0.6506 MB / 1.087 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001176/0.2969, allocations: 144.3 kB / 1.087 GB, free: 6.438 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.281e-05/0.297, allocations: 8 kB / 1.087 GB, free: 6.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.2972, allocations: 23.98 kB / 1.087 GB, free: 6.406 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.116e-05/0.2973, allocations: 19.95 kB / 1.087 GB, free: 6.387 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-05/0.2973, allocations: 16 kB / 1.087 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003773/0.2977, allocations: 347.1 kB / 1.088 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.2977, allocations: 0 / 1.088 GB, free: 6.035 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003877/0.2981, allocations: 143.7 kB / 1.088 GB, free: 5.895 MB / 0.8419 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.0001295/0.2982, allocations: 119.1 kB / 1.088 GB, free: 5.77 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0005891/0.2988, allocations: 312.3 kB / 1.088 GB, free: 5.465 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.2988, allocations: 4 kB / 1.088 GB, free: 5.461 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.2991, allocations: 195.5 kB / 1.088 GB, free: 5.27 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000707/0.2999, allocations: 114.4 kB / 1.088 GB, free: 5.156 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001915/0.3018, allocations: 1.412 MB / 1.09 GB, free: 3.719 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004036/0.3022, allocations: 0.8746 MB / 1.091 GB, free: 2.82 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.000185/0.3024, allocations: 52.39 kB / 1.091 GB, free: 2.77 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.925e-05/0.3025, allocations: 35.44 kB / 1.091 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of SimCode: time 2.6e-07/0.3025, allocations: 0 / 1.091 GB, free: 2.734 MB / 0.8419 GB Notification: Performance of Templates: time 0.01009/0.3126, allocations: 5.613 MB / 1.096 GB, free: 13.25 MB / 0.8575 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)