Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_10_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_10_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.007232/0.007232, allocations: 100.5 kB / 15.73 MB, free: 6 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.00175/0.00175, allocations: 191.4 kB / 16.67 MB, free: 5.926 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.269/1.269, allocations: 222.9 MB / 240.4 MB, free: 4.172 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.479/2.479, allocations: 437.1 MB / 0.7105 GB, free: 4.922 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 71.88 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2922, allocations: 151.6 MB / 1.166 GB, free: 7.254 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002745/0.295, allocations: 1.438 MB / 1.168 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.004501/0.2995, allocations: 2.899 MB / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.142e-05/0.2996, allocations: 0 / 1.17 GB, free: 2.883 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.181e-05/0.2996, allocations: 7.922 kB / 1.17 GB, free: 2.875 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.717e-05/0.2997, allocations: 11.86 kB / 1.171 GB, free: 2.863 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.004205/0.3039, allocations: 1.6 MB / 1.172 GB, free: 1.285 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001008/0.304, allocations: 47.67 kB / 1.172 GB, free: 1.238 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.3041, allocations: 8 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 3.078e-05/0.3041, allocations: 15.92 kB / 1.172 GB, free: 1.215 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 2.66e-05/0.3042, allocations: 15.92 kB / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.3042, allocations: 0 / 1.172 GB, free: 1.199 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00256/0.3067, allocations: 1.529 MB / 1.174 GB, free: 15.67 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.82e-05/0.3068, allocations: 7.922 kB / 1.174 GB, free: 15.66 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.202e-05/0.3068, allocations: 23.86 kB / 1.174 GB, free: 15.64 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001904/0.3087, allocations: 1.108 MB / 1.175 GB, free: 14.53 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.3088, allocations: 4 kB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3088, allocations: 4 kB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.3088, allocations: 0 / 1.175 GB, free: 14.52 MB / 0.9356 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.0007096/0.3095, allocations: 0.5145 MB / 1.175 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.247e-05/0.3095, allocations: 12.03 kB / 1.175 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.736e-05/0.3096, allocations: 110 kB / 1.175 GB, free: 13.83 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.383e-05/0.3097, allocations: 80.22 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.3098, allocations: 265 kB / 1.176 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.3099, allocations: 162.9 kB / 1.176 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.912e-05/0.3099, allocations: 150.9 kB / 1.176 GB, free: 13.14 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.129e-05/0.31, allocations: 104.9 kB / 1.176 GB, free: 13.04 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.566e-05/0.31, allocations: 75.28 kB / 1.176 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.869e-05/0.3101, allocations: 150.6 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.756e-05/0.3101, allocations: 158.5 kB / 1.176 GB, free: 12.66 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.546e-05/0.3102, allocations: 154.6 kB / 1.177 GB, free: 12.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002732/0.3105, allocations: 461.9 kB / 1.177 GB, free: 12 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 7.509e-05/0.3106, allocations: 173.1 kB / 1.177 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.893e-05/0.3106, allocations: 80.14 kB / 1.177 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.024e-05/0.3106, allocations: 83.22 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.3107, allocations: 105.8 kB / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.3107, allocations: 0 / 1.177 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 7.381e-05/0.3108, allocations: 33.64 kB / 1.178 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.447e-05/0.3108, allocations: 130.7 kB / 1.178 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001302/0.3109, allocations: 140.1 kB / 1.178 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.542e-05/0.311, allocations: 29.7 kB / 1.178 GB, free: 11.19 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.311, allocations: 88.14 kB / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.311, allocations: 0 / 1.178 GB, free: 11.1 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.3111, allocations: 21.75 kB / 1.178 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.3112, allocations: 318.8 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.3112, allocations: 4 kB / 1.178 GB, free: 10.75 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.3112, allocations: 8 kB / 1.178 GB, free: 10.74 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.2e-05/0.3113, allocations: 12.84 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.3113, allocations: 4.031 kB / 1.178 GB, free: 10.72 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000123/0.3114, allocations: 57.48 kB / 1.178 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.3114, allocations: 4 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.3115, allocations: 4 kB / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.3115, allocations: 0 / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.51e-07/0.3115, allocations: 0 / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.3115, allocations: 0 / 1.178 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.239e-05/0.3115, allocations: 4 kB / 1.178 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.692e-06/0.3115, allocations: 0 / 1.178 GB, free: 10.64 MB / 0.9356 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 9.341e-05/0.3116, allocations: 193.1 kB / 1.178 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.5e-05/0.3117, allocations: 112.8 kB / 1.179 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.077e-05/0.3117, allocations: 112.8 kB / 1.179 GB, free: 10.21 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.811e-05/0.3118, allocations: 176.3 kB / 1.179 GB, free: 10.03 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.913e-05/0.3119, allocations: 188.2 kB / 1.179 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.315e-05/0.3119, allocations: 176.3 kB / 1.179 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002105/0.3121, allocations: 421.2 kB / 1.18 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-05/0.3122, allocations: 108.9 kB / 1.18 GB, free: 9.074 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.89e-05/0.3122, allocations: 108.9 kB / 1.18 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.815e-05/0.3123, allocations: 188.2 kB / 1.18 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.953e-05/0.3123, allocations: 176.3 kB / 1.18 GB, free: 8.59 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.196e-05/0.3124, allocations: 176.3 kB / 1.18 GB, free: 8.41 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.504e-05/0.3125, allocations: 188.2 kB / 1.181 GB, free: 8.219 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.3126, allocations: 315.6 kB / 1.181 GB, free: 7.887 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.279e-05/0.3127, allocations: 178.1 kB / 1.181 GB, free: 7.688 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.458e-05/0.3127, allocations: 184.3 kB / 1.181 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.203e-05/0.3128, allocations: 108.9 kB / 1.181 GB, free: 7.387 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.504e-05/0.3129, allocations: 180.2 kB / 1.181 GB, free: 7.203 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.223e-05/0.3129, allocations: 112.9 kB / 1.182 GB, free: 7.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.298e-05/0.313, allocations: 95.27 kB / 1.182 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of sort global known variables: time 2.1e-07/0.313, allocations: 0 / 1.182 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0007541/0.3138, allocations: 283.8 kB / 1.182 GB, free: 6.715 MB / 0.9356 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.001439/0.3152, allocations: 1.177 MB / 1.183 GB, free: 5.512 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 9.458e-05/0.3153, allocations: 41.64 kB / 1.183 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.275e-06/0.3153, allocations: 4.062 kB / 1.183 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.437e-06/0.3153, allocations: 4 kB / 1.183 GB, free: 5.457 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.3157, allocations: 459.7 kB / 1.184 GB, free: 5.004 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001398/0.3171, allocations: 1.604 MB / 1.185 GB, free: 3.324 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002312/0.3174, allocations: 0.6846 MB / 1.186 GB, free: 2.613 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.743e-05/0.3174, allocations: 4 kB / 1.186 GB, free: 2.609 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.002e-05/0.3174, allocations: 17.31 kB / 1.186 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of SimCode: time 2.01e-07/0.3174, allocations: 0 / 1.186 GB, free: 2.594 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02717/0.3446, allocations: 7.074 MB / 1.193 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.615/7.96, allocations: 17.03 kB / 1.193 GB, free: 11.71 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.fmu > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1)