Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.604/1.604, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001326/0.001326, allocations: 186.1 kB / 376.9 MB, free: 1.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.711/1.711, allocations: 205.1 MB / 0.6354 GB, free: 9.801 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001105/0.001105, allocations: 94.56 kB / 0.748 GB, free: 60.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009982/0.0009982, allocations: 47.92 kB / 0.8704 GB, free: 13.05 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2751/0.2762, allocations: 114.5 MB / 0.9823 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.006816/0.283, allocations: 4.183 MB / 0.9863 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.004019/0.2871, allocations: 2.415 MB / 0.9887 GB, free: 3.707 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007329/0.2879, allocations: 12 kB / 0.9887 GB, free: 3.695 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.2899, allocations: 0.4978 MB / 0.9892 GB, free: 3.195 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0009902/0.291, allocations: 210.5 kB / 0.9894 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.2914, allocations: 123.9 kB / 0.9895 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.001315/0.2927, allocations: 0.8176 MB / 0.9903 GB, free: 2.047 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005281/0.2933, allocations: 276.2 kB / 0.9906 GB, free: 1.773 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005367/0.2938, allocations: 262.9 kB / 0.9908 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005756/0.2944, allocations: 318.6 kB / 0.9911 GB, free: 1.203 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.0001229/0.2945, allocations: 47.94 kB / 0.9912 GB, free: 1.156 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001802/0.2947, allocations: 48 kB / 0.9912 GB, free: 1.109 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.0001842/0.2949, allocations: 143.4 kB / 0.9914 GB, free: 0.9688 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.0004697/0.2954, allocations: 362.2 kB / 0.9917 GB, free: 0.6133 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000907/0.2963, allocations: 0.9654 MB / 0.9926 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.7e-06/0.2963, allocations: 0 / 0.9926 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.052e-06/0.2963, allocations: 0 / 0.9926 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.401e-05/0.2964, allocations: 0 / 0.9926 GB, free: 15.64 MB / 0.7292 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.001982/0.2984, allocations: 0.9502 MB / 0.9936 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.739e-05/0.2984, allocations: 8.031 kB / 0.9936 GB, free: 14.64 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.2986, allocations: 72.09 kB / 0.9936 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006912/0.2993, allocations: 465.6 kB / 0.9941 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.928e-05/0.2993, allocations: 37.38 kB / 0.9941 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.921e-05/0.2994, allocations: 48.38 kB / 0.9942 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/0.3002, allocations: 426.8 kB / 0.9946 GB, free: 13.57 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.547e-05/0.3003, allocations: 3.984 kB / 0.9946 GB, free: 13.56 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.062e-05/0.3003, allocations: 20 kB / 0.9946 GB, free: 13.54 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.3003, allocations: 12 kB / 0.9946 GB, free: 13.53 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007322/0.3011, allocations: 367.8 kB / 0.995 GB, free: 13.17 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002351/0.3034, allocations: 1.528 MB / 0.9965 GB, free: 11.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005467/0.304, allocations: 346.9 kB / 0.9968 GB, free: 11.22 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000486/0.3045, allocations: 327 kB / 0.9971 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.673e-05/0.3045, allocations: 4 kB / 0.9971 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.46e-05/0.3046, allocations: 43.12 kB / 0.9971 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=42): time 2.114e-06/0.3046, allocations: 0 / 0.9971 GB, free: 10.85 MB / 0.7292 GB Notification: Performance of matching and sorting (n=42): time 0.001003/0.3056, allocations: 496.9 kB / 0.9976 GB, free: 10.36 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.328e-05/0.3057, allocations: 60.17 kB / 0.9977 GB, free: 10.29 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006094/0.3063, allocations: 485.9 kB / 0.9981 GB, free: 9.801 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.102e-05/0.3063, allocations: 37.7 kB / 0.9982 GB, free: 9.758 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001934/0.3065, allocations: 276.3 kB / 0.9984 GB, free: 9.484 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001363/0.3067, allocations: 149.8 kB / 0.9986 GB, free: 9.336 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.3068, allocations: 58.08 kB / 0.9986 GB, free: 9.27 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.307, allocations: 362.8 kB / 0.999 GB, free: 8.906 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002454/0.3072, allocations: 128.6 kB / 0.9991 GB, free: 8.781 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002477/0.3075, allocations: 133.2 kB / 0.9992 GB, free: 8.652 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000491/0.308, allocations: 294.2 kB / 0.9995 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.308, allocations: 0 / 0.9995 GB, free: 8.363 MB / 0.7292 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.000662/0.3087, allocations: 400.1 kB / 0.9999 GB, free: 7.965 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.177e-05/0.3087, allocations: 4 kB / 0.9999 GB, free: 7.961 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.3087, allocations: 11.98 kB / 0.9999 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.3087, allocations: 0 / 0.9999 GB, free: 7.949 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004913/0.3092, allocations: 123.9 kB / 1 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.3092, allocations: 0 / 1 GB, free: 7.828 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003287/0.3096, allocations: 51.67 kB / 1 GB, free: 7.777 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.346e-05/0.3096, allocations: 8 kB / 1 GB, free: 7.77 MB / 0.7292 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.000236/0.3099, allocations: 205.7 kB / 1 GB, free: 7.559 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.035e-05/0.31, allocations: 55.28 kB / 1 GB, free: 7.504 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001186/0.3101, allocations: 61.09 kB / 1 GB, free: 7.445 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.072e-06/0.3101, allocations: 4 kB / 1 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.689e-06/0.3101, allocations: 0 / 1 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.3101, allocations: 0 / 1 GB, free: 7.441 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007039/0.3108, allocations: 0.5713 MB / 1.001 GB, free: 6.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.3108, allocations: 4 kB / 1.001 GB, free: 6.816 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/0.3114, allocations: 131.8 kB / 1.001 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.724e-06/0.3114, allocations: 4 kB / 1.001 GB, free: 6.684 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.828e-05/0.3114, allocations: 4 kB / 1.001 GB, free: 6.68 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.881e-06/0.3114, allocations: 7.984 kB / 1.001 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.3114, allocations: 0 / 1.001 GB, free: 6.672 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005922/0.3174, allocations: 3.832 MB / 1.005 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001507/0.3175, allocations: 136.4 kB / 1.005 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.333e-05/0.3176, allocations: 7.938 kB / 1.005 GB, free: 2.535 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002451/0.3178, allocations: 19.98 kB / 1.005 GB, free: 2.516 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.528e-05/0.3179, allocations: 35.84 kB / 1.005 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.835e-05/0.318, allocations: 8 kB / 1.005 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0004647/0.3184, allocations: 355.1 kB / 1.005 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3184, allocations: 0 / 1.005 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0006393/0.3191, allocations: 219.5 kB / 1.006 GB, free: 1.914 MB / 0.7292 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.0001586/0.3193, allocations: 115.1 kB / 1.006 GB, free: 1.793 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0006383/0.3199, allocations: 324.3 kB / 1.006 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.3199, allocations: 0 / 1.006 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.3202, allocations: 183.9 kB / 1.006 GB, free: 1.297 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007789/0.321, allocations: 117.1 kB / 1.006 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002255/0.3233, allocations: 1.718 MB / 1.008 GB, free: 15.43 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.3237, allocations: 0.8746 MB / 1.009 GB, free: 14.52 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0002328/0.324, allocations: 56.39 kB / 1.009 GB, free: 14.46 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.3241, allocations: 39.44 kB / 1.009 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of SimCode: time 5.91e-07/0.3241, allocations: 0 / 1.009 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of Templates: time 0.01229/0.3364, allocations: 6.66 MB / 1.015 GB, free: 7.871 MB / 0.7448 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)