Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.4/1.4, allocations: 251.5 MB / 267.4 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001259/0.001259, allocations: 174.6 kB / 326.5 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.979/1.979, allocations: 205 MB / 0.5766 GB, free: 21.03 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008187/0.0008187, allocations: 93.47 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003662/0.0003663, allocations: 8.438 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.2923, allocations: 105.4 MB / 0.8968 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.002985/0.2954, allocations: 2.75 MB / 0.8995 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002229/0.2976, allocations: 2.161 MB / 0.9016 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001713/0.2978, allocations: 4 kB / 0.9016 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.2991, allocations: 478 kB / 0.902 GB, free: 62.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002422/0.2994, allocations: 127.1 kB / 0.9022 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001074/0.2995, allocations: 55.95 kB / 0.9022 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003859/0.2999, allocations: 464.1 kB / 0.9027 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001977/0.3001, allocations: 135.8 kB / 0.9028 GB, free: 61.92 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000169/0.3003, allocations: 139.3 kB / 0.9029 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001631/0.3004, allocations: 163.2 kB / 0.9031 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 3.621e-05/0.3005, allocations: 23.94 kB / 0.9031 GB, free: 61.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.954e-05/0.3005, allocations: 20 kB / 0.9031 GB, free: 61.58 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.525e-05/0.3006, allocations: 79.62 kB / 0.9032 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001457/0.3008, allocations: 202.9 kB / 0.9034 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002918/0.3011, allocations: 430.8 kB / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.3011, allocations: 0 / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3011, allocations: 0 / 0.9038 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.284e-06/0.3011, allocations: 0 / 0.9038 GB, free: 60.88 MB / 0.6042 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.0007982/0.3019, allocations: 0.6463 MB / 0.9044 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.045e-05/0.302, allocations: 15.97 kB / 0.9044 GB, free: 60.17 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.014e-05/0.302, allocations: 44.38 kB / 0.9045 GB, free: 60.13 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003972/0.3024, allocations: 378.1 kB / 0.9048 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.454e-05/0.3025, allocations: 16.81 kB / 0.9049 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.892e-05/0.3025, allocations: 20.38 kB / 0.9049 GB, free: 59.68 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003501/0.3029, allocations: 207.6 kB / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.628e-05/0.3029, allocations: 0 / 0.9051 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.989e-05/0.3029, allocations: 8 kB / 0.9051 GB, free: 59.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.3029, allocations: 4 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003341/0.3033, allocations: 181.6 kB / 0.9053 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009489/0.3042, allocations: 0.8739 MB / 0.9061 GB, free: 58.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002704/0.3045, allocations: 163.9 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3047, allocations: 116.8 kB / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.3047, allocations: 0 / 0.9064 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.3048, allocations: 46.5 kB / 0.9064 GB, free: 58 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=18): time 9.62e-07/0.3048, allocations: 4 kB / 0.9064 GB, free: 58 MB / 0.6042 GB Notification: Performance of matching and sorting (n=18): time 0.0005148/0.3053, allocations: 261.4 kB / 0.9067 GB, free: 57.74 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.3053, allocations: 55.41 kB / 0.9067 GB, free: 57.67 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003645/0.3057, allocations: 421.7 kB / 0.9071 GB, free: 57.25 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.3057, allocations: 29.7 kB / 0.9072 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001036/0.3058, allocations: 212.1 kB / 0.9074 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.966e-05/0.3059, allocations: 63.09 kB / 0.9074 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.045e-05/0.3059, allocations: 17.72 kB / 0.9074 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.197e-05/0.306, allocations: 346.8 kB / 0.9078 GB, free: 56.57 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001318/0.3062, allocations: 71.91 kB / 0.9078 GB, free: 56.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001332/0.3063, allocations: 63.91 kB / 0.9079 GB, free: 56.44 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000256/0.3066, allocations: 142.9 kB / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.3066, allocations: 0 / 0.908 GB, free: 56.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003156/0.3069, allocations: 223 kB / 0.9083 GB, free: 56.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.672e-05/0.3069, allocations: 6.812 kB / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3069, allocations: 0 / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.307, allocations: 7.922 kB / 0.9083 GB, free: 56.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002368/0.3072, allocations: 59.91 kB / 0.9083 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.3072, allocations: 0 / 0.9083 GB, free: 56.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.3074, allocations: 27.83 kB / 0.9084 GB, free: 55.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.3074, allocations: 4 kB / 0.9084 GB, free: 55.98 MB / 0.6042 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.0001254/0.3075, allocations: 161.8 kB / 0.9085 GB, free: 55.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.51e-05/0.3076, allocations: 39.53 kB / 0.9085 GB, free: 55.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.306e-05/0.3076, allocations: 43.53 kB / 0.9086 GB, free: 55.72 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.3076, allocations: 7.938 kB / 0.9086 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.002e-06/0.3077, allocations: 0 / 0.9086 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.3077, allocations: 0 / 0.9086 GB, free: 55.71 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003005/0.308, allocations: 377.3 kB / 0.909 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.308, allocations: 0 / 0.909 GB, free: 55.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002302/0.3082, allocations: 55.97 kB / 0.909 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.3082, allocations: 4 kB / 0.909 GB, free: 55.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.3082, allocations: 7.938 kB / 0.909 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.354e-06/0.3082, allocations: 3.984 kB / 0.909 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3083, allocations: 0 / 0.909 GB, free: 55.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005003/0.3088, allocations: 398.8 kB / 0.9094 GB, free: 54.82 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.745e-05/0.3088, allocations: 124.6 kB / 0.9095 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.232e-05/0.3089, allocations: 3.938 kB / 0.9095 GB, free: 54.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001568/0.309, allocations: 15.98 kB / 0.9095 GB, free: 54.66 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.733e-05/0.3091, allocations: 7.984 kB / 0.9096 GB, free: 54.65 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/0.3091, allocations: 8.062 kB / 0.9096 GB, free: 54.64 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002489/0.3094, allocations: 307.1 kB / 0.9099 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3094, allocations: 0 / 0.9099 GB, free: 54.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002607/0.3096, allocations: 71.84 kB / 0.9099 GB, free: 54.27 MB / 0.6042 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.0001296/0.3098, allocations: 107.2 kB / 0.91 GB, free: 54.16 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003128/0.3101, allocations: 151.8 kB / 0.9102 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.3101, allocations: 0 / 0.9102 GB, free: 54.01 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001639/0.3103, allocations: 87.89 kB / 0.9103 GB, free: 53.93 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.3108, allocations: 89.5 kB / 0.9103 GB, free: 53.84 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001107/0.312, allocations: 0.896 MB / 0.9112 GB, free: 52.91 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002445/0.3122, allocations: 0.8108 MB / 0.912 GB, free: 52.08 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.608e-05/0.3123, allocations: 23.44 kB / 0.912 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of SimCode: time 5.51e-07/0.3123, allocations: 0 / 0.912 GB, free: 52.05 MB / 0.6042 GB Notification: Performance of Templates: time 0.005074/0.3174, allocations: 4.286 MB / 0.9162 GB, free: 47.8 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1)