Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.274/2.274, allocations: 391.2 MB / 407 MB, free: 10.89 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 189.3 kB / 499.1 MB, free: 4.691 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.585/1.585, allocations: 222.9 MB / 0.7948 GB, free: 15.8 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001134/0.001134, allocations: 103.7 kB / 0.9329 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 50.84 kB / 1.081 GB, free: 218.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2859/0.2871, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.004052/0.2912, allocations: 4.177 MB / 1.222 GB, free: 113 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.002302/0.2935, allocations: 2.369 MB / 1.225 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002304/0.2938, allocations: 12 kB / 1.225 GB, free: 110.7 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.001218/0.295, allocations: 0.494 MB / 1.225 GB, free: 110.2 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003212/0.2953, allocations: 222.4 kB / 1.225 GB, free: 109.9 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001669/0.2955, allocations: 115.9 kB / 1.225 GB, free: 109.8 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.0005096/0.296, allocations: 0.8253 MB / 1.226 GB, free: 109 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000317/0.2963, allocations: 284.1 kB / 1.226 GB, free: 108.7 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002141/0.2966, allocations: 266.9 kB / 1.227 GB, free: 108.4 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002382/0.2968, allocations: 318.6 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 5.309e-05/0.2969, allocations: 44 kB / 1.227 GB, free: 108.1 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 8.549e-05/0.297, allocations: 52 kB / 1.227 GB, free: 108 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001084/0.2971, allocations: 147.4 kB / 1.227 GB, free: 107.9 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002105/0.2973, allocations: 354.3 kB / 1.228 GB, free: 107.6 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004923/0.2978, allocations: 0.9615 MB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 4.789e-06/0.2978, allocations: 3.984 kB / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2978, allocations: 0 / 1.228 GB, free: 106.6 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.074e-05/0.2978, allocations: 0 / 1.228 GB, free: 106.6 MB / 0.823 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.001137/0.299, allocations: 0.9515 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.299, allocations: 12.03 kB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.196e-05/0.2991, allocations: 76 kB / 1.23 GB, free: 105.5 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004069/0.2995, allocations: 453.6 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.313e-05/0.2996, allocations: 37.38 kB / 1.23 GB, free: 105 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.521e-05/0.2996, allocations: 52.36 kB / 1.23 GB, free: 104.9 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005671/0.3002, allocations: 426.8 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.756e-05/0.3002, allocations: 0 / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.085e-05/0.3003, allocations: 20 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.248e-06/0.3003, allocations: 12 kB / 1.23 GB, free: 104.5 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005541/0.3008, allocations: 371.8 kB / 1.231 GB, free: 104.1 MB / 0.823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.3023, allocations: 1.528 MB / 1.232 GB, free: 102.5 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004242/0.3028, allocations: 345.1 kB / 1.233 GB, free: 102.2 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003771/0.3032, allocations: 316.5 kB / 1.233 GB, free: 101.9 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.735e-05/0.3032, allocations: 4 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.678e-05/0.3032, allocations: 42.48 kB / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of pre-optimization done (n=42): time 1.433e-06/0.3032, allocations: 0 / 1.233 GB, free: 101.8 MB / 0.823 GB Notification: Performance of matching and sorting (n=42): time 0.0007709/0.304, allocations: 0.4949 MB / 1.233 GB, free: 101.3 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.715e-05/0.304, allocations: 55.41 kB / 1.234 GB, free: 101.2 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003982/0.3044, allocations: 485.9 kB / 1.234 GB, free: 100.8 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3045, allocations: 33.7 kB / 1.234 GB, free: 100.7 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001198/0.3046, allocations: 276.4 kB / 1.234 GB, free: 100.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 7.56e-05/0.3047, allocations: 146.6 kB / 1.234 GB, free: 100.3 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.526e-05/0.3048, allocations: 58.08 kB / 1.234 GB, free: 100.2 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 7.725e-05/0.3048, allocations: 366.8 kB / 1.235 GB, free: 99.86 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.3051, allocations: 120.7 kB / 1.235 GB, free: 99.74 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001894/0.3052, allocations: 133.2 kB / 1.235 GB, free: 99.61 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004062/0.3057, allocations: 294 kB / 1.235 GB, free: 99.32 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.3057, allocations: 0 / 1.235 GB, free: 99.32 MB / 0.823 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0005028/0.3062, allocations: 404.3 kB / 1.236 GB, free: 98.92 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.3062, allocations: 8.781 kB / 1.236 GB, free: 98.91 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3062, allocations: 0 / 1.236 GB, free: 98.91 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.3062, allocations: 3.938 kB / 1.236 GB, free: 98.91 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004359/0.3067, allocations: 123.9 kB / 1.236 GB, free: 98.79 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.963e-06/0.3067, allocations: 4 kB / 1.236 GB, free: 98.79 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000258/0.307, allocations: 51.66 kB / 1.236 GB, free: 98.73 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.785e-05/0.307, allocations: 12 kB / 1.236 GB, free: 98.72 MB / 0.823 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.000164/0.3072, allocations: 195.1 kB / 1.236 GB, free: 98.52 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.014e-05/0.3072, allocations: 55.28 kB / 1.236 GB, free: 98.47 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.816e-05/0.3073, allocations: 57.11 kB / 1.236 GB, free: 98.41 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.867e-06/0.3073, allocations: 4 kB / 1.236 GB, free: 98.41 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/0.3073, allocations: 7.984 kB / 1.236 GB, free: 98.4 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/0.3074, allocations: 0 / 1.236 GB, free: 98.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004832/0.3078, allocations: 0.5713 MB / 1.237 GB, free: 97.78 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.683e-06/0.3079, allocations: 0 / 1.237 GB, free: 97.78 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004543/0.3083, allocations: 127.8 kB / 1.237 GB, free: 97.66 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.057e-06/0.3083, allocations: 4 kB / 1.237 GB, free: 97.65 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.168e-05/0.3084, allocations: 8 kB / 1.237 GB, free: 97.64 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.867e-06/0.3084, allocations: 8 kB / 1.237 GB, free: 97.64 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.3084, allocations: 3.938 kB / 1.237 GB, free: 97.63 MB / 0.823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00428/0.3127, allocations: 3.835 MB / 1.241 GB, free: 93.66 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 8.27e-05/0.3128, allocations: 140.4 kB / 1.241 GB, free: 93.5 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.3128, allocations: 11.92 kB / 1.241 GB, free: 93.49 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002226/0.313, allocations: 27.98 kB / 1.241 GB, free: 93.46 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.515e-05/0.3131, allocations: 23.97 kB / 1.241 GB, free: 93.44 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.3131, allocations: 4 kB / 1.241 GB, free: 93.43 MB / 0.823 GB Notification: Performance of sorting global known variables: time 0.000291/0.3134, allocations: 355.1 kB / 1.241 GB, free: 93.09 MB / 0.823 GB Notification: Performance of sort global known variables: time 2.6e-07/0.3134, allocations: 0 / 1.241 GB, free: 93.09 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005343/0.314, allocations: 219.5 kB / 1.241 GB, free: 92.88 MB / 0.823 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.0001496/0.3141, allocations: 119.2 kB / 1.242 GB, free: 92.75 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005167/0.3147, allocations: 319.3 kB / 1.242 GB, free: 92.43 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3147, allocations: 0 / 1.242 GB, free: 92.43 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002575/0.3149, allocations: 179.8 kB / 1.242 GB, free: 92.26 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006904/0.3156, allocations: 127.2 kB / 1.242 GB, free: 92.14 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001763/0.3174, allocations: 1.691 MB / 1.244 GB, free: 90.41 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002589/0.3177, allocations: 0.8824 MB / 1.245 GB, free: 89.5 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.0002049/0.3179, allocations: 52.39 kB / 1.245 GB, free: 89.44 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/0.318, allocations: 39.44 kB / 1.245 GB, free: 89.4 MB / 0.823 GB Notification: Performance of SimCode: time 4.6e-07/0.318, allocations: 4 kB / 1.245 GB, free: 89.4 MB / 0.823 GB Notification: Performance of Templates: time 0.009451/0.3275, allocations: 6.664 MB / 1.251 GB, free: 82.86 MB / 0.823 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1)