Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001108/0.001108, allocations: 193.1 kB / 16.13 MB, free: 6.656 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.362/1.362, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.799/2.799, allocations: 472.6 MB / 0.7447 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 63.28 kB / 0.9114 GB, free: 33.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2746/0.2759, allocations: 159.9 MB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002558/0.2785, allocations: 1.495 MB / 1.069 GB, free: 9.34 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004393/0.2829, allocations: 3.016 MB / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.578e-05/0.283, allocations: 0 / 1.072 GB, free: 6.312 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.844e-05/0.283, allocations: 7.922 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.958e-05/0.2831, allocations: 15.92 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.2864, allocations: 1.394 MB / 1.073 GB, free: 4.906 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.154e-05/0.2865, allocations: 47.67 kB / 1.073 GB, free: 4.859 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.903e-05/0.2866, allocations: 7.984 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.873e-05/0.2866, allocations: 15.92 kB / 1.073 GB, free: 4.836 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.465e-05/0.2866, allocations: 15.94 kB / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.978e-06/0.2866, allocations: 0 / 1.073 GB, free: 4.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002116/0.2888, allocations: 1.466 MB / 1.075 GB, free: 3.352 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.716e-05/0.2888, allocations: 15.92 kB / 1.075 GB, free: 3.336 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.894e-05/0.2888, allocations: 15.88 kB / 1.075 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001537/0.2904, allocations: 1.135 MB / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.2904, allocations: 0 / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.02e-07/0.2904, allocations: 0 / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.296e-06/0.2904, allocations: 0 / 1.076 GB, free: 2.184 MB / 0.8262 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0006356/0.2911, allocations: 0.5185 MB / 1.077 GB, free: 1.617 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.2911, allocations: 12.03 kB / 1.077 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.668e-05/0.2912, allocations: 80.22 kB / 1.077 GB, free: 1.527 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001355/0.2913, allocations: 255.5 kB / 1.077 GB, free: 1.238 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/0.2914, allocations: 154.9 kB / 1.077 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.573e-05/0.2914, allocations: 150.9 kB / 1.077 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.262e-05/0.2915, allocations: 117 kB / 1.077 GB, free: 0.8164 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.61e-05/0.2915, allocations: 79.28 kB / 1.077 GB, free: 0.7383 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/0.2916, allocations: 150.6 kB / 1.077 GB, free: 0.5898 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.242e-05/0.2916, allocations: 150.6 kB / 1.078 GB, free: 452 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.3e-05/0.2917, allocations: 150.6 kB / 1.078 GB, free: 300 kB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002905/0.292, allocations: 465.8 kB / 1.078 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.508e-05/0.2921, allocations: 177.1 kB / 1.078 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.897e-05/0.2921, allocations: 80.14 kB / 1.078 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.2921, allocations: 79.28 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.216e-05/0.2922, allocations: 113.8 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2922, allocations: 0 / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.065e-05/0.2923, allocations: 33.7 kB / 1.079 GB, free: 15.29 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6e-05/0.2923, allocations: 134.6 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.2925, allocations: 135.1 kB / 1.079 GB, free: 15 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.052e-05/0.2925, allocations: 25.7 kB / 1.079 GB, free: 14.97 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.824e-05/0.2925, allocations: 96.12 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-06/0.2926, allocations: 3.938 kB / 1.079 GB, free: 14.87 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.359e-05/0.2926, allocations: 17.72 kB / 1.079 GB, free: 14.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.2927, allocations: 314.8 kB / 1.079 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.705e-05/0.2927, allocations: 11.98 kB / 1.079 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.2928, allocations: 4 kB / 1.079 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.442e-05/0.2928, allocations: 16.86 kB / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.2928, allocations: 0 / 1.079 GB, free: 14.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001208/0.2929, allocations: 57.48 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.293, allocations: 4 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.026e-05/0.293, allocations: 7.984 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.457e-06/0.293, allocations: 0 / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.293, allocations: 0 / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.293, allocations: 0 / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.097e-05/0.293, allocations: 4.062 kB / 1.079 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.905e-06/0.2931, allocations: 4 kB / 1.079 GB, free: 14.41 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 9.322e-05/0.2931, allocations: 182.9 kB / 1.08 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.731e-05/0.2932, allocations: 116.8 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.197e-05/0.2933, allocations: 116.8 kB / 1.08 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.947e-05/0.2933, allocations: 176.3 kB / 1.08 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.038e-05/0.2934, allocations: 184.3 kB / 1.08 GB, free: 13.61 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.512e-05/0.2935, allocations: 180.2 kB / 1.08 GB, free: 13.43 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000216/0.2937, allocations: 417.3 kB / 1.081 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-05/0.2937, allocations: 112.8 kB / 1.081 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.483e-05/0.2938, allocations: 101 kB / 1.081 GB, free: 12.74 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.114e-05/0.2938, allocations: 180.3 kB / 1.081 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.442e-05/0.2939, allocations: 184.4 kB / 1.081 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.966e-05/0.2939, allocations: 180.3 kB / 1.082 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.993e-05/0.294, allocations: 188.2 kB / 1.082 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001195/0.2941, allocations: 303.9 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.219e-05/0.2942, allocations: 193.9 kB / 1.082 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.223e-05/0.2943, allocations: 184.2 kB / 1.082 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.2944, allocations: 104.9 kB / 1.082 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.789e-05/0.2945, allocations: 180.3 kB / 1.083 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.533e-05/0.2945, allocations: 101 kB / 1.083 GB, free: 10.87 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.233e-05/0.2946, allocations: 104.9 kB / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.883e-06/0.2946, allocations: 0 / 1.083 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000755/0.2953, allocations: 291.7 kB / 1.083 GB, free: 10.48 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.001156/0.2965, allocations: 0.5321 MB / 1.084 GB, free: 9.945 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.044e-05/0.2966, allocations: 45.7 kB / 1.084 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2966, allocations: 0 / 1.084 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.024e-06/0.2966, allocations: 0 / 1.084 GB, free: 9.895 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000407/0.297, allocations: 0.5302 MB / 1.084 GB, free: 9.359 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000295/0.2973, allocations: 254.5 kB / 1.084 GB, free: 9.082 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002249/0.2976, allocations: 0.6809 MB / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.446e-05/0.2976, allocations: 0 / 1.085 GB, free: 8.375 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.879e-06/0.2976, allocations: 7.438 kB / 1.085 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.2976, allocations: 0 / 1.085 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of Templates: time 0.009636/0.3073, allocations: 5.686 MB / 1.091 GB, free: 2.727 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)