Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_latest_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_latest_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.006235/0.006235, allocations: 98.42 kB / 15.73 MB, free: 5.602 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.001592/0.001592, allocations: 196.2 kB / 16.68 MB, free: 5.523 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.314/1.314, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.594/2.594, allocations: 482.4 MB / 0.7548 GB, free: 6.887 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001847/0.001847, allocations: 65.09 kB / 1.083 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2757, allocations: 162.2 MB / 1.242 GB, free: 9.344 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002427/0.2781, allocations: 1.452 MB / 1.243 GB, free: 7.883 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004142/0.2823, allocations: 2.894 MB / 1.246 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.213e-05/0.2823, allocations: 0 / 1.246 GB, free: 4.977 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.968e-05/0.2824, allocations: 3.938 kB / 1.246 GB, free: 4.973 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.2824, allocations: 19.84 kB / 1.246 GB, free: 4.953 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003465/0.2859, allocations: 1.597 MB / 1.247 GB, free: 3.375 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.635e-05/0.286, allocations: 43.67 kB / 1.247 GB, free: 3.332 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.689e-05/0.2861, allocations: 7.984 kB / 1.247 GB, free: 3.324 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.725e-05/0.2861, allocations: 19.94 kB / 1.247 GB, free: 3.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 2.941e-05/0.2861, allocations: 19.86 kB / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.869e-06/0.2861, allocations: 0 / 1.247 GB, free: 3.285 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002123/0.2883, allocations: 1.529 MB / 1.249 GB, free: 1.754 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.453e-05/0.2883, allocations: 11.94 kB / 1.249 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.886e-05/0.2883, allocations: 15.88 kB / 1.249 GB, free: 1.727 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001389/0.2897, allocations: 1.118 MB / 1.25 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.2897, allocations: 0 / 1.25 GB, free: 0.6055 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2897, allocations: 3.938 kB / 1.25 GB, free: 0.6016 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2897, allocations: 4 kB / 1.25 GB, free: 0.5977 MB / 0.9669 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.0005738/0.2903, allocations: 0.5247 MB / 1.251 GB, free: 24 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2904, allocations: 8.031 kB / 1.251 GB, free: 16 kB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.163e-05/0.2904, allocations: 106 kB / 1.251 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.95e-05/0.2905, allocations: 84.17 kB / 1.251 GB, free: 15.82 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001572/0.2907, allocations: 247.6 kB / 1.251 GB, free: 15.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.265e-05/0.2908, allocations: 154.9 kB / 1.251 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.044e-05/0.2908, allocations: 162.9 kB / 1.251 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.425e-05/0.2909, allocations: 104.9 kB / 1.251 GB, free: 15.12 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.2909, allocations: 79.28 kB / 1.251 GB, free: 15.04 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.923e-05/0.291, allocations: 154.5 kB / 1.252 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.336e-05/0.291, allocations: 154.5 kB / 1.252 GB, free: 14.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.124e-05/0.2911, allocations: 158.5 kB / 1.252 GB, free: 14.58 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003008/0.2914, allocations: 465.9 kB / 1.252 GB, free: 14.07 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.999e-05/0.2915, allocations: 165.1 kB / 1.253 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.503e-05/0.2916, allocations: 80.14 kB / 1.253 GB, free: 13.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.907e-05/0.2916, allocations: 79.22 kB / 1.253 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.196e-05/0.2916, allocations: 117.8 kB / 1.253 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.2917, allocations: 0 / 1.253 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 6.935e-05/0.2917, allocations: 33.59 kB / 1.253 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.365e-05/0.2918, allocations: 126.7 kB / 1.253 GB, free: 13.44 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.2919, allocations: 135.2 kB / 1.253 GB, free: 13.3 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.292, allocations: 25.7 kB / 1.253 GB, free: 13.27 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.842e-05/0.292, allocations: 104.1 kB / 1.253 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.653e-06/0.292, allocations: 0 / 1.253 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.366e-05/0.2921, allocations: 17.77 kB / 1.253 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001218/0.2922, allocations: 318.8 kB / 1.254 GB, free: 12.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-05/0.2922, allocations: 8 kB / 1.254 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.527e-05/0.2922, allocations: 4 kB / 1.254 GB, free: 12.81 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.076e-05/0.2923, allocations: 20.92 kB / 1.254 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.2923, allocations: 0 / 1.254 GB, free: 12.79 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001199/0.2924, allocations: 53.56 kB / 1.254 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.367e-05/0.2924, allocations: 12.06 kB / 1.254 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.629e-05/0.2925, allocations: 0 / 1.254 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.149e-05/0.2925, allocations: 4 kB / 1.254 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.91e-07/0.2925, allocations: 0 / 1.254 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.2925, allocations: 0 / 1.254 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.11e-05/0.2925, allocations: 3.953 kB / 1.254 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.2925, allocations: 0 / 1.254 GB, free: 12.71 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.778e-05/0.2926, allocations: 185.1 kB / 1.254 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.873e-05/0.2927, allocations: 120.9 kB / 1.254 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.256e-05/0.2928, allocations: 112.8 kB / 1.254 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.61e-05/0.2928, allocations: 176.3 kB / 1.254 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.941e-05/0.2929, allocations: 188.1 kB / 1.254 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.664e-05/0.293, allocations: 176.3 kB / 1.255 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.2932, allocations: 421.1 kB / 1.255 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.8e-05/0.2933, allocations: 108.9 kB / 1.255 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.049e-05/0.2933, allocations: 101 kB / 1.255 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.395e-05/0.2934, allocations: 180.2 kB / 1.255 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.998e-05/0.2935, allocations: 180.3 kB / 1.255 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.845e-05/0.2935, allocations: 184.2 kB / 1.256 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.756e-05/0.2936, allocations: 184.2 kB / 1.256 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001364/0.2937, allocations: 303.7 kB / 1.256 GB, free: 9.973 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 8.365e-05/0.2938, allocations: 198 kB / 1.256 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.622e-05/0.2939, allocations: 180.3 kB / 1.256 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.254e-05/0.294, allocations: 104.9 kB / 1.257 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.088e-05/0.2941, allocations: 184.3 kB / 1.257 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.021e-05/0.2941, allocations: 104.9 kB / 1.257 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.422e-05/0.2942, allocations: 105.3 kB / 1.257 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2942, allocations: 0 / 1.257 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000685/0.2949, allocations: 283 kB / 1.257 GB, free: 8.785 MB / 0.9825 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.001302/0.2962, allocations: 1.19 MB / 1.258 GB, free: 7.566 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.223e-05/0.2963, allocations: 49.62 kB / 1.258 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.2963, allocations: 0 / 1.258 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.733e-06/0.2963, allocations: 4.422 kB / 1.258 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.2967, allocations: 455.7 kB / 1.259 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001342/0.2981, allocations: 1.599 MB / 1.26 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.2983, allocations: 0.6846 MB / 1.261 GB, free: 4.668 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.196e-05/0.2984, allocations: 4.031 kB / 1.261 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.64e-05/0.2984, allocations: 19.44 kB / 1.261 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.2984, allocations: 0 / 1.261 GB, free: 4.645 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02756/0.326, allocations: 7.094 MB / 1.268 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.697/8.023, allocations: 7.125 kB / 1.268 GB, free: 13.76 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1)