Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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_3.0.0_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_3.0.0_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.000826/0.000826, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005101/0.005102, allocations: 169.3 kB / 16.26 MB, free: 6.676 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.343/1.343, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.892/2.892, allocations: 473.4 MB / 0.7469 GB, free: 6.016 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003489/0.0003489, allocations: 13.2 kB / 0.9158 GB, free: 33.07 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2835, allocations: 162.2 MB / 1.074 GB, free: 7.449 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001429/0.285, allocations: 1.164 MB / 1.075 GB, free: 6.273 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004249/0.2892, allocations: 2.958 MB / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.975e-05/0.2893, allocations: 0 / 1.078 GB, free: 3.301 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.852e-05/0.2893, allocations: 3.938 kB / 1.078 GB, free: 3.297 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.715e-05/0.2894, allocations: 11.91 kB / 1.078 GB, free: 3.285 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003424/0.2928, allocations: 1.4 MB / 1.08 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.376e-05/0.2929, allocations: 39.73 kB / 1.08 GB, free: 1.859 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.449e-05/0.2929, allocations: 7.984 kB / 1.08 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.581e-05/0.293, allocations: 11.94 kB / 1.08 GB, free: 1.84 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.771e-05/0.293, allocations: 19.86 kB / 1.08 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.318e-06/0.293, allocations: 0 / 1.08 GB, free: 1.82 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002174/0.2952, allocations: 1.47 MB / 1.081 GB, free: 356 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.59e-05/0.2952, allocations: 3.984 kB / 1.081 GB, free: 352 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.61e-05/0.2953, allocations: 49.52 kB / 1.081 GB, free: 296 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001615/0.2969, allocations: 1.127 MB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.2969, allocations: 0 / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2969, allocations: 4 kB / 1.082 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.506e-06/0.2969, allocations: 0 / 1.082 GB, free: 15.16 MB / 0.8419 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.0006363/0.2976, allocations: 0.5107 MB / 1.083 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2976, allocations: 12.03 kB / 1.083 GB, free: 14.59 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.067e-05/0.2977, allocations: 80.12 kB / 1.083 GB, free: 14.51 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.2978, allocations: 247.5 kB / 1.083 GB, free: 14.23 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.906e-05/0.2979, allocations: 158.9 kB / 1.083 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.2979, allocations: 150.9 kB / 1.083 GB, free: 13.92 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.636e-05/0.298, allocations: 105.1 kB / 1.083 GB, free: 13.81 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.088e-05/0.298, allocations: 75.28 kB / 1.084 GB, free: 13.74 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.633e-05/0.2981, allocations: 150.6 kB / 1.084 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.835e-05/0.2981, allocations: 154.6 kB / 1.084 GB, free: 13.44 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.515e-05/0.2982, allocations: 154.6 kB / 1.084 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003307/0.2985, allocations: 469.9 kB / 1.084 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.184e-05/0.2986, allocations: 173.1 kB / 1.085 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.779e-05/0.2987, allocations: 84.19 kB / 1.085 GB, free: 12.51 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.163e-05/0.2987, allocations: 79.28 kB / 1.085 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.2987, allocations: 109.8 kB / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.2987, allocations: 0 / 1.085 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.766e-05/0.2988, allocations: 37.55 kB / 1.085 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.765e-05/0.2989, allocations: 126.7 kB / 1.085 GB, free: 12.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001322/0.299, allocations: 139.1 kB / 1.085 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/0.299, allocations: 29.7 kB / 1.085 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.688e-05/0.2991, allocations: 100.1 kB / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.774e-06/0.2991, allocations: 0 / 1.085 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.329e-05/0.2991, allocations: 13.72 kB / 1.085 GB, free: 11.84 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.2992, allocations: 318.8 kB / 1.086 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.192e-05/0.2993, allocations: 4 kB / 1.086 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.825e-05/0.2993, allocations: 8 kB / 1.086 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.414e-05/0.2993, allocations: 8.859 kB / 1.086 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.2993, allocations: 0 / 1.086 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001235/0.2995, allocations: 65.45 kB / 1.086 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.2995, allocations: 4 kB / 1.086 GB, free: 11.42 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.2995, allocations: 7.984 kB / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.007e-05/0.2995, allocations: 0 / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.2995, allocations: 0 / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.2995, allocations: 4 kB / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.158e-05/0.2996, allocations: 0 / 1.086 GB, free: 11.41 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.012e-06/0.2996, allocations: 0 / 1.086 GB, free: 11.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.78e-05/0.2997, allocations: 190.9 kB / 1.086 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.2998, allocations: 112.9 kB / 1.086 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.734e-05/0.2999, allocations: 116.8 kB / 1.086 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.818e-05/0.2999, allocations: 176.3 kB / 1.086 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.199e-05/0.3, allocations: 184.2 kB / 1.086 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.982e-05/0.3, allocations: 180.3 kB / 1.087 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.3003, allocations: 413.2 kB / 1.087 GB, free: 9.957 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.096e-05/0.3003, allocations: 108.9 kB / 1.087 GB, free: 9.844 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.21e-05/0.3004, allocations: 105 kB / 1.087 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.388e-05/0.3004, allocations: 184.2 kB / 1.087 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.91e-05/0.3005, allocations: 176.5 kB / 1.088 GB, free: 9.367 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.464e-05/0.3006, allocations: 184.2 kB / 1.088 GB, free: 9.18 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.277e-05/0.3006, allocations: 188.2 kB / 1.088 GB, free: 8.988 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001864/0.3008, allocations: 311.7 kB / 1.088 GB, free: 8.66 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.377e-05/0.3009, allocations: 185.9 kB / 1.088 GB, free: 8.453 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.921e-05/0.301, allocations: 192.2 kB / 1.089 GB, free: 8.258 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.89e-05/0.301, allocations: 105 kB / 1.089 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.807e-05/0.3011, allocations: 176.3 kB / 1.089 GB, free: 7.969 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.555e-05/0.3012, allocations: 112.9 kB / 1.089 GB, free: 7.852 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.3012, allocations: 96.67 kB / 1.089 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3012, allocations: 0 / 1.089 GB, free: 7.758 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007386/0.302, allocations: 287.8 kB / 1.089 GB, free: 7.477 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.001103/0.3031, allocations: 0.5439 MB / 1.09 GB, free: 6.926 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.048e-05/0.3032, allocations: 37.7 kB / 1.09 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.3032, allocations: 0 / 1.09 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.953e-06/0.3032, allocations: 0 / 1.09 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.3036, allocations: 0.5341 MB / 1.09 GB, free: 6.344 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003121/0.304, allocations: 259.7 kB / 1.091 GB, free: 6.062 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002563/0.3042, allocations: 0.6848 MB / 1.091 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.588e-05/0.3042, allocations: 0 / 1.091 GB, free: 5.352 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.719e-05/0.3043, allocations: 11.44 kB / 1.091 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.3043, allocations: 0 / 1.091 GB, free: 5.34 MB / 0.8419 GB Notification: Performance of Templates: time 0.0104/0.3147, allocations: 5.674 MB / 1.097 GB, free: 15.71 MB / 0.8575 GB make -j1 -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)