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: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,fileNamePrefix="Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.001632/0.001632, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.639/1.639, allocations: 205.4 MB / 222.1 MB, free: 5.887 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.795/1.795, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0008771/0.0008772, allocations: 17.94 kB / 0.6739 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.288/0.2889, allocations: 116.3 MB / 0.7875 GB, free: 11.78 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001631/0.2906, allocations: 1.142 MB / 0.7886 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00431/0.2949, allocations: 2.755 MB / 0.7913 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.298e-05/0.295, allocations: 3.938 kB / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.747e-05/0.295, allocations: 0 / 0.7913 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.5e-05/0.2951, allocations: 15.84 kB / 0.7913 GB, free: 7.84 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.003624/0.2988, allocations: 1.33 MB / 0.7926 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.368e-05/0.2988, allocations: 39.73 kB / 0.7926 GB, free: 6.496 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.323e-05/0.2989, allocations: 7.938 kB / 0.7926 GB, free: 6.488 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.203e-05/0.2989, allocations: 15.94 kB / 0.7926 GB, free: 6.473 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.198e-05/0.299, allocations: 15.92 kB / 0.7927 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.262e-05/0.299, allocations: 0 / 0.7927 GB, free: 6.457 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002188/0.3012, allocations: 1.268 MB / 0.7939 GB, free: 5.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.206e-05/0.3012, allocations: 11.92 kB / 0.7939 GB, free: 5.176 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.933e-05/0.3013, allocations: 37.64 kB / 0.7939 GB, free: 5.133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001287/0.3026, allocations: 0.7135 MB / 0.7946 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.491e-06/0.3026, allocations: 0 / 0.7946 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.625e-06/0.3026, allocations: 0 / 0.7946 GB, free: 4.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.31e-06/0.3026, allocations: 0 / 0.7946 GB, free: 4.418 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.0007998/0.3034, allocations: 0.5106 MB / 0.7951 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.596e-05/0.3035, allocations: 8.031 kB / 0.7951 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.402e-05/0.3035, allocations: 109.8 kB / 0.7952 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.467e-05/0.3036, allocations: 87.14 kB / 0.7953 GB, free: 3.648 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001743/0.3038, allocations: 250.2 kB / 0.7956 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.643e-05/0.3039, allocations: 150.6 kB / 0.7957 GB, free: 3.215 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.978e-05/0.3039, allocations: 150.6 kB / 0.7959 GB, free: 3.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.566e-05/0.304, allocations: 105 kB / 0.796 GB, free: 2.957 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.139e-05/0.3041, allocations: 79.28 kB / 0.796 GB, free: 2.879 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.725e-05/0.3041, allocations: 158.4 kB / 0.7962 GB, free: 2.723 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.553e-05/0.3042, allocations: 150.6 kB / 0.7963 GB, free: 2.574 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.973e-05/0.3043, allocations: 158.5 kB / 0.7965 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003215/0.3046, allocations: 461.9 kB / 0.7969 GB, free: 1.918 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 8.807e-05/0.3047, allocations: 173.1 kB / 0.7971 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.103e-05/0.3047, allocations: 84.08 kB / 0.7972 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.3048, allocations: 79.27 kB / 0.7972 GB, free: 1.574 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.303e-05/0.3048, allocations: 109.8 kB / 0.7973 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=0): time 1.573e-06/0.3048, allocations: 0 / 0.7973 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of matching and sorting (n=0): time 9.411e-05/0.3049, allocations: 33.61 kB / 0.7974 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.876e-05/0.305, allocations: 130.7 kB / 0.7975 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3052, allocations: 136.9 kB / 0.7976 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.264e-05/0.3052, allocations: 25.7 kB / 0.7977 GB, free: 1.105 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/0.3053, allocations: 92.12 kB / 0.7977 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.695e-06/0.3053, allocations: 0 / 0.7977 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.086e-06/0.3053, allocations: 0 / 0.7977 GB, free: 1.012 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.3054, allocations: 318.8 kB / 0.798 GB, free: 0.6914 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.829e-05/0.3054, allocations: 12 kB / 0.7981 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.44e-05/0.3055, allocations: 7.938 kB / 0.7981 GB, free: 0.6719 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.764e-05/0.3055, allocations: 7.938 kB / 0.7981 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3055, allocations: 0 / 0.7981 GB, free: 0.6641 MB / 0.6075 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001287/0.3056, allocations: 57.59 kB / 0.7981 GB, free: 0.6016 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.3057, allocations: 4 kB / 0.7981 GB, free: 0.5977 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/0.3057, allocations: 4 kB / 0.7981 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.194e-05/0.3057, allocations: 0 / 0.7981 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.3057, allocations: 0 / 0.7981 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.489e-06/0.3057, allocations: 0 / 0.7981 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.329e-05/0.3058, allocations: 64 / 0.7981 GB, free: 0.5938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.3058, allocations: 8 kB / 0.7981 GB, free: 0.5859 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.028e-05/0.3059, allocations: 189.1 kB / 0.7983 GB, free: 400 kB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.491e-05/0.3059, allocations: 112.8 kB / 0.7984 GB, free: 280 kB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.316e-05/0.306, allocations: 108.6 kB / 0.7985 GB, free: 160 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.453e-05/0.3061, allocations: 188.3 kB / 0.7987 GB, free: 15.96 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.298e-05/0.3061, allocations: 184.3 kB / 0.7989 GB, free: 15.78 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.138e-05/0.3062, allocations: 184.2 kB / 0.7991 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.3064, allocations: 421.1 kB / 0.7995 GB, free: 15.12 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.393e-05/0.3065, allocations: 108.9 kB / 0.7996 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.204e-05/0.3065, allocations: 104.9 kB / 0.7997 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.946e-05/0.3066, allocations: 184.2 kB / 0.7998 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-05/0.3067, allocations: 180.3 kB / 0.8 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.883e-05/0.3067, allocations: 180.4 kB / 0.8002 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.384e-05/0.3068, allocations: 176.3 kB / 0.8004 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001559/0.3069, allocations: 323.6 kB / 0.8007 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 7.151e-05/0.307, allocations: 182.1 kB / 0.8008 GB, free: 13.62 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.542e-05/0.3071, allocations: 180.2 kB / 0.801 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.997e-05/0.3072, allocations: 105 kB / 0.8011 GB, free: 13.33 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.794e-05/0.3073, allocations: 184.2 kB / 0.8013 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.393e-05/0.3073, allocations: 105 kB / 0.8014 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 6.839e-05/0.3074, allocations: 95.27 kB / 0.8015 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3074, allocations: 0 / 0.8015 GB, free: 12.94 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0008435/0.3082, allocations: 291.8 kB / 0.8018 GB, free: 12.65 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00158/0.3098, allocations: 1.164 MB / 0.8029 GB, free: 11.47 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0001034/0.3099, allocations: 41.7 kB / 0.8029 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.31, allocations: 0 / 0.8029 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 4.157e-06/0.31, allocations: 4 kB / 0.8029 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.3104, allocations: 0.5263 MB / 0.8035 GB, free: 10.89 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001002/0.3114, allocations: 0.6848 MB / 0.8041 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002391/0.3117, allocations: 0.6848 MB / 0.8048 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.042e-05/0.3117, allocations: 4 kB / 0.8048 GB, free: 9.445 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.727e-05/0.3118, allocations: 15.5 kB / 0.8048 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of SimCode: time 3.11e-07/0.3118, allocations: 0 / 0.8048 GB, free: 9.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02368/0.3354, allocations: 6.975 MB / 0.8116 GB, free: 2.695 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002619/0.3358, allocations: 303.7 kB / 0.8119 GB, free: 2.34 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.081/2.417, allocations: 0 / 0.8119 GB, free: 2.34 MB / 0.6231 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_8_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) Environment - environmentSimulation: