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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001112/0.001112, 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.001217/0.001217, allocations: 193.2 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.351/1.351, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.715/2.715, allocations: 472.6 MB / 0.7447 GB, free: 4.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001236/0.001236, allocations: 66.41 kB / 0.9114 GB, free: 33.63 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2929/0.2942, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.006034/0.3003, allocations: 3.083 MB / 1.071 GB, free: 7.785 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003476/0.3038, allocations: 2.118 MB / 1.073 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002207/0.304, allocations: 8 kB / 1.073 GB, free: 5.648 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.001818/0.3059, allocations: 470.1 kB / 1.073 GB, free: 5.188 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0003776/0.3063, allocations: 139.1 kB / 1.073 GB, free: 5.051 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001608/0.3064, allocations: 55.91 kB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0006647/0.3071, allocations: 457.9 kB / 1.074 GB, free: 4.547 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003131/0.3074, allocations: 127.9 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002616/0.3077, allocations: 155.3 kB / 1.074 GB, free: 4.266 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002756/0.308, allocations: 175.2 kB / 1.074 GB, free: 4.094 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.761e-05/0.3081, allocations: 28 kB / 1.074 GB, free: 4.066 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.302e-05/0.3082, allocations: 20 kB / 1.074 GB, free: 4.047 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.3083, allocations: 95.59 kB / 1.074 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002759/0.3086, allocations: 203 kB / 1.074 GB, free: 3.754 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0006485/0.3093, allocations: 0.5293 MB / 1.075 GB, free: 3.223 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3093, allocations: 3.938 kB / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.443e-06/0.3093, allocations: 0 / 1.075 GB, free: 3.219 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.782e-06/0.3093, allocations: 0 / 1.075 GB, free: 3.219 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001488/0.3108, allocations: 0.7084 MB / 1.076 GB, free: 2.461 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.399e-05/0.3109, allocations: 8.031 kB / 1.076 GB, free: 2.453 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001187/0.311, allocations: 44.38 kB / 1.076 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006344/0.3117, allocations: 374.1 kB / 1.076 GB, free: 2.008 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.25e-05/0.3117, allocations: 20.75 kB / 1.076 GB, free: 1.988 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.562e-05/0.3118, allocations: 20.38 kB / 1.076 GB, free: 1.969 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006015/0.3124, allocations: 203.6 kB / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.3124, allocations: 0 / 1.076 GB, free: 1.762 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.412e-05/0.3125, allocations: 12 kB / 1.076 GB, free: 1.75 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.156e-05/0.3125, allocations: 4 kB / 1.076 GB, free: 1.746 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006215/0.3131, allocations: 173.6 kB / 1.077 GB, free: 1.578 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001626/0.3148, allocations: 0.8584 MB / 1.077 GB, free: 0.6445 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004213/0.3152, allocations: 162.5 kB / 1.078 GB, free: 488 kB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002949/0.3155, allocations: 108.8 kB / 1.078 GB, free: 376 kB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.038e-05/0.3155, allocations: 4 kB / 1.078 GB, free: 372 kB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.3156, allocations: 30.56 kB / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of pre-optimization done (n=18): time 1.723e-06/0.3156, allocations: 0 / 1.078 GB, free: 332 kB / 0.8262 GB Notification: Performance of matching and sorting (n=18): time 0.0008471/0.3164, allocations: 262.9 kB / 1.078 GB, free: 64 kB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.124e-05/0.3165, allocations: 55.45 kB / 1.078 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006497/0.3172, allocations: 421.5 kB / 1.078 GB, free: 15.58 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.725e-05/0.3172, allocations: 29.7 kB / 1.078 GB, free: 15.54 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001971/0.3174, allocations: 208.2 kB / 1.079 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 8.214e-05/0.3175, allocations: 59.11 kB / 1.079 GB, free: 15.28 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.661e-05/0.3176, allocations: 25.72 kB / 1.079 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3178, allocations: 354.8 kB / 1.079 GB, free: 14.89 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002326/0.3181, allocations: 59.95 kB / 1.079 GB, free: 14.83 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002172/0.3183, allocations: 51.97 kB / 1.079 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003823/0.3187, allocations: 130.5 kB / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3187, allocations: 0 / 1.079 GB, free: 14.65 MB / 0.8419 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003888/0.3191, allocations: 214.5 kB / 1.079 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.3191, allocations: 4 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.3191, allocations: 3.984 kB / 1.079 GB, free: 14.43 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.3191, allocations: 7.875 kB / 1.079 GB, free: 14.42 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00026/0.3194, allocations: 51.97 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.3194, allocations: 3.984 kB / 1.079 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001628/0.3196, allocations: 23.83 kB / 1.08 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.429e-05/0.3196, allocations: 4 kB / 1.08 GB, free: 14.34 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 (20): * Single equations (assignments): 20 * 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.0001542/0.3198, allocations: 173.7 kB / 1.08 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.3198, allocations: 35.53 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.813e-05/0.3199, allocations: 47.47 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.3199, allocations: 4 kB / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.3199, allocations: 0 / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.3199, allocations: 0 / 1.08 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003948/0.3203, allocations: 377.2 kB / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.3204, allocations: 0 / 1.08 GB, free: 13.65 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002719/0.3206, allocations: 59.97 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.3206, allocations: 0 / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.537e-05/0.3207, allocations: 3.938 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3207, allocations: 0 / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.3207, allocations: 4 kB / 1.08 GB, free: 13.59 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006077/0.3213, allocations: 376.2 kB / 1.081 GB, free: 13.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001149/0.3214, allocations: 124.6 kB / 1.081 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.883e-05/0.3215, allocations: 7.938 kB / 1.081 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001735/0.3216, allocations: 11.98 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/0.3217, allocations: 7.984 kB / 1.081 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.3217, allocations: 8 kB / 1.081 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0003105/0.322, allocations: 303.1 kB / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.61e-07/0.322, allocations: 0 / 1.081 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000308/0.3224, allocations: 71.84 kB / 1.081 GB, free: 12.66 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.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 (18): * Single equations (assignments): 18 * 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.000116/0.3225, allocations: 119.2 kB / 1.081 GB, free: 12.54 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.3228, allocations: 143.8 kB / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3229, allocations: 0 / 1.081 GB, free: 12.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.323, allocations: 79.89 kB / 1.081 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006046/0.3236, allocations: 90.14 kB / 1.081 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001214/0.3249, allocations: 0.8761 MB / 1.082 GB, free: 11.33 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003383/0.3252, allocations: 0.7953 MB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.3253, allocations: 34.95 kB / 1.083 GB, free: 10.47 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.095e-05/0.3254, allocations: 27.44 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of SimCode: time 3.11e-07/0.3254, allocations: 0 / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of Templates: time 0.007212/0.3326, allocations: 3.709 MB / 1.087 GB, free: 6.836 MB / 0.8419 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)