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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00117/0.00117, 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.001403/0.001403, allocations: 194.8 kB / 16.14 MB, free: 6.699 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.501/1.501, allocations: 205.1 MB / 222 MB, free: 4.75 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.734/1.734, allocations: 292.3 MB / 0.5484 GB, free: 13.67 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.001285/0.001285, allocations: 66.8 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2748, allocations: 114.6 MB / 0.7827 GB, free: 13.91 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003062/0.2779, allocations: 1.495 MB / 0.7842 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004903/0.2828, allocations: 3.096 MB / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.95e-05/0.2829, allocations: 0 / 0.7872 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.017e-05/0.283, allocations: 3.938 kB / 0.7872 GB, free: 9.293 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.753e-05/0.2831, allocations: 15.91 kB / 0.7872 GB, free: 9.277 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/internalResistancesTwoUTube.mo:2:1-162:32:writable] Warning: Pure function ‘Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.internalResistancesTwoUTube‘ contains a call to impure function ‘Modelica.Utilities.Streams.print‘. Notification: Performance of NFTyping.typeClassSections: time 0.003983/0.2871, allocations: 1.47 MB / 0.7887 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.2872, allocations: 43.67 kB / 0.7887 GB, free: 7.785 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.284e-05/0.2872, allocations: 4.281 kB / 0.7887 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.919e-05/0.2873, allocations: 11.94 kB / 0.7887 GB, free: 7.77 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.069e-05/0.2873, allocations: 23.91 kB / 0.7887 GB, free: 7.746 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.15e-05/0.2873, allocations: 4 kB / 0.7888 GB, free: 7.742 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002153/0.2895, allocations: 1.478 MB / 0.7902 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.2895, allocations: 11.94 kB / 0.7902 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.642e-05/0.2895, allocations: 15.88 kB / 0.7902 GB, free: 6.234 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.291, allocations: 1.138 MB / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.02e-06/0.291, allocations: 0 / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.71e-07/0.291, allocations: 0 / 0.7913 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.2911, allocations: 4 kB / 0.7913 GB, free: 5.09 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.0006353/0.2917, allocations: 0.5185 MB / 0.7918 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.847e-05/0.2917, allocations: 15.97 kB / 0.7919 GB, free: 4.508 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.959e-05/0.2918, allocations: 76.22 kB / 0.7919 GB, free: 4.434 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.292, allocations: 258 kB / 0.7922 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.95e-05/0.292, allocations: 150.9 kB / 0.7923 GB, free: 3.996 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.084e-05/0.2921, allocations: 154.9 kB / 0.7925 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.004e-05/0.2922, allocations: 113 kB / 0.7926 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.2922, allocations: 75.28 kB / 0.7926 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.407e-05/0.2923, allocations: 150.6 kB / 0.7928 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/0.2923, allocations: 150.6 kB / 0.7929 GB, free: 3.355 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.352e-05/0.2924, allocations: 154.6 kB / 0.7931 GB, free: 3.203 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002992/0.2927, allocations: 469.8 kB / 0.7935 GB, free: 2.695 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.892e-05/0.2928, allocations: 177.1 kB / 0.7937 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.27e-05/0.2928, allocations: 80.14 kB / 0.7938 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.492e-05/0.2929, allocations: 75.28 kB / 0.7938 GB, free: 2.355 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.21e-05/0.2929, allocations: 113.8 kB / 0.794 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 2.124e-06/0.2929, allocations: 7.984 kB / 0.794 GB, free: 2.227 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 7.755e-05/0.293, allocations: 33.7 kB / 0.794 GB, free: 2.188 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.155e-05/0.2931, allocations: 126.7 kB / 0.7941 GB, free: 2.051 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001486/0.2932, allocations: 141.6 kB / 0.7943 GB, free: 1.902 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.21e-05/0.2933, allocations: 25.7 kB / 0.7943 GB, free: 1.871 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.991e-05/0.2933, allocations: 92.12 kB / 0.7944 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.689e-06/0.2933, allocations: 0 / 0.7944 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.073e-05/0.2934, allocations: 21.66 kB / 0.7944 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.2935, allocations: 322.8 kB / 0.7947 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.2935, allocations: 7.984 kB / 0.7947 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.2936, allocations: 8 kB / 0.7947 GB, free: 1.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.072e-05/0.2936, allocations: 12.86 kB / 0.7947 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2936, allocations: 0 / 0.7947 GB, free: 1.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001334/0.2938, allocations: 53.55 kB / 0.7948 GB, free: 1.336 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.2938, allocations: 4 kB / 0.7948 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.178e-05/0.2938, allocations: 4 kB / 0.7948 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.2938, allocations: 3.984 kB / 0.7948 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.2938, allocations: 4.062 kB / 0.7948 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2938, allocations: 0 / 0.7948 GB, free: 1.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.27e-05/0.2939, allocations: 7.938 kB / 0.7948 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-06/0.2939, allocations: 0 / 0.7948 GB, free: 1.312 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.0001037/0.294, allocations: 185.1 kB / 0.795 GB, free: 1.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.09e-05/0.2941, allocations: 112.8 kB / 0.7951 GB, free: 1.004 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.881e-05/0.2941, allocations: 116.6 kB / 0.7952 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.411e-05/0.2942, allocations: 184.2 kB / 0.7954 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.144e-05/0.2943, allocations: 176.3 kB / 0.7955 GB, free: 0.5117 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.439e-05/0.2944, allocations: 184.2 kB / 0.7957 GB, free: 332 kB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002655/0.2946, allocations: 413.2 kB / 0.7961 GB, free: 15.86 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.249e-05/0.2947, allocations: 108.9 kB / 0.7962 GB, free: 15.75 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.269e-05/0.2947, allocations: 104.9 kB / 0.7963 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.862e-05/0.2948, allocations: 188.3 kB / 0.7965 GB, free: 15.45 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.94e-05/0.2949, allocations: 180.2 kB / 0.7967 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.703e-05/0.2949, allocations: 180.3 kB / 0.7968 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-05/0.295, allocations: 176.3 kB / 0.797 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001312/0.2951, allocations: 315.8 kB / 0.7973 GB, free: 14.57 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 8.317e-05/0.2952, allocations: 189.9 kB / 0.7975 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.273e-05/0.2953, allocations: 188.2 kB / 0.7977 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.69e-05/0.2954, allocations: 101 kB / 0.7978 GB, free: 14.06 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.397e-05/0.2955, allocations: 180.2 kB / 0.7979 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.391e-05/0.2955, allocations: 108.9 kB / 0.798 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.955e-05/0.2956, allocations: 105.6 kB / 0.7981 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2956, allocations: 0 / 0.7981 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008541/0.2965, allocations: 287.8 kB / 0.7984 GB, free: 13.38 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.001245/0.2977, allocations: 0.5473 MB / 0.7989 GB, free: 12.83 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001005/0.2978, allocations: 45.62 kB / 0.799 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2978, allocations: 0 / 0.799 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.839e-06/0.2979, allocations: 4 kB / 0.799 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004428/0.2983, allocations: 0.5341 MB / 0.7995 GB, free: 12.24 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003322/0.2986, allocations: 246 kB / 0.7997 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000255/0.2989, allocations: 0.6809 MB / 0.8004 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 1.32e-05/0.2989, allocations: 4 kB / 0.8004 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.098e-05/0.2989, allocations: 7.438 kB / 0.8004 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of SimCode: time 2.91e-07/0.299, allocations: 0 / 0.8004 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of Templates: time 0.00955/0.3085, allocations: 5.793 MB / 0.8061 GB, free: 5.512 MB / 0.6231 GB make -j1 -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)