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.Functions.Validation.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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.374/1.374, allocations: 251.5 MB / 267.4 MB, free: 11.05 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.001705/0.001704, allocations: 174.9 kB / 326.5 MB, free: 2.691 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.998/1.998, allocations: 205 MB / 0.5766 GB, free: 21.01 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.0009631/0.0009633, allocations: 95.84 kB / 0.6804 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 10.09 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2936/0.294, allocations: 105.4 MB / 0.8968 GB, free: 68.12 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001737/0.2958, allocations: 1.165 MB / 0.8979 GB, free: 66.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.004675/0.3005, allocations: 3.057 MB / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.258e-05/0.3006, allocations: 0 / 0.9009 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.08e-05/0.3006, allocations: 3.984 kB / 0.9009 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.02e-05/0.3007, allocations: 15.86 kB / 0.9009 GB, free: 63.86 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/Fluid/Geothermal/Borefields/BaseClasses/Boreholes/BaseClasses/Functions/internalResistancesOneUTube.mo:2:1-155:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesOneUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.004334/0.305, allocations: 1.449 MB / 0.9024 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.218e-05/0.3051, allocations: 35.69 kB / 0.9024 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.815e-05/0.3052, allocations: 11.98 kB / 0.9024 GB, free: 62.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.971e-05/0.3052, allocations: 11.94 kB / 0.9024 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.904e-05/0.3053, allocations: 11.94 kB / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.183e-05/0.3053, allocations: 0 / 0.9024 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.3078, allocations: 1.447 MB / 0.9038 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.1e-05/0.3079, allocations: 11.94 kB / 0.9038 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.909e-05/0.3079, allocations: 27.86 kB / 0.9039 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001246/0.3092, allocations: 0.7642 MB / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3092, allocations: 0 / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.355e-06/0.3092, allocations: 0 / 0.9046 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.3092, allocations: 0 / 0.9046 GB, free: 60.1 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0005157/0.3097, allocations: 0.5037 MB / 0.9051 GB, free: 59.55 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.718e-05/0.3098, allocations: 8.031 kB / 0.9051 GB, free: 59.54 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.745e-05/0.3098, allocations: 80.22 kB / 0.9052 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.31, allocations: 259.5 kB / 0.9054 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.678e-05/0.31, allocations: 154.9 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.276e-05/0.3101, allocations: 150.9 kB / 0.9057 GB, free: 58.87 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.308e-05/0.3101, allocations: 109 kB / 0.9058 GB, free: 58.76 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.615e-05/0.3101, allocations: 75.28 kB / 0.9059 GB, free: 58.68 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.392e-05/0.3102, allocations: 154.6 kB / 0.9061 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.083e-05/0.3102, allocations: 154.6 kB / 0.9062 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.24e-05/0.3103, allocations: 150.6 kB / 0.9064 GB, free: 58.23 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002229/0.3105, allocations: 465.8 kB / 0.9068 GB, free: 57.73 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 6.308e-05/0.3105, allocations: 173.1 kB / 0.907 GB, free: 57.55 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.013e-05/0.3106, allocations: 84.14 kB / 0.907 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.625e-05/0.3106, allocations: 75.28 kB / 0.9071 GB, free: 57.39 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.055e-05/0.3107, allocations: 113.8 kB / 0.9072 GB, free: 57.27 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.3107, allocations: 7.938 kB / 0.9072 GB, free: 57.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=0): time 7.213e-05/0.3107, allocations: 29.69 kB / 0.9073 GB, free: 57.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.3108, allocations: 126.7 kB / 0.9074 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.3109, allocations: 132.5 kB / 0.9075 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.3109, allocations: 29.7 kB / 0.9075 GB, free: 56.91 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.088e-05/0.311, allocations: 92.05 kB / 0.9076 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.284e-06/0.311, allocations: 3.938 kB / 0.9076 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.099e-05/0.311, allocations: 13.72 kB / 0.9076 GB, free: 56.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.37e-05/0.3111, allocations: 318.8 kB / 0.9079 GB, free: 56.48 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.197e-05/0.3111, allocations: 4 kB / 0.9079 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.514e-05/0.3111, allocations: 4 kB / 0.9079 GB, free: 56.47 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.502e-05/0.3112, allocations: 16.89 kB / 0.908 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3112, allocations: 0 / 0.908 GB, free: 56.45 MB / 0.6042 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001185/0.3113, allocations: 49.62 kB / 0.908 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.596e-05/0.3113, allocations: 8 kB / 0.908 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.3114, allocations: 0 / 0.908 GB, free: 56.39 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.3114, allocations: 4.031 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.102e-06/0.3114, allocations: 4 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.3114, allocations: 3.938 kB / 0.908 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.914e-05/0.3114, allocations: 7.844 kB / 0.908 GB, free: 56.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.261e-06/0.3114, allocations: 0 / 0.908 GB, free: 56.37 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 (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 7.621e-05/0.3115, allocations: 195.3 kB / 0.9082 GB, free: 56.17 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.08e-05/0.3116, allocations: 104.9 kB / 0.9083 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.215e-05/0.3116, allocations: 116.8 kB / 0.9084 GB, free: 55.93 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.93e-05/0.3116, allocations: 180.2 kB / 0.9086 GB, free: 55.75 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.469e-05/0.3117, allocations: 184.2 kB / 0.9088 GB, free: 55.56 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.315e-05/0.3117, allocations: 188.2 kB / 0.909 GB, free: 55.37 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.3119, allocations: 405.2 kB / 0.9094 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.807e-05/0.3119, allocations: 108.9 kB / 0.9095 GB, free: 54.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.214e-05/0.3119, allocations: 108.9 kB / 0.9096 GB, free: 54.69 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.347e-05/0.312, allocations: 180.4 kB / 0.9097 GB, free: 54.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.312, allocations: 184.2 kB / 0.9099 GB, free: 54.32 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.05e-05/0.312, allocations: 180.3 kB / 0.9101 GB, free: 54.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.168e-05/0.3121, allocations: 184.2 kB / 0.9103 GB, free: 53.95 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.696e-05/0.3122, allocations: 311.7 kB / 0.9106 GB, free: 53.62 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.341e-05/0.3122, allocations: 189.9 kB / 0.9107 GB, free: 53.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.3123, allocations: 184.3 kB / 0.9109 GB, free: 53.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.577e-05/0.3123, allocations: 101 kB / 0.911 GB, free: 53.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.753e-05/0.3124, allocations: 184.2 kB / 0.9112 GB, free: 52.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.055e-05/0.3124, allocations: 109 kB / 0.9113 GB, free: 52.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.046e-05/0.3124, allocations: 97.3 kB / 0.9114 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3124, allocations: 0 / 0.9114 GB, free: 52.72 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0005742/0.313, allocations: 283.8 kB / 0.9116 GB, free: 52.45 MB / 0.6042 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.001003/0.314, allocations: 0.5371 MB / 0.9122 GB, free: 51.91 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.747e-05/0.3141, allocations: 41.64 kB / 0.9122 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.3142, allocations: 0 / 0.9122 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 1.714e-06/0.3142, allocations: 4 kB / 0.9122 GB, free: 51.86 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003274/0.3145, allocations: 0.5302 MB / 0.9127 GB, free: 51.32 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003154/0.3148, allocations: 263.5 kB / 0.913 GB, free: 51.03 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.315, allocations: 0.6809 MB / 0.9136 GB, free: 50.32 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.097e-05/0.315, allocations: 11.44 kB / 0.9137 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.315, allocations: 0 / 0.9137 GB, free: 50.31 MB / 0.6042 GB Notification: Performance of Templates: time 0.00633/0.3213, allocations: 4.709 MB / 0.9183 GB, free: 45.61 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)