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.001007/0.001007, allocations: 98.19 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.007343/0.007343, allocations: 170.2 kB / 16.27 MB, free: 6.652 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.379/1.379, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.73/2.73, allocations: 473.4 MB / 0.7469 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003364/0.0003365, allocations: 10 kB / 0.9158 GB, free: 33.03 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3057/0.3061, allocations: 162.2 MB / 1.074 GB, free: 7.516 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001511/0.3076, allocations: 1.17 MB / 1.075 GB, free: 6.336 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004331/0.312, allocations: 2.95 MB / 1.078 GB, free: 3.371 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.384e-05/0.3121, allocations: 4 kB / 1.078 GB, free: 3.367 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.055e-05/0.3121, allocations: 7.922 kB / 1.078 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.763e-05/0.3122, allocations: 11.86 kB / 1.078 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003472/0.3156, allocations: 1.4 MB / 1.08 GB, free: 1.961 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.434e-05/0.3157, allocations: 39.73 kB / 1.08 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.605e-05/0.3158, allocations: 11.98 kB / 1.08 GB, free: 1.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.501e-05/0.3158, allocations: 11.94 kB / 1.08 GB, free: 1.898 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.894e-05/0.3158, allocations: 23.86 kB / 1.08 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.357e-06/0.3158, allocations: 0 / 1.08 GB, free: 1.875 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002156/0.318, allocations: 1.462 MB / 1.081 GB, free: 420 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.559e-05/0.318, allocations: 4 kB / 1.081 GB, free: 416 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.421e-05/0.3181, allocations: 53.5 kB / 1.081 GB, free: 356 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001713/0.3198, allocations: 1.123 MB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3198, allocations: 0 / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.004e-06/0.3198, allocations: 4 kB / 1.082 GB, free: 15.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.3198, allocations: 0 / 1.082 GB, free: 15.22 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.0006261/0.3205, allocations: 0.5146 MB / 1.083 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.3205, allocations: 12.03 kB / 1.083 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.009e-05/0.3206, allocations: 80.12 kB / 1.083 GB, free: 14.57 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001318/0.3207, allocations: 247.6 kB / 1.083 GB, free: 14.29 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.464e-05/0.3208, allocations: 150.9 kB / 1.083 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.15e-05/0.3208, allocations: 158.9 kB / 1.083 GB, free: 13.98 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.079e-05/0.3209, allocations: 105.1 kB / 1.083 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.3209, allocations: 79.28 kB / 1.084 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.055e-05/0.321, allocations: 150.6 kB / 1.084 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-05/0.321, allocations: 150.6 kB / 1.084 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.354e-05/0.3211, allocations: 154.5 kB / 1.084 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002742/0.3214, allocations: 465.9 kB / 1.084 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.422e-05/0.3214, allocations: 165.1 kB / 1.085 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.047e-05/0.3215, allocations: 88.19 kB / 1.085 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/0.3215, allocations: 75.28 kB / 1.085 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.676e-05/0.3216, allocations: 121.7 kB / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.223e-06/0.3216, allocations: 0 / 1.085 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.418e-05/0.3217, allocations: 37.61 kB / 1.085 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.29e-05/0.3217, allocations: 126.7 kB / 1.085 GB, free: 12.2 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/0.3218, allocations: 131.2 kB / 1.085 GB, free: 12.06 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.3219, allocations: 25.7 kB / 1.085 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.389e-05/0.3219, allocations: 104 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.064e-06/0.3219, allocations: 4 kB / 1.085 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.483e-05/0.322, allocations: 13.72 kB / 1.085 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.55e-05/0.3221, allocations: 314.8 kB / 1.086 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.398e-05/0.3221, allocations: 4 kB / 1.086 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.897e-05/0.3221, allocations: 11.98 kB / 1.086 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.681e-05/0.3222, allocations: 16.8 kB / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.3222, allocations: 0 / 1.086 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001274/0.3223, allocations: 57.48 kB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.3223, allocations: 5.719 kB / 1.086 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.793e-05/0.3224, allocations: 8.062 kB / 1.086 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.117e-06/0.3224, allocations: 0 / 1.086 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.725e-06/0.3224, allocations: 3.984 kB / 1.086 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.3224, allocations: 0 / 1.086 GB, free: 11.47 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.303e-05/0.3224, allocations: 4 kB / 1.086 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.962e-06/0.3224, allocations: 0 / 1.086 GB, free: 11.46 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 8.997e-05/0.3225, allocations: 181.1 kB / 1.086 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.859e-05/0.3226, allocations: 116.8 kB / 1.086 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.101e-05/0.3226, allocations: 116.9 kB / 1.086 GB, free: 11.03 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.962e-05/0.3227, allocations: 180.2 kB / 1.086 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.649e-05/0.3228, allocations: 180.2 kB / 1.086 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.497e-05/0.3228, allocations: 176.3 kB / 1.087 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002199/0.323, allocations: 421.2 kB / 1.087 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.192e-05/0.3231, allocations: 108.9 kB / 1.087 GB, free: 9.902 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.3231, allocations: 109 kB / 1.087 GB, free: 9.789 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.08e-05/0.3232, allocations: 180.2 kB / 1.087 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.798e-05/0.3232, allocations: 176.5 kB / 1.088 GB, free: 9.426 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.88e-05/0.3233, allocations: 184.2 kB / 1.088 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.69e-05/0.3234, allocations: 180.3 kB / 1.088 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.3235, allocations: 323.6 kB / 1.088 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.03e-05/0.3236, allocations: 185.9 kB / 1.088 GB, free: 8.508 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.852e-05/0.3237, allocations: 184.2 kB / 1.089 GB, free: 8.32 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.614e-05/0.3237, allocations: 109 kB / 1.089 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.3238, allocations: 184.2 kB / 1.089 GB, free: 8.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.861e-05/0.3238, allocations: 101 kB / 1.089 GB, free: 7.914 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.27e-05/0.3239, allocations: 99.27 kB / 1.089 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3239, allocations: 0 / 1.089 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0007445/0.3247, allocations: 291.8 kB / 1.089 GB, free: 7.531 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.001124/0.3258, allocations: 0.5259 MB / 1.09 GB, free: 6.996 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.36e-05/0.3259, allocations: 41.7 kB / 1.09 GB, free: 6.949 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.3259, allocations: 3.938 kB / 1.09 GB, free: 6.945 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.296e-06/0.3259, allocations: 3.938 kB / 1.09 GB, free: 6.941 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.3263, allocations: 0.538 MB / 1.09 GB, free: 6.398 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002865/0.3266, allocations: 265 kB / 1.091 GB, free: 6.113 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002273/0.3269, allocations: 0.6848 MB / 1.091 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.484e-05/0.3269, allocations: 0 / 1.091 GB, free: 5.402 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.084e-05/0.3269, allocations: 11.38 kB / 1.091 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of SimCode: time 3.31e-07/0.3269, allocations: 0 / 1.091 GB, free: 5.391 MB / 0.8419 GB Notification: Performance of Templates: time 0.009953/0.3369, allocations: 5.667 MB / 1.097 GB, free: 15.77 MB / 0.8575 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)