Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,fileNamePrefix="Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative",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.005681/0.005681, allocations: 96.39 kB / 15.73 MB, free: 6.484 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.001589/0.001589, allocations: 192.6 kB / 16.67 MB, free: 6.391 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.651/2.651, allocations: 469.8 MB / 0.7425 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001763/0.001763, allocations: 75.83 kB / 1.065 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2801, allocations: 159.1 MB / 1.22 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002312/0.2824, allocations: 1.442 MB / 1.222 GB, free: 12.78 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003965/0.2864, allocations: 2.894 MB / 1.224 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.764e-05/0.2864, allocations: 8 kB / 1.225 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.2865, allocations: 7.922 kB / 1.225 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.069e-05/0.2865, allocations: 11.86 kB / 1.225 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003247/0.2898, allocations: 1.585 MB / 1.226 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.425e-05/0.2899, allocations: 43.73 kB / 1.226 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.029e-05/0.2899, allocations: 4 kB / 1.226 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.349e-05/0.2899, allocations: 15.94 kB / 1.226 GB, free: 8.211 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 3.147e-05/0.29, allocations: 23.84 kB / 1.226 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 8.416e-06/0.29, allocations: 4 kB / 1.226 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002027/0.292, allocations: 1.525 MB / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.292, allocations: 0 / 1.228 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.342e-05/0.2921, allocations: 31.73 kB / 1.228 GB, free: 6.625 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001343/0.2934, allocations: 1.115 MB / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.2934, allocations: 0 / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.263e-06/0.2935, allocations: 0 / 1.229 GB, free: 5.508 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.2935, allocations: 3.938 kB / 1.229 GB, free: 5.504 MB / 0.9825 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.000569/0.294, allocations: 0.538 MB / 1.229 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.2941, allocations: 12.03 kB / 1.229 GB, free: 4.906 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.2941, allocations: 106 kB / 1.229 GB, free: 4.793 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.322e-05/0.2942, allocations: 80.17 kB / 1.229 GB, free: 4.715 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001535/0.2944, allocations: 247.6 kB / 1.23 GB, free: 4.434 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.461e-05/0.2944, allocations: 158.9 kB / 1.23 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.631e-05/0.2945, allocations: 158.9 kB / 1.23 GB, free: 4.121 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.768e-05/0.2946, allocations: 108.9 kB / 1.23 GB, free: 4.008 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.2e-05/0.2946, allocations: 79.28 kB / 1.23 GB, free: 3.93 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.03e-05/0.2947, allocations: 150.6 kB / 1.23 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-05/0.2947, allocations: 150.6 kB / 1.23 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.642e-05/0.2948, allocations: 150.6 kB / 1.231 GB, free: 3.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000307/0.2951, allocations: 477.8 kB / 1.231 GB, free: 2.969 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.959e-05/0.2952, allocations: 169.1 kB / 1.231 GB, free: 2.793 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.514e-05/0.2953, allocations: 80.14 kB / 1.231 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.366e-05/0.2953, allocations: 79.22 kB / 1.231 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.603e-05/0.2954, allocations: 113.8 kB / 1.232 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.2954, allocations: 0 / 1.232 GB, free: 2.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.763e-05/0.2954, allocations: 33.64 kB / 1.232 GB, free: 2.473 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.2955, allocations: 126.7 kB / 1.232 GB, free: 2.336 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.2956, allocations: 136 kB / 1.232 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.61e-05/0.2957, allocations: 29.7 kB / 1.232 GB, free: 2.16 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.36e-05/0.2957, allocations: 88.14 kB / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.2957, allocations: 0 / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.193e-05/0.2958, allocations: 21.72 kB / 1.232 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001265/0.2959, allocations: 318.8 kB / 1.232 GB, free: 1.723 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.301e-05/0.2959, allocations: 8 kB / 1.232 GB, free: 1.715 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.641e-05/0.2959, allocations: 8 kB / 1.232 GB, free: 1.707 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.566e-05/0.296, allocations: 12.86 kB / 1.232 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.296, allocations: 3.938 kB / 1.232 GB, free: 1.688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001244/0.2961, allocations: 61.52 kB / 1.232 GB, free: 1.621 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.2961, allocations: 4 kB / 1.232 GB, free: 1.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.754e-05/0.2962, allocations: 4 kB / 1.232 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.879e-06/0.2962, allocations: 4.062 kB / 1.232 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.91e-07/0.2962, allocations: 0 / 1.232 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.2962, allocations: 0 / 1.232 GB, free: 1.609 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.219e-05/0.2962, allocations: 4 kB / 1.232 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.2962, allocations: 0 / 1.232 GB, free: 1.605 MB / 0.9825 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.51e-05/0.2963, allocations: 181.7 kB / 1.233 GB, free: 1.418 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.165e-05/0.2964, allocations: 116.9 kB / 1.233 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.885e-05/0.2965, allocations: 120.8 kB / 1.233 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.406e-05/0.2965, allocations: 180.2 kB / 1.233 GB, free: 0.9883 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.129e-05/0.2966, allocations: 180.2 kB / 1.233 GB, free: 0.8047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.831e-05/0.2967, allocations: 180.2 kB / 1.233 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000244/0.2969, allocations: 417.2 kB / 1.234 GB, free: 160 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.134e-05/0.297, allocations: 104.9 kB / 1.234 GB, free: 48 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.158e-05/0.297, allocations: 105 kB / 1.234 GB, free: 15.94 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.818e-05/0.2971, allocations: 184.2 kB / 1.234 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.526e-05/0.2972, allocations: 180.3 kB / 1.234 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.009e-05/0.2973, allocations: 180.3 kB / 1.234 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.387e-05/0.2973, allocations: 188.2 kB / 1.235 GB, free: 15.19 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001465/0.2975, allocations: 319.6 kB / 1.235 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.144e-05/0.2976, allocations: 182.1 kB / 1.235 GB, free: 14.65 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.2977, allocations: 184.3 kB / 1.235 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.384e-05/0.2978, allocations: 104.9 kB / 1.235 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.2978, allocations: 176.3 kB / 1.235 GB, free: 14.18 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.2979, allocations: 112.9 kB / 1.236 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.644e-05/0.2979, allocations: 105.5 kB / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.298, allocations: 0 / 1.236 GB, free: 13.96 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0006101/0.2986, allocations: 287 kB / 1.236 GB, free: 13.68 MB / 0.9981 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.001299/0.2999, allocations: 1.187 MB / 1.237 GB, free: 12.46 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.371e-05/0.3, allocations: 45.64 kB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.3, allocations: 0 / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.3, allocations: 0 / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003961/0.3004, allocations: 465.2 kB / 1.238 GB, free: 11.95 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001344/0.3017, allocations: 1.618 MB / 1.239 GB, free: 10.25 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.302, allocations: 0.6807 MB / 1.24 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.082e-05/0.3021, allocations: 0 / 1.24 GB, free: 9.547 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.267e-05/0.3021, allocations: 19.47 kB / 1.24 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of SimCode: time 2.4e-07/0.3021, allocations: 0 / 1.24 GB, free: 9.527 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.673/1.976, allocations: 7.071 MB / 1.247 GB, free: 2.676 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.958/11.93, allocations: 23.61 kB / 1.247 GB, free: 2.656 MB / 0.9981 GB (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)