Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 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.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001131/0.001131, allocations: 196.2 kB / 16.14 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.45/1.45, allocations: 205.1 MB / 222 MB, free: 4.777 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.742/1.742, allocations: 292.3 MB / 0.5484 GB, free: 13.68 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002473/0.002473, allocations: 67.12 kB / 0.6709 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3213/0.3238, allocations: 114.5 MB / 0.7827 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003273/0.3271, allocations: 1.484 MB / 0.7842 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.005537/0.3327, allocations: 3.049 MB / 0.7872 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.111e-05/0.3329, allocations: 7.938 kB / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.807e-05/0.3329, allocations: 0 / 0.7872 GB, free: 9.391 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 9.711e-05/0.3331, allocations: 15.84 kB / 0.7872 GB, free: 9.375 MB / 0.6075 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.004404/0.3375, allocations: 1.439 MB / 0.7886 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.038e-05/0.3376, allocations: 43.73 kB / 0.7886 GB, free: 7.914 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.799e-05/0.3376, allocations: 7.984 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 4.618e-05/0.3377, allocations: 7.938 kB / 0.7886 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.006e-05/0.3377, allocations: 27.86 kB / 0.7887 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.484e-05/0.3377, allocations: 4 kB / 0.7887 GB, free: 7.867 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002404/0.3401, allocations: 1.439 MB / 0.7901 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.315e-05/0.3402, allocations: 7.984 kB / 0.7901 GB, free: 6.418 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.389e-05/0.3402, allocations: 15.88 kB / 0.7901 GB, free: 6.402 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001543/0.3418, allocations: 1.119 MB / 0.7912 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.571e-06/0.3418, allocations: 0 / 0.7912 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3418, allocations: 0 / 0.7912 GB, free: 5.281 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.392e-06/0.3418, allocations: 0 / 0.7912 GB, free: 5.281 MB / 0.6075 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.0007277/0.3425, allocations: 0.5108 MB / 0.7917 GB, free: 4.723 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.3426, allocations: 11.97 kB / 0.7917 GB, free: 4.711 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.705e-05/0.3427, allocations: 80.22 kB / 0.7918 GB, free: 4.633 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000189/0.3429, allocations: 255.5 kB / 0.792 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.51e-05/0.3429, allocations: 150.9 kB / 0.7922 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.588e-05/0.343, allocations: 154.9 kB / 0.7923 GB, free: 4.043 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.365e-05/0.3431, allocations: 113 kB / 0.7924 GB, free: 3.926 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.889e-05/0.3431, allocations: 75.28 kB / 0.7925 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.38e-05/0.3432, allocations: 154.6 kB / 0.7926 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.647e-05/0.3433, allocations: 150.6 kB / 0.7928 GB, free: 3.551 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.608e-05/0.3433, allocations: 150.6 kB / 0.7929 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.3437, allocations: 477.8 kB / 0.7934 GB, free: 2.887 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 9.708e-05/0.3438, allocations: 169.1 kB / 0.7935 GB, free: 2.711 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.596e-05/0.3438, allocations: 80.14 kB / 0.7936 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.424e-05/0.3439, allocations: 75.28 kB / 0.7937 GB, free: 2.555 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.3439, allocations: 113.8 kB / 0.7938 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.152e-06/0.3439, allocations: 4 kB / 0.7938 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.977e-05/0.344, allocations: 29.7 kB / 0.7938 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.3441, allocations: 126.7 kB / 0.794 GB, free: 2.258 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001516/0.3442, allocations: 133.7 kB / 0.7941 GB, free: 2.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.328e-05/0.3442, allocations: 25.7 kB / 0.7941 GB, free: 2.086 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.3443, allocations: 92.14 kB / 0.7942 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.464e-06/0.3443, allocations: 16 / 0.7942 GB, free: 1.992 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.587e-05/0.3444, allocations: 13.72 kB / 0.7942 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3445, allocations: 330.8 kB / 0.7945 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.378e-05/0.3445, allocations: 0 / 0.7945 GB, free: 1.641 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.687e-05/0.3445, allocations: 11.95 kB / 0.7945 GB, free: 1.629 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.867e-05/0.3446, allocations: 12.86 kB / 0.7945 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.3446, allocations: 0 / 0.7945 GB, free: 1.613 MB / 0.6075 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001341/0.3447, allocations: 49.62 kB / 0.7946 GB, free: 1.559 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.423e-05/0.3447, allocations: 4 kB / 0.7946 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.196e-05/0.3448, allocations: 4 kB / 0.7946 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.3448, allocations: 0 / 0.7946 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.312e-06/0.3448, allocations: 4.062 kB / 0.7946 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.3448, allocations: 0 / 0.7946 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.602e-05/0.3448, allocations: 7.906 kB / 0.7946 GB, free: 1.539 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.3449, allocations: 3.938 kB / 0.7946 GB, free: 1.535 MB / 0.6075 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 0.0001013/0.345, allocations: 185.1 kB / 0.7948 GB, free: 1.344 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.583e-05/0.345, allocations: 116.9 kB / 0.7949 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.766e-05/0.3451, allocations: 112.9 kB / 0.795 GB, free: 1.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.045e-05/0.3452, allocations: 184.2 kB / 0.7952 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.977e-05/0.3452, allocations: 176.3 kB / 0.7954 GB, free: 0.7344 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-05/0.3453, allocations: 188.2 kB / 0.7955 GB, free: 0.543 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.3455, allocations: 413.2 kB / 0.7959 GB, free: 84 kB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.941e-05/0.3456, allocations: 104.9 kB / 0.796 GB, free: 15.97 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.905e-05/0.3456, allocations: 108.9 kB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.547e-05/0.3457, allocations: 180.3 kB / 0.7963 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.726e-05/0.3458, allocations: 184.2 kB / 0.7965 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-05/0.3458, allocations: 176.3 kB / 0.7967 GB, free: 15.31 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.556e-05/0.3459, allocations: 180.3 kB / 0.7968 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001263/0.346, allocations: 315.7 kB / 0.7971 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.034e-05/0.3461, allocations: 193.9 kB / 0.7973 GB, free: 14.58 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.622e-05/0.3462, allocations: 180.3 kB / 0.7975 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.535e-05/0.3463, allocations: 105 kB / 0.7976 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.632e-05/0.3463, allocations: 180.2 kB / 0.7978 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.193e-05/0.3464, allocations: 113 kB / 0.7979 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 5.272e-05/0.3464, allocations: 97.77 kB / 0.798 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3464, allocations: 0 / 0.798 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008074/0.3473, allocations: 287.8 kB / 0.7982 GB, free: 13.61 MB / 0.6231 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.001137/0.3484, allocations: 0.5392 MB / 0.7988 GB, free: 13.07 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001062/0.3485, allocations: 37.62 kB / 0.7988 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.3485, allocations: 4 kB / 0.7988 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 1.573e-06/0.3485, allocations: 0 / 0.7988 GB, free: 13.02 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.3489, allocations: 0.5302 MB / 0.7993 GB, free: 12.49 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.3493, allocations: 241.9 kB / 0.7995 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.3495, allocations: 0.6848 MB / 0.8002 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.317e-05/0.3495, allocations: 3.938 kB / 0.8002 GB, free: 11.51 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.3495, allocations: 11.44 kB / 0.8002 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of SimCode: time 3.01e-07/0.3495, allocations: 4 kB / 0.8002 GB, free: 11.5 MB / 0.6231 GB Notification: Performance of Templates: time 0.009492/0.359, allocations: 5.588 MB / 0.8057 GB, free: 5.957 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1)